cvs: php-src(PHP_5_1) /ext/pdo_mysql mysql_driver.c
| From: | Antony Dovgal | Date: | Wed, 05 Oct 2005 22:14:54 +0000 |
| Subject: | cvs: php-src(PHP_5_1) /ext/pdo_mysql mysql_driver.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-34334@lists.php.net to get a copy of this message | ||
tony2001 Wed Oct 5 18:14:54 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src/ext/pdo_mysql mysql_driver.c
Log:
use the right constant name in error messages
http://cvs.php.net/diff.php/php-src/ext/pdo_mysql/mysql_driver.c?r1=1.59.2.2&r2=1.59.2.3&ty=u
Index: php-src/ext/pdo_mysql/mysql_driver.c
diff -u php-src/ext/pdo_mysql/mysql_driver.c:1.59.2.2 php-src/ext/pdo_mysql/mysql_driver.c:1.59.2.3
--- php-src/ext/pdo_mysql/mysql_driver.c:1.59.2.2 Wed Sep 14 11:34:58 2005
+++ php-src/ext/pdo_mysql/mysql_driver.c Wed Oct 5 18:14:52 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mysql_driver.c,v 1.59.2.2 2005/09/14 15:34:58 iliaa Exp $ */
+/* $Id: mysql_driver.c,v 1.59.2.3 2005/10/05 22:14:52 tony2001 Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -75,7 +75,7 @@
"Cannot execute queries while other unbuffered queries are active. "
"Consider using PDOStatement::fetchAll(). Alternatively, if your code "
"is only ever going to run against mysql, you may enable query "
- "buffering by setting the PDO_MYSQL_ATTR_USE_BUFFERED_QUERY attribute.",
+ "buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.",
dbh->is_persistent);
}
} else { /* no error */