diff options
Diffstat (limited to 'storage/connect/mycat.cc')
-rw-r--r-- | storage/connect/mycat.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/connect/mycat.cc b/storage/connect/mycat.cc index e243a706f01..3dd203949b6 100644 --- a/storage/connect/mycat.cc +++ b/storage/connect/mycat.cc @@ -426,6 +426,8 @@ int MYCAT::GetColCatInfo(PGLOBAL g, PTABDEF defp) PCOLDEF cdp, lcdp= NULL, tocols= NULL; PCOLINFO pcf= (PCOLINFO)PlugSubAlloc(g, NULL, sizeof(COLINFO)); + memset(pcf, 0, sizeof(COLINFO)); + // Get a unique char identifier for type tc= (defp->Catfunc == FNC_NO) ? GetTypeID(type) : TAB_PRX; |