summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/mysql_driver.c
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2005-02-27 11:55:39 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2005-02-27 11:55:39 +0000
commitfa5070b39cdd22cc80b41db44346dbfa430d3b28 (patch)
treeb004e6d1bee2b0188c4d948c7256448ba5f8c63e /ext/pdo_mysql/mysql_driver.c
parentbeb7151936c89ae94c8e129914b1bfde9359dd7e (diff)
downloadphp-git-fa5070b39cdd22cc80b41db44346dbfa430d3b28.tar.gz
just to be sure ...
Diffstat (limited to 'ext/pdo_mysql/mysql_driver.c')
-rwxr-xr-xext/pdo_mysql/mysql_driver.c2
1 files changed, 2 insertions, 0 deletions
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;