mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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:
@ -211,7 +211,7 @@ PQRYRES WMIColumns(PGLOBAL g, char *nsp, char *cls, bool info)
|
||||
/* 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);
|
||||
|
||||
if (info)
|
||||
return qrp;
|
||||
|
Reference in New Issue
Block a user