mirror of
https://github.com/danog/ext-pq.git
synced 2024-12-12 09:29:37 +01:00
25 lines
295 B
Plaintext
25 lines
295 B
Plaintext
|
--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
|
||
|
|