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

From: Date: Mon, 04 Dec 2006 17:55:56 +0000
Subject: cvs: php-src /ext/pdo/tests bug_39656.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-41876@lists.php.net to get a copy of this message
iliaa Mon Dec 4 17:55:56 2006 UTC Modified files: /php-src/ext/pdo/tests bug_39656.phpt Log: MFB: 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.2&r2=1.3&diff_format=u Index: php-src/ext/pdo/tests/bug_39656.phpt diff -u php-src/ext/pdo/tests/bug_39656.phpt:1.2 php-src/ext/pdo/tests/bug_39656.phpt:1.3 --- php-src/ext/pdo/tests/bug_39656.phpt:1.2 Tue Nov 28 16:55:25 2006 +++ php-src/ext/pdo/tests/bug_39656.phpt Mon Dec 4 17:55:56 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 (#41876) next »