diff options
| author | Andrey Hristov <andrey@php.net> | 2009-05-28 17:49:29 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 2009-05-28 17:49:29 +0000 |
| commit | 804f6138a69a6f465c3b223957f75272089d4f05 (patch) | |
| tree | d6111c4b6b2239e776074db1b8556dfe4d278f96 /ext/mysqlnd/mysqlnd_ps.c | |
| parent | 76d091d5f55d69cd275feda5d8ac70cd42abbd3a (diff) | |
| download | php-git-804f6138a69a6f465c3b223957f75272089d4f05.tar.gz | |
MFH:Fix a valgrind warning as well as more trace log information
Diffstat (limited to 'ext/mysqlnd/mysqlnd_ps.c')
| -rw-r--r-- | ext/mysqlnd/mysqlnd_ps.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_ps.c b/ext/mysqlnd/mysqlnd_ps.c index 3427157617..f0dca777eb 100644 --- a/ext/mysqlnd/mysqlnd_ps.c +++ b/ext/mysqlnd/mysqlnd_ps.c @@ -1373,6 +1373,7 @@ MYSQLND_METHOD(mysqlnd_stmt, bind_parameters)(MYSQLND_STMT * const stmt, /* Prevent from freeing */ /* Don't update is_ref, or we will leak during conversion */ Z_ADDREF_P(stmt->param_bind[i].zv); + stmt->param_bind[i].flags = 0; if (stmt->param_bind[i].type == MYSQL_TYPE_LONG_BLOB) { stmt->param_bind[i].flags &= ~MYSQLND_PARAM_BIND_BLOB_USED; } |
