cvs: php-src(PHP_5_2) /ext/pdo/tests bug_39656.phpt

From: Date: Mon, 04 Dec 2006 17:55:46 +0000
Subject: cvs: php-src(PHP_5_2) /ext/pdo/tests bug_39656.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-41875@lists.php.net to get a copy of this message
iliaa Mon Dec 4 17:55:46 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/pdo/tests bug_39656.phpt Log: Fixed test (user is a reserved keyword in pgsql) http://cvs.php.net/viewvc.cgi/php-src/ext/pdo/tests/bug_39656.phpt?r1=1.1.2.1&r2=1.1.2.2&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.1 php-src/ext/pdo/tests/bug_39656.phpt:1.1.2.2 --- php-src/ext/pdo/tests/bug_39656.phpt:1.1.2.1 Tue Nov 28 16:55:05 2006 +++ php-src/ext/pdo/tests/bug_39656.phpt Mon Dec 4 17:55:46 2006 @@ -17,8 +17,8 @@ $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); -$db->exec("CREATE TABLE testtable (id INTEGER NOT NULL PRIMARY KEY, user VARCHAR( 256 ) NOT NULL)"); -$db->exec("INSERT INTO testtable (id, user) VALUES (1, 'user')"); +$db->exec("CREATE TABLE testtable (id INTEGER NOT NULL PRIMARY KEY, usr VARCHAR( 256 ) NOT NULL)"); +$db->exec("INSERT INTO testtable (id, usr) VALUES (1, 'user')"); $stmt = $db->prepare("SELECT * FROM testtable WHERE id = ?"); $stmt->bindValue(1, 1, PDO::PARAM_INT );

« previous php.cvs (#41875) next »