diff options
author | Jason Greene <jason@php.net> | 2001-05-04 01:14:26 +0000 |
---|---|---|
committer | Jason Greene <jason@php.net> | 2001-05-04 01:14:26 +0000 |
commit | 8405c36815967e1e7b8812de1fc31a8c465197a3 (patch) | |
tree | b41683648027924654e2c4a7be5e414d6722c5c3 /ext/mysql/php_mysql.h | |
parent | 36d2e71de1a2a0dee46482a17feb18433c9ac7af (diff) | |
download | php-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.h | 2 |
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 |