summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2009-02-16 19:48:56 +0000
committerFelipe Pena <felipe@php.net>2009-02-16 19:48:56 +0000
commitb66f9c0a873307574eba4c2fd16345dfcbd8ab53 (patch)
tree9c3379d6405af6f749a069769a5f53c05ccbf3d7
parentc351b71f2b67f93e13624f75e6a369c3487f25ba (diff)
downloadphp-git-b66f9c0a873307574eba4c2fd16345dfcbd8ab53.tar.gz
- Missing "DROP TABLE"
-rw-r--r--ext/pdo/tests/pdo_033.phpt3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pdo/tests/pdo_033.phpt b/ext/pdo/tests/pdo_033.phpt
index 2cfdb5afa3..6f78be6ed5 100644
--- a/ext/pdo/tests/pdo_033.phpt
+++ b/ext/pdo/tests/pdo_033.phpt
@@ -20,6 +20,8 @@ $quoted = $db->quote($unquoted);
$len = strlen($unquoted);
+@$db->exec("DROP TABLE test");
+
$db->query("CREATE TABLE test (t char($len))");
$db->query("INSERT INTO test (t) VALUES($quoted)");
@@ -28,6 +30,7 @@ $stmt->execute();
print_r($stmt->fetchAll(PDO::FETCH_ASSOC));
+$db->exec("DROP TABLE test");
?>
--EXPECT--