X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=tests%2Funbuffered001.phpt;h=4bc4d8575132e07fee8627fc12b0ca4cc2e40f9a;hp=b0df231c007a863b433051a0da45302709946684;hb=753359f19c5d29f08faca43ee735c49c217230a7;hpb=b7620687147565388f76031efc820e773232fa34 diff --git a/tests/unbuffered001.phpt b/tests/unbuffered001.phpt index b0df231..4bc4d85 100644 --- a/tests/unbuffered001.phpt +++ b/tests/unbuffered001.phpt @@ -16,7 +16,7 @@ var_dump($c->unbuffered); $c->execAsync("SELECT a from generate_series(1,10) a", function($res) { switch ($res->status) { case pq\Result::SINGLE_TUPLE: - $res->fetchCol("a", $val); + $res->fetchCol($val, "a"); printf("%s\n", $val); break; case pq\Result::TUPLES_OK: