summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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--