home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 June / ENTER.ISO / files / xampp-win32-1.4.5-installer.exe / xampp / 11transactions.phpt < prev    next >
Encoding:
Text File  |  2004-03-24  |  607 b   |  19 lines

  1. --TEST--
  2. DB_driver::transaction test
  3. --SKIPIF--
  4. <?php chdir(dirname(__FILE__)); require_once './skipif.inc'; ?>
  5. --FILE--
  6. <?php
  7. require_once './mktable.inc';
  8. require_once '../transactions.inc';
  9. ?>
  10. --EXPECT--
  11. after autocommit: bing one.  ops=ok
  12. before commit: bing one two three.  ops=ok
  13. after commit: bing one two three.  ops=ok
  14. before rollback: bing one two three four five.  ops=ok
  15. after rollback: bing one two three.  ops=ok
  16. before autocommit+rollback: bing one two three six seven.  ops=ok
  17. after autocommit+rollback: bing one two three six seven.  ops=ok
  18. testing that select doesn't disturbe opcount: ok
  19.