diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2013-08-14 16:07:32 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2013-08-14 16:07:32 +0200 |
commit | 0993d4b4f5e5710022c5c0262b803617f8bf28c8 (patch) | |
tree | e64b2d30ef25b26ffda5f7ff6078825029ee3101 /storage/connect/tabutil.cpp | |
parent | f772ed74d02ceb76d063e4f6c14de4c18c4b946c (diff) | |
download | mariadb-git-0993d4b4f5e5710022c5c0262b803617f8bf28c8.tar.gz |
- Change the Blanks parameter from true to false in catalog getting
information function. This solve the problem of uninitialised zone
that was detected by valgrind.
modified:
storage/connect/myconn.cpp
storage/connect/odbconn.cpp
storage/connect/tabfmt.cpp
storage/connect/tabutil.cpp
storage/connect/tabwmi.cpp
Diffstat (limited to 'storage/connect/tabutil.cpp')
-rw-r--r-- | storage/connect/tabutil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/tabutil.cpp b/storage/connect/tabutil.cpp index 151b527507a..110c53c33b2 100644 --- a/storage/connect/tabutil.cpp +++ b/storage/connect/tabutil.cpp @@ -159,7 +159,7 @@ PQRYRES TabColumns(PGLOBAL g, THD *thd, const char *db, /* Allocate the structures used to refer to the result set. */ /**********************************************************************/ qrp = PlgAllocResult(g, ncol, n, IDS_COLUMNS + 3, - buftyp, fldtyp, length, true, true); + buftyp, fldtyp, length, false, true); // Some columns must be renamed for (i = 0, crp = qrp->Colresp; crp; crp = crp->Next) |