summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2004-05-20 18:05:44 +0000
committerIlia Alshanetsky <iliaa@php.net>2004-05-20 18:05:44 +0000
commitcf33729c20e734e4b9f013ebc91857bb5e2e9eac (patch)
tree3df1b245e4da404360f1e2c77f68e27c54422986
parentf8d045619a064899f666d132aee6a6b49495d37d (diff)
downloadphp-git-cf33729c20e734e4b9f013ebc91857bb5e2e9eac.tar.gz
Better error message.
-rwxr-xr-xext/pdo/pdo_dbh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c
index 37729d5c65..166dda7706 100755
--- a/ext/pdo/pdo_dbh.c
+++ b/ext/pdo/pdo_dbh.c
@@ -363,7 +363,7 @@ static PHP_METHOD(PDO, lastInsertId)
PDO_DBH_CLEAR_ERR();
if (!dbh->methods->last_id) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "This driver last inserted id retrieval.");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "This driver does not support last inserted id retrieval.");
} else {
RETURN_LONG(dbh->methods->last_id(dbh TSRMLS_CC));
}