From fa5070b39cdd22cc80b41db44346dbfa430d3b28 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Sun, 27 Feb 2005 11:55:39 +0000 Subject: [PATCH] just to be sure ... --- ext/pdo_mysql/mysql_driver.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.50.1