]> granicus.if.org Git - php/commitdiff
Fixed error message typo
authorMatt Wilmas <mattwil@php.net>
Wed, 3 Dec 2008 00:10:17 +0000 (00:10 +0000)
committerMatt Wilmas <mattwil@php.net>
Wed, 3 Dec 2008 00:10:17 +0000 (00:10 +0000)
ext/pdo/pdo_dbh.c

index 0829d26782a18cf63ea0025589117fa71d3fc31a..faff7392cd3d0d0215fa0bbb89ef02d25a8ff83f 100755 (executable)
@@ -923,7 +923,7 @@ static PHP_METHOD(PDO, exec)
        }
 
        if (!statement_len) {
-               pdo_raise_impl_error(dbh, NULL, "HY000",  "trying to execute and empty query" TSRMLS_CC);
+               pdo_raise_impl_error(dbh, NULL, "HY000",  "trying to execute an empty query" TSRMLS_CC);
                RETURN_FALSE;
        }
        PDO_DBH_CLEAR_ERR();