From 8405c36815967e1e7b8812de1fc31a8c465197a3 Mon Sep 17 00:00:00 2001 From: Jason Greene Date: Fri, 4 May 2001 01:14:26 +0000 Subject: @ Added connection error support to mysql_error() and mysql_errno() (Jason) This should work correctly without causing compatibility issues with previous scripts. Someone might want to double check this change, just in case. --- ext/mysql/php_mysql.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/mysql/php_mysql.h') diff --git a/ext/mysql/php_mysql.h b/ext/mysql/php_mysql.h index 83ad5c4dfa..8e3fb71870 100644 --- a/ext/mysql/php_mysql.h +++ b/ext/mysql/php_mysql.h @@ -90,6 +90,8 @@ ZEND_BEGIN_MODULE_GLOBALS(mysql) long default_port; char *default_host, *default_user, *default_password; char *default_socket; + char *connect_error; + long connect_errno; ZEND_END_MODULE_GLOBALS(mysql) #ifdef ZTS -- cgit v1.2.1