]> granicus.if.org Git - php/commitdiff
just to be sure ...
authorHartmut Holzgraefe <hholzgra@php.net>
Sun, 27 Feb 2005 11:55:39 +0000 (11:55 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Sun, 27 Feb 2005 11:55:39 +0000 (11:55 +0000)
ext/pdo_mysql/mysql_driver.c

index d2052d1485b9dbcb0863b8197c00ea77f6f1eaad..eb8798449fddf8fa62252c77383c1bd08c8cc221 100755 (executable)
@@ -114,6 +114,8 @@ static int mysql_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len,
        pdo_mysql_stmt *S = ecalloc(1, sizeof(pdo_mysql_stmt));
 
        S->H = H;
+       S->result = NULL;
+
        stmt->driver_data = S;
        stmt->methods = &mysql_stmt_methods;
        stmt->supports_placeholders = PDO_PLACEHOLDER_NONE;