diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2013-06-30 12:43:30 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2013-06-30 12:43:30 +0200 |
commit | b98360a42f2aec08fb7799c23a4b7c7566fb66ec (patch) | |
tree | d1ae8b69835d4d9808efbefe042d704b53120c9a /storage/connect/mycat.cc | |
parent | 639ce0650cdfc271b2ccf08c4bb294daa28824fa (diff) | |
download | mariadb-git-b98360a42f2aec08fb7799c23a4b7c7566fb66ec.tar.gz |
- Trying to get rid of some valgrind warnings
modified:
storage/connect/mycat.cc
storage/connect/valblk.cpp
storage/connect/value.cpp
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; |