From: Hartmut Holzgraefe Date: Sun, 27 Feb 2005 11:55:39 +0000 (+0000) Subject: just to be sure ... X-Git-Tag: RELEASE_0_3~161 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa5070b39cdd22cc80b41db44346dbfa430d3b28;p=php just to be sure ... --- diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c index d2052d1485..eb8798449f 100755 --- a/ext/pdo_mysql/mysql_driver.c +++ b/ext/pdo_mysql/mysql_driver.c @@ -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;