]> granicus.if.org Git - php/commitdiff
use the right constant name in error messages
authorAntony Dovgal <tony2001@php.net>
Wed, 5 Oct 2005 22:14:52 +0000 (22:14 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 5 Oct 2005 22:14:52 +0000 (22:14 +0000)
ext/pdo_mysql/mysql_driver.c

index f4544a3c0f93421bf46d08655fe2043fc63d4693..93dd241faf6b529d04bf9bb42c684aa13c679f25 100755 (executable)
@@ -75,7 +75,7 @@ int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int lin
                                "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 */