summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_driver.c
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2006-03-24 09:32:24 +0000
committerGeorg Richter <georg@php.net>2006-03-24 09:32:24 +0000
commitb3a437fcc4861d5c1139b73cff00319daecee908 (patch)
tree2f1bffe30f4283a46eb1c25bc0880b85da19786c /ext/mysqli/mysqli_driver.c
parent9e26f6c21392ecbf0989f04c71cfa492317a7589 (diff)
downloadphp-git-b3a437fcc4861d5c1139b73cff00319daecee908.tar.gz
Fix for bug #36802 (server crashes with invalid/not opened connections)
Added status to mysqli_resource: MYSQLI_STATUS_UNKNOWN MYSQLI_STATUS_CLEARED (for future use) MYSQLI_STATUS_INITIALIZED (after mysqli_init and mysqli_stmt_init) MYSQLI_STATUS_VALID (for valid objects) removed valid flag changed MYSQLI_FETCH_RESOURCE added last parameter __check which specifies the status
Diffstat (limited to 'ext/mysqli/mysqli_driver.c')
-rw-r--r--ext/mysqli/mysqli_driver.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli_driver.c b/ext/mysqli/mysqli_driver.c
index 8e473eab08..d1c776ad19 100644
--- a/ext/mysqli/mysqli_driver.c
+++ b/ext/mysqli/mysqli_driver.c
@@ -130,7 +130,6 @@ MAP_PROPERTY_MYG_LONG_READ(driver_report_read, report_mode);
ZEND_FUNCTION(mysqli_driver_construct)
{
-
}
mysqli_property_entry mysqli_driver_property_entries[] = {