summaryrefslogtreecommitdiff
path: root/storage/connect/mycat.cc
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2013-07-05 13:13:45 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2013-07-05 13:13:45 +0200
commitce1b9cb4ba8917af1f2d16b20ab69a46af8fc5e4 (patch)
treefcbb4d723d8bd3b4f343712266c278b0149f87c1 /storage/connect/mycat.cc
parent923eddcfe12d015c43ee6422f32e000aadc714b8 (diff)
downloadmariadb-git-ce1b9cb4ba8917af1f2d16b20ab69a46af8fc5e4.tar.gz
- Try to fix a uninitialised valgrind warning
modified: storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/mycat.cc - Fix a regression error on XML libdoc wrong Nlist freing modified: storage/connect/domdoc.h storage/connect/libdoc.cpp storage/connect/libdoc.h storage/connect/plgxml.h storage/connect/tabxml.cpp
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 3dd203949b6..fe93751d600 100644
--- a/storage/connect/mycat.cc
+++ b/storage/connect/mycat.cc
@@ -470,7 +470,7 @@ int MYCAT::GetColCatInfo(PGLOBAL g, PTABDEF defp)
} // endswitch tc
do {
- field= Hc->GetColumnOption(field, pcf);
+ field= Hc->GetColumnOption(g, field, pcf);
} while (field && (*pcf->Name =='*' /*|| pcf->Flags & U_VIRTUAL*/));
if (tc == TAB_DBF && pcf->Type == TYPE_DATE && !pcf->Datefmt) {