diff options
author | Monty <monty@mariadb.org> | 2019-08-12 15:40:57 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2019-08-12 15:41:14 +0300 |
commit | fe8181aca13cf7ba1835fa6c89f297a1d0e79856 (patch) | |
tree | a576617f5130160b2543e9f3fa0abd269ef5efb8 /storage/connect/myconn.cpp | |
parent | 3b234104ae227556f06c2c3d227e5fc51692c8fa (diff) | |
download | mariadb-git-fe8181aca13cf7ba1835fa6c89f297a1d0e79856.tar.gz |
Fixed issues found by valgrind
- mysqltest didn't free read_command_buf
- wait_for_slave_param did write different things to the log if valgrind
was used.
- Table open cache should not write the initial variable value as it
can depend on the configuration or if valgrind is used
- A variable in GetResult was used uninitalized
Diffstat (limited to 'storage/connect/myconn.cpp')
-rw-r--r-- | storage/connect/myconn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/myconn.cpp b/storage/connect/myconn.cpp index 253c42bb002..6de5a73875c 100644 --- a/storage/connect/myconn.cpp +++ b/storage/connect/myconn.cpp @@ -879,7 +879,7 @@ MYSQL_FIELD *MYSQLC::GetNextField(void) PQRYRES MYSQLC::GetResult(PGLOBAL g, bool pdb) { PCSZ fmt; - char *name, v; + char *name, v= 0; int n; bool uns; PCOLRES *pcrp, crp; |