diff options
author | Andrey Hristov <andrey@php.net> | 2009-12-09 20:38:11 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2009-12-09 20:38:11 +0000 |
commit | 3a7f8ea575d863ee9f7c81f88000236724153b70 (patch) | |
tree | a785e8a63c0c41c2ba0fb32d3cfefd282a22552c /ext/mysqli/mysqli.c | |
parent | 52f573d629754c9a9cf842ab4b810f933d13e11f (diff) | |
download | php-git-3a7f8ea575d863ee9f7c81f88000236724153b70.tar.gz |
Remove stub code which never actually was used for anything.
Things like this can be built on top of the core.
Diffstat (limited to 'ext/mysqli/mysqli.c')
-rw-r--r-- | ext/mysqli/mysqli.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index 3c90146068..73ab76e9dd 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -73,10 +73,6 @@ zend_class_entry *mysqli_driver_class_entry; zend_class_entry *mysqli_warning_class_entry; zend_class_entry *mysqli_exception_class_entry; -#ifdef MYSQLI_USE_MYSQLND -MYSQLND_QCACHE *mysqli_mysqlnd_qcache; -#endif - typedef int (*mysqli_read_t)(mysqli_object *obj, zval **retval TSRMLS_DC); typedef int (*mysqli_write_t)(mysqli_object *obj, zval *newval TSRMLS_DC); @@ -639,8 +635,6 @@ PHP_MINIT_FUNCTION(mysqli) return FAILURE; } #endif -#else - mysqli_mysqlnd_qcache = mysqlnd_qcache_init_cache(); #endif memcpy(&mysqli_object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); @@ -878,8 +872,6 @@ PHP_MSHUTDOWN_FUNCTION(mysqli) mysql_server_end(); #endif #endif -#else - mysqlnd_qcache_free_cache_reference(&mysqli_mysqlnd_qcache); #endif zend_hash_destroy(&mysqli_driver_properties); |