summaryrefslogtreecommitdiff
path: root/storage/connect/tabmysql.cpp
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2013-05-24 00:19:26 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2013-05-24 00:19:26 +0200
commit33b95315680e42754d41f63f72a003f0d69959d3 (patch)
tree3d44c9739a99883376492b047ca97a4276744561 /storage/connect/tabmysql.cpp
parent7ef4c5df470e2c1ee0d5e7b57e05deebdcad753e (diff)
downloadmariadb-git-33b95315680e42754d41f63f72a003f0d69959d3.tar.gz
- 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
Diffstat (limited to 'storage/connect/tabmysql.cpp')
-rw-r--r--storage/connect/tabmysql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/tabmysql.cpp b/storage/connect/tabmysql.cpp
index f06e8e9bd57..1a19b4cbf33 100644
--- a/storage/connect/tabmysql.cpp
+++ b/storage/connect/tabmysql.cpp
@@ -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;