summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/mysql_driver.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2005-07-14 02:09:08 +0000
committerWez Furlong <wez@php.net>2005-07-14 02:09:08 +0000
commit695e195a27a603eb37d21537294781b04b425559 (patch)
tree122ce68c95bf4b4dd0d673f3543ebaa2a8c8b1ec /ext/pdo_mysql/mysql_driver.c
parentfbc568013af44ba2acbe272c5cf4209b801a0bd3 (diff)
downloadphp-git-695e195a27a603eb37d21537294781b04b425559.tar.gz
keep this as a placeholder for debugging weird regressions
Diffstat (limited to 'ext/pdo_mysql/mysql_driver.c')
-rwxr-xr-xext/pdo_mysql/mysql_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c
index 2f7d9437c9..68563f3eb0 100755
--- a/ext/pdo_mysql/mysql_driver.c
+++ b/ext/pdo_mysql/mysql_driver.c
@@ -100,6 +100,7 @@ int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int lin
zend_throw_exception_ex(php_pdo_get_exception(), 0 TSRMLS_CC, "SQLSTATE[%s] [%d] %s",
*pdo_err, einfo->errcode, einfo->errmsg);
}
+/* printf("** [%s:%d] %s %s\n", file, line, *pdo_err, einfo->errmsg); */
return einfo->errcode;
}