summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.h
diff options
context:
space:
mode:
authorJason Greene <jason@php.net>2001-05-04 01:14:26 +0000
committerJason Greene <jason@php.net>2001-05-04 01:14:26 +0000
commit8405c36815967e1e7b8812de1fc31a8c465197a3 (patch)
treeb41683648027924654e2c4a7be5e414d6722c5c3 /ext/mysql/php_mysql.h
parent36d2e71de1a2a0dee46482a17feb18433c9ac7af (diff)
downloadphp-git-8405c36815967e1e7b8812de1fc31a8c465197a3.tar.gz
@ 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.
Diffstat (limited to 'ext/mysql/php_mysql.h')
-rw-r--r--ext/mysql/php_mysql.h2
1 files changed, 2 insertions, 0 deletions
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