summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_debug.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2009-08-28 09:30:16 +0000
committerAndrey Hristov <andrey@php.net>2009-08-28 09:30:16 +0000
commite8412fb61c53e69bf098986f28a03c40f4d50f44 (patch)
treebd5f7a7b28d589be65fafbe326d3e7d6064330a6 /ext/mysqlnd/mysqlnd_debug.c
parent5c7b1336488dcd331deb6cd3edea73a42bd4caa9 (diff)
downloadphp-git-e8412fb61c53e69bf098986f28a03c40f4d50f44.tar.gz
Fix for bug#48745
mysqlnd: mysql_num_fields returns wrong column count for mysql_list_fields
Diffstat (limited to 'ext/mysqlnd/mysqlnd_debug.c')
-rw-r--r--ext/mysqlnd/mysqlnd_debug.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/mysqlnd/mysqlnd_debug.c b/ext/mysqlnd/mysqlnd_debug.c
index 2b5724dbe9..a052748850 100644
--- a/ext/mysqlnd/mysqlnd_debug.c
+++ b/ext/mysqlnd/mysqlnd_debug.c
@@ -830,9 +830,6 @@ void * _mysqlnd_perealloc(void *ptr, size_t new_size, zend_bool persistent MYSQL
void _mysqlnd_efree(void *ptr MYSQLND_MEM_D)
{
DBG_ENTER(mysqlnd_efree_name);
- if (!ptr) {
- DBG_VOID_RETURN;
- }
#ifdef MYSQLND_THREADED
if (MYSQLND_G(thread_id) != tsrm_thread_id()) {
DBG_RETURN(_mysqlnd_pefree(ptr, 1 TSRMLS_CC ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC));