Browse Source

More errno stuff.

PHP-5.0
Ilia Alshanetsky 23 years ago
parent
commit
c328a15469
  1. 4
      ext/pdo_mysql/mysql_driver.c

4
ext/pdo_mysql/mysql_driver.c

@ -32,12 +32,12 @@
int _pdo_mysql_error(char *what, int mysql_errno, const char *file, int line TSRMLS_DC) /* {{{ */
{
switch (errno) {
switch (mysql_errno) {
default:
php_error_docref(NULL TSRMLS_CC, E_WARNING, "(%s:%d) %s: %d", file, line, what, mysql_errno);
break;
}
return errno;
return mysql_errno;
}
/* }}} */

Loading…
Cancel
Save