summaryrefslogtreecommitdiff
path: root/storage/connect/mycat.cc
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2013-02-12 18:39:29 +0100
committerOlivier Bertrand <bertrandop@gmail.com>2013-02-12 18:39:29 +0100
commit83b7fb0f47d48a90dff7ba148b7a47653652763b (patch)
tree416ec79512be3c44c52887a557d85466537ce76a /storage/connect/mycat.cc
parent88c76f3b70def1a26f15c7ea23759369ba28392d (diff)
downloadmariadb-git-83b7fb0f47d48a90dff7ba148b7a47653652763b.tar.gz
Fix a bug causing all tests to fail.
In mycat.cc line 308 + correc typo in plgdbsem Modified: mycat.cc plgdbsem.h
Diffstat (limited to 'storage/connect/mycat.cc')
-rw-r--r--storage/connect/mycat.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/mycat.cc b/storage/connect/mycat.cc
index 48a26428426..9146cbec48d 100644
--- a/storage/connect/mycat.cc
+++ b/storage/connect/mycat.cc
@@ -305,7 +305,7 @@ int MYCAT::GetColCatInfo(PGLOBAL g, PTABDEF defp)
PCOLINFO pcf= (PCOLINFO)PlugSubAlloc(g, NULL, sizeof(COLINFO));
// Get a unique char identifier for type
- tc= (!defp->Catfunc) ? GetTypeID(type) : TAB_CATLG;
+ tc= (defp->Catfunc == FNC_NO) ? GetTypeID(type) : TAB_CATLG;
// Take care of the column definitions
i= poff= nof= nlg= 0;