mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
- MFH: Fixed bug #47297 (pdo_033.phpt fails on PgSQL)
Patch by matteo at beccati dot com
This commit is contained in:
@@ -18,7 +18,9 @@ $unquoted = ' !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`a
|
||||
|
||||
$quoted = $db->quote($unquoted);
|
||||
|
||||
$db->query("CREATE TABLE test (t char(100))");
|
||||
$len = strlen($unquoted);
|
||||
|
||||
$db->query("CREATE TABLE test (t char($len))");
|
||||
$db->query("INSERT INTO test (t) VALUES($quoted)");
|
||||
|
||||
$stmt = $db->prepare('SELECT * from test');
|
||||
|
||||
Reference in New Issue
Block a user