mirror of
https://github.com/danog/ext-pq.git
synced 2024-12-02 09:18:02 +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
|
||
|
|