From: Felipe Pena Date: Mon, 16 Feb 2009 19:48:49 +0000 (+0000) Subject: - Missing "DROP TABLE" X-Git-Tag: php-5.4.0alpha1~191^2~4260 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b8e2baf6b715dd7a258f0a28e17b5afc7da5a64;p=php - Missing "DROP TABLE" --- 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--