1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

- Fix setting default type to MYSQL->PROXY->DOS in some places where it

was not done correctly.
- Fix a bug causing add_field to generate a syntax error on DOUBLE columns
  with a 0 decimal value.
- Column can be undefined when Srcdef is specified.

modified:
  storage/connect/ha_connect.cc
  storage/connect/mycat.cc
  storage/connect/tabmysql.cpp
  storage/connect/tabutil.cpp
  storage/connect/tabutil.h
This commit is contained in:
Olivier Bertrand
2013-05-24 00:19:26 +02:00
parent 7ef4c5df47
commit 33b9531568
5 changed files with 57 additions and 37 deletions

View File

@@ -790,7 +790,7 @@ bool TDBMYSQL::OpenDB(PGLOBAL g)
} // endif m_Res
#endif // 0
if (Srcdef)
if (!m_Rc && Srcdef)
if (SetColumnRanks(g))
return true;