fix fetchCol to return true/false and pass value int pass-by-ref param
[m6w6/ext-pq] / tests / basic002.phpt
index a6455ab..2afb785 100644 (file)
@@ -13,7 +13,8 @@ $s = $c->prepare("test1", "SELECT \$1",array($t["text"]->oid));
 $r = $s->exec(array("fooo"));
 
 printf("%s\n", $r->errorMessage);
-printf("%s\n", $r->fetchCol());
+$r->fetchCol($val);
+printf("%s\n", $val);
 ?>
 DONE
 --EXPECT--