iliaa           Sat Dec  9 16:41:24 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/pdo/tests      bug_39656.phpt 
  Log:
  Fixed test
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo/tests/bug_39656.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/pdo/tests/bug_39656.phpt
diff -u php-src/ext/pdo/tests/bug_39656.phpt:1.1.2.3 
php-src/ext/pdo/tests/bug_39656.phpt:1.1.2.4
--- php-src/ext/pdo/tests/bug_39656.phpt:1.1.2.3        Tue Dec  5 15:55:55 2006
+++ php-src/ext/pdo/tests/bug_39656.phpt        Sat Dec  9 16:41:24 2006
@@ -15,6 +15,7 @@
 require_once getenv('REDIR_TEST_DIR') . 'pdo_test.inc';
 $db = PDOTest::factory();
 
[EMAIL PROTECTED]>exec("DROP TABLE testtable");
 $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
 
 $db->exec("CREATE TABLE testtable (id INTEGER NOT NULL PRIMARY KEY, usr 
VARCHAR( 256 ) NOT NULL)");
@@ -31,11 +32,9 @@
 $row = $stmt->fetch(); // this line will crash CLI
 var_dump( $row );
 
-$db->exec("DROP TABLE testtable");
-
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECT--     
 array(4) {
   ["id"]=>
   string(1) "1"

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to