]> granicus.if.org Git - php/commitdiff
this one too
authorWez Furlong <wez@php.net>
Sun, 6 Feb 2005 17:33:12 +0000 (17:33 +0000)
committerWez Furlong <wez@php.net>
Sun, 6 Feb 2005 17:33:12 +0000 (17:33 +0000)
ext/pdo/pdo_dbh.c

index d77211b1c4be8123ade2aacb36c9e922f23dda0a..f31a20f1ef67a2727814d931b51b545f81e117f9 100755 (executable)
@@ -527,6 +527,10 @@ static PHP_METHOD(PDO, getAttribute)
 
                case PDO_ATTR_ORACLE_NULLS:
                        RETURN_BOOL(dbh->oracle_nulls);
+
+               case PDO_ATTR_ERRMODE:
+                       RETURN_LONG(dbh->error_mode);
+
        }
        
        if (!dbh->methods->get_attribute) {