mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
- 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
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user