projects
/
m6w6
/
ext-pq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
v0.5.4
[m6w6/ext-pq]
/
tests
/
lob001.phpt
diff --git
a/tests/lob001.phpt
b/tests/lob001.phpt
index 7f91f645788215e6cc0ed1e75bea9c32eac2a325..990d6f02a774e7df01f94afa845ce6e4985e35d9 100644
(file)
--- a/
tests/lob001.phpt
+++ b/
tests/lob001.phpt
@@
-12,6
+12,9
@@
$c = new pq\Connection(PQ_DSN);
$t = $c->startTransaction();
$lob = $t->createLOB();
+
+var_dump($lob->transaction === $t);
+
$lob->write(file_get_contents(__FILE__));
var_dump($lob->tell());
@@
-31,7
+34,8
@@
$t->unlinkLOB($lob->oid);
DONE
--EXPECTF--
Test
-int(451)
+bool(true)
+int(489)
bool(true)
string(5) "%c?php"
DONE