]> granicus.if.org Git - php/commitdiff
keep this as a placeholder for debugging weird regressions
authorWez Furlong <wez@php.net>
Thu, 14 Jul 2005 02:09:08 +0000 (02:09 +0000)
committerWez Furlong <wez@php.net>
Thu, 14 Jul 2005 02:09:08 +0000 (02:09 +0000)
ext/pdo_mysql/mysql_driver.c

index 2f7d9437c980a583a5f12fbe0ce121aceebe8706..68563f3eb0bc3ebf37ce3022d83d6e5e4ccb5453 100755 (executable)
@@ -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;
 }