]> granicus.if.org Git - php/commitdiff
Better error message.
authorIlia Alshanetsky <iliaa@php.net>
Thu, 20 May 2004 18:05:44 +0000 (18:05 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 20 May 2004 18:05:44 +0000 (18:05 +0000)
ext/pdo/pdo_dbh.c

index 37729d5c65ee8f06ec640471dde9e49d66778af5..166dda7706ee70b141ac5ed9f2cd8833c52e20c4 100755 (executable)
@@ -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));
        }