X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=tests%2Fcancel001.phpt;fp=tests%2Fcancel001.phpt;h=89c4931dcdbcc2692b5ca252ececd730d6e464c1;hp=e1c9bb3a15204a987dc0615ce689d03ac4bc1f06;hb=3024b0b5a903a2bcb082b01e1787410dc9508a9d;hpb=3e70f1ceb6d5c6b0b8f305a93e3bd3495c88a0ea diff --git a/tests/cancel001.phpt b/tests/cancel001.phpt index e1c9bb3..89c4931 100644 --- a/tests/cancel001.phpt +++ b/tests/cancel001.phpt @@ -17,7 +17,7 @@ $c->execAsync("SELECT pg_sleep(2)"); $x->cancel(); var_dump($c->getResult()); - +printf("%s\n", $c->errorMessage); ?> DONE --EXPECTF-- @@ -38,4 +38,5 @@ object(pq\Result)#%d (7) { ["fetchType"]=> int(0) } +ERROR: canceling statement due to user request DONE