Skip to content

Commit

Permalink
- MFH: Fixed bug #47297 (pdo_033.phpt fails on PgSQL)
Browse files Browse the repository at this point in the history
Patch by matteo at beccati dot com
  • Loading branch information
felipensp committed Feb 4, 2009
1 parent 16bb7d1 commit d33be91
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ext/pdo/tests/pdo_033.phpt
Expand Up @@ -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');
Expand Down

0 comments on commit d33be91

Please sign in to comment.