[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-cvs
Subject:    [PHP-CVS] cvs: php-src(PHP_5_2) /ext/pdo/tests bug_43130.phpt
From:       "Antony Dovgal" <tony2001 () php ! net>
Date:       2007-11-27 6:44:32
Message-ID: cvstony20011196145872 () cvsserver
[Download RAW message or body]

tony2001		Tue Nov 27 06:44:32 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/pdo/tests	bug_43130.phpt 
  Log:
  fix test
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo/tests/bug_43130.phpt?r1=1.1.4.3&r2=1.1.4.4&diff_format=u
                
Index: php-src/ext/pdo/tests/bug_43130.phpt
diff -u php-src/ext/pdo/tests/bug_43130.phpt:1.1.4.3 \
                php-src/ext/pdo/tests/bug_43130.phpt:1.1.4.4
--- php-src/ext/pdo/tests/bug_43130.phpt:1.1.4.3	Tue Oct 30 23:03:54 2007
+++ php-src/ext/pdo/tests/bug_43130.phpt	Tue Nov 27 06:44:32 2007
@@ -27,5 +27,7 @@
 $stmt->execute();
 var_dump($stmt->fetch(PDO::FETCH_COLUMN));
 ?>
---EXPECT--
-string(5) "test1"
+--EXPECTF--
+Warning: PDOStatement::execute(): SQLSTATE[HY093]: Invalid parameter number: \
parameter was not defined in %s on line %d +
+Warning: PDOStatement::execute(): SQLSTATE[HY093]: Invalid parameter number in %s on \
line %d

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic