diff options
author | Dan Scott <dbs@php.net> | 2005-03-05 21:03:12 +0000 |
---|---|---|
committer | Dan Scott <dbs@php.net> | 2005-03-05 21:03:12 +0000 |
commit | 48a6151051afd1db737a75db51f2a065be97bb6a (patch) | |
tree | d926cc4ca9e34ae7220377abd3f68c12685ad16d /ext/pdo_odbc/tests | |
parent | 81c161d0a7dab7c5ebee755a17cc48291c613ed3 (diff) | |
download | php-git-48a6151051afd1db737a75db51f2a065be97bb6a.tar.gz |
Test PDO::beginTransaction and PDO::rollBack.
Diffstat (limited to 'ext/pdo_odbc/tests')
-rwxr-xr-x | ext/pdo_odbc/tests/pdo_017.phpt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ext/pdo_odbc/tests/pdo_017.phpt b/ext/pdo_odbc/tests/pdo_017.phpt new file mode 100755 index 0000000000..5221c3dfc0 --- /dev/null +++ b/ext/pdo_odbc/tests/pdo_017.phpt @@ -0,0 +1,21 @@ +--TEST-- +PDO_ODBC: PDO::beginTransaction / PDO::rollBack +--SKIPIF-- +<?php # vim:ft=php +require_once('skipif.inc'); ?> +--FILE-- +<?php + +require_once('connection.inc'); +require_once('prepare.inc'); + +require_once($PDO_TESTS . 'pdo_017.inc'); + +?> +===DONE=== +<?php exit(0); ?> +--EXPECT-- +Counted 3 rows after insert. +Counted 0 rows after delete. +Counted 3 rows after rollback. +===DONE=== |