home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2005 June / PCpro_2005_06.ISO / files / opensource / xamp / xampp-win32.exe / xampp / 11transactions.phpt < prev    next >
Encoding:
Text File  |  2004-10-01  |  658 b   |  22 lines

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