|
|||||||||||
|
PHP mysqlnd svn commit: r958 - trunk/php6/ext/mysqli
From: <ahristov(at)mysql.com>
Date: Wed Aug 29 2007 - 10:48:28 EDT
Modified: trunk/php6/ext/mysqli/mysqli.c trunk/php6/ext/mysqli/mysqli_nonapi.c trunk/php6/ext/mysqli/php_mysqli_structs.hLog: Add a hash key, to be used later for reusage of pconns Modified: trunk/php6/ext/mysqli/mysqli.c
/* {{{ php_clear_mysql */
+ if (mysql->hash_key) {
+ efree(mysql->hash_key);
+ mysql->hash_key = NULL;
+ }
if (mysql->li_read) {
efree(Z_STRVAL_P(mysql->li_read));
FREE_ZVAL(mysql->li_read);
Modified: trunk/php6/ext/mysqli/mysqli_nonapi.c
#if !defined(HAVE_MYSQLND)
mysql->multi_query = 1;
+
if (!object || !instanceof_function(Z_OBJCE_P(object), mysqli_link_class_entry TSRMLS_CC)) {
MYSQLI_RETURN_RESOURCE(mysqli_resource, mysqli_link_class_entry);
} else {
Modified: trunk/php6/ext/mysqli/php_mysqli_structs.h
typedef struct { MYSQL *mysql; + char *hash_key; zval *li_read; php_stream *li_stream; zend_bool persistent; -- MySQL Code Commits Mailing List For list archives: http://lists.mysql.com/commits To unsubscribe: http://lists.mysql.com/commits?unsub=lists@pantek.comReceived on Wed Aug 29 10:50:27 2007 This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 08:55:09 EDT |
||||||||||
|
|||||||||||