]> granicus.if.org Git - php/commitdiff
Fix table name in initialization DROP TABLE statement
authorChristopher Jones <christopher.jones@oracle.com>
Sat, 27 Jun 2015 00:01:15 +0000 (10:01 +1000)
committerChristopher Jones <christopher.jones@oracle.com>
Sat, 27 Jun 2015 00:01:15 +0000 (10:01 +1000)
ext/pdo_oci/tests/bug57702.phpt

index 9281f6d0f70cfa9d1639e9f89e3e5543ecaff80c..0060bb0f2eb189f9410f29ebaf4aaefcb3332404 100644 (file)
@@ -15,7 +15,7 @@ $db = PDOTest::test_factory('ext/pdo_oci/tests/common.phpt');
 // Note the PDO test setup sets PDO::ATTR_STRINGIFY_FETCHES to true
 // (and sets PDO::ATTR_CASE to PDO::CASE_LOWER)
 
-$query = "begin execute immediate 'drop table mytable'; exception when others then if sqlcode <> -942 then raise; end if; end;";
+$query = "begin execute immediate 'drop table bug57702'; exception when others then if sqlcode <> -942 then raise; end if; end;";
 $stmt = $db->prepare($query);
 $stmt->execute();