cvs: php-src(PHP_5_3) /ext/pdo/tests pdo_033.phpt
| From: | Felipe Pena | Date: | Mon, 16 Feb 2009 19:48:56 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/pdo/tests pdo_033.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-56292@lists.php.net to get a copy of this message | ||
felipe Mon Feb 16 19:48:56 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/pdo/tests pdo_033.phpt
Log:
- Missing "DROP TABLE"
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo/tests/pdo_033.phpt?r1=1.1.2.2.2.1&r2=1.1.2.2.2.2&diff_format=u
Index: php-src/ext/pdo/tests/pdo_033.phpt
diff -u php-src/ext/pdo/tests/pdo_033.phpt:1.1.2.2.2.1
php-src/ext/pdo/tests/pdo_033.phpt:1.1.2.2.2.2
--- php-src/ext/pdo/tests/pdo_033.phpt:1.1.2.2.2.1 Wed Feb 4 16:40:56 2009
+++ php-src/ext/pdo/tests/pdo_033.phpt Mon Feb 16 19:48:56 2009
@@ -20,6 +20,8 @@
$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 @@
print_r($stmt->fetchAll(PDO::FETCH_ASSOC));
+$db->exec("DROP TABLE test");
?>
--EXPECT--