cvs: pecl /pdo pdo_dbh.c

From: Date: Sun, 13 Feb 2005 03:26:43 +0000
Subject: cvs: pecl /pdo pdo_dbh.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-2530@lists.php.net to get a copy of this message
wez Sat Feb 12 22:26:43 2005 EDT Modified files: /pecl/pdo pdo_dbh.c Log: Fixes the crash part of PECL Bug #3434. http://cvs.php.net/diff.php/pecl/pdo/pdo_dbh.c?r1=1.55&r2=1.56&ty=u Index: pecl/pdo/pdo_dbh.c diff -u pecl/pdo/pdo_dbh.c:1.55 pecl/pdo/pdo_dbh.c:1.56 --- pecl/pdo/pdo_dbh.c:1.55 Thu Feb 10 21:05:05 2005 +++ pecl/pdo/pdo_dbh.c Sat Feb 12 22:26:43 2005 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pdo_dbh.c,v 1.55 2005/02/11 02:05:05 wez Exp $ */ +/* $Id: pdo_dbh.c,v 1.56 2005/02/13 03:26:43 wez Exp $ */ /* The PDO Database Handle Class */ @@ -406,6 +406,7 @@ stmt->query_string = estrndup(statement, statement_len); stmt->query_stringlen = statement_len; stmt->default_fetch_type = PDO_FETCH_BOTH; + stmt->dbh = dbh; if (dbh->methods->preparer(dbh, statement, statement_len, stmt, driver_options TSRMLS_CC)) { /* prepared; create a statement object for PHP land to access it */

« previous php.pecl.cvs (#2530) next »