X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Funbuffered001.phpt;h=4bc4d8575132e07fee8627fc12b0ca4cc2e40f9a;hb=f1cfd1b4749640a7a18cd865c36e4b1ac0f31596;hp=b0df231c007a863b433051a0da45302709946684;hpb=b7620687147565388f76031efc820e773232fa34;p=m6w6%2Fext-pq 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: