X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=tests%2Fcancel001.phpt;h=f763847d1651424adb4b31c486efc703a1ea5c2c;hp=89c4931dcdbcc2692b5ca252ececd730d6e464c1;hb=dde388e274286b4200689bf21f061a974e8bd847;hpb=3024b0b5a903a2bcb082b01e1787410dc9508a9d diff --git a/tests/cancel001.phpt b/tests/cancel001.phpt index 89c4931..f763847 100644 --- a/tests/cancel001.phpt +++ b/tests/cancel001.phpt @@ -16,13 +16,15 @@ $c->execAsync("SELECT pg_sleep(2)"); $x->cancel(); +var_dump($c === $x->connection); var_dump($c->getResult()); printf("%s\n", $c->errorMessage); ?> DONE --EXPECTF-- Test -object(pq\Result)#%d (7) { +bool(true) +object(pq\Result)#%d (8) { ["status"]=> int(7) ["statusMessage"]=> @@ -37,6 +39,8 @@ object(pq\Result)#%d (7) { int(0) ["fetchType"]=> int(0) + ["autoConvert"]=> + int(255) } ERROR: canceling statement due to user request DONE