X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fcancel001.phpt;h=5ccdf43198089f239ef4107b596bc56530d8f143;hb=d607a4e70c0684d4b144203dfce40d7d69db6f3f;hp=89c4931dcdbcc2692b5ca252ececd730d6e464c1;hpb=3024b0b5a903a2bcb082b01e1787410dc9508a9d;p=m6w6%2Fext-pq diff --git a/tests/cancel001.phpt b/tests/cancel001.phpt index 89c4931..5ccdf43 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(65535) } ERROR: canceling statement due to user request DONE