From ccd495808881ceef8fb8927573257b22ff2b898a Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Mon, 16 Feb 2009 19:49:03 +0000 Subject: [PATCH] - Missing "DROP TABLE" --- ext/pdo/tests/pdo_033.phpt | 3 +++ 1 file changed, 3 insertions(+) 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-- -- 2.40.0