Browse Source

- MFH: Fixed bug #47297 (pdo_033.phpt fails on PgSQL)

Patch by matteo at beccati dot com
experimental/5.3-FPM
Felipe Pena 17 years ago
parent
commit
d33be91e72
  1. 4
      ext/pdo/tests/pdo_033.phpt

4
ext/pdo/tests/pdo_033.phpt

@ -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');

Loading…
Cancel
Save