From: Ilia Alshanetsky Date: Thu, 20 May 2004 18:05:44 +0000 (+0000) Subject: Better error message. X-Git-Tag: RELEASE_0_1~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf33729c20e734e4b9f013ebc91857bb5e2e9eac;p=php Better error message. --- 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)); }