1
0
mirror of https://github.com/danog/ext-pq.git synced 2024-11-26 20:04:44 +01:00
ext-pq/tests/savepoint001.phpt
2013-01-31 17:56:13 +01:00

25 lines
295 B
PHP

--TEST--
savepoints
--SKIPIF--
<?php include "_skipif.inc"; ?>
--FILE--
<?php
echo "Test\n";
include "_setup.inc";
$c = new pq\Connection(PQ_DSN);
$t = $c->startTransaction();
$t->savepoint();
$t->savepoint();
$t->rollback();
$t->commit();
$t->rollback();
?>
DONE
--EXPECT--
Test
DONE