com php-src: Fix table name in initialization DROP TABLE statement: ext/pdo_oci/tests/bug57702.phpt
| From: | Christopher Jones | Date: | Sat, 27 Jun 2015 00:01:15 +0000 |
| Subject: | com php-src: Fix table name in initialization DROP TABLE statement: ext/pdo_oci/tests/bug57702.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87553@lists.php.net to get a copy of this message | ||
Commit: 7a9764c5bb53d5253207871f9de453e386127eb6
Author: Christopher Jones <christopher.jones@oracle.com> Sat, 27 Jun 2015 10:01:15
+1000
Parents: 3bf012a98d2f47b84e4632a58aa14f8a45149041
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7a9764c5bb53d5253207871f9de453e386127eb6
Log:
Fix table name in initialization DROP TABLE statement
Changed paths:
M ext/pdo_oci/tests/bug57702.phpt
Diff:
diff --git a/ext/pdo_oci/tests/bug57702.phpt b/ext/pdo_oci/tests/bug57702.phpt
index 9281f6d..0060bb0 100644
--- a/ext/pdo_oci/tests/bug57702.phpt
+++ b/ext/pdo_oci/tests/bug57702.phpt
@@ -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();