summaryrefslogtreecommitdiff
path: root/storage/connect/tabutil.cpp
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2013-08-14 16:07:32 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2013-08-14 16:07:32 +0200
commit0993d4b4f5e5710022c5c0262b803617f8bf28c8 (patch)
treee64b2d30ef25b26ffda5f7ff6078825029ee3101 /storage/connect/tabutil.cpp
parentf772ed74d02ceb76d063e4f6c14de4c18c4b946c (diff)
downloadmariadb-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.cpp2
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)