projects
/
m6w6
/
ext-pq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fixed array parser compatibility with arrays of boxes
[m6w6/ext-pq]
/
tests
/
cancel001.phpt
diff --git
a/tests/cancel001.phpt
b/tests/cancel001.phpt
index f374f666c5888696c9a3cfbbb7560ce69c4f8f80..5ccdf43198089f239ef4107b596bc56530d8f143 100644
(file)
--- a/
tests/cancel001.phpt
+++ b/
tests/cancel001.phpt
@@
-16,18
+16,21
@@
$c->execAsync("SELECT pg_sleep(2)");
$x->cancel();
$x->cancel();
+var_dump($c === $x->connection);
var_dump($c->getResult());
var_dump($c->getResult());
-
+printf("%s\n", $c->errorMessage);
?>
DONE
--EXPECTF--
Test
?>
DONE
--EXPECTF--
Test
-object(pq\Result)#%d (6) {
+bool(true)
+object(pq\Result)#%d (8) {
["status"]=>
int(7)
["status"]=>
int(7)
+ ["statusMessage"]=>
+ string(11) "FATAL_ERROR"
["errorMessage"]=>
["errorMessage"]=>
- string(48) "ERROR: canceling statement due to user request
-"
+ string(47) "ERROR: canceling statement due to user request"
["numRows"]=>
int(0)
["numCols"]=>
["numRows"]=>
int(0)
["numCols"]=>
@@
-36,5
+39,8
@@
object(pq\Result)#%d (6) {
int(0)
["fetchType"]=>
int(0)
int(0)
["fetchType"]=>
int(0)
+ ["autoConvert"]=>
+ int(65535)
}
}
+ERROR: canceling statement due to user request
DONE
DONE