~ubuntu-branches/ubuntu/karmic/mysql-dfsg-5.1/karmic

« back to all changes in this revision

Viewing changes to mysql-test/include/commit.inc

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2009-02-10 16:42:05 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090210164205-ej41ocvm4z1s14nq
Tags: 5.1.31-1ubuntu1
* Merge from debian experimental, remaining changes: 
  - debian/mysql-server-5.1.config: ask for MySQL root password at priority
    high instead of medium so that the password prompt is seen on a default
    install. (LP: #319843)
  - debian/control: 
    + Don't build mysql-server, mysql-client, mysql-common and 
      libmysqlclient15-dev binary packages since they're still provided 
      by mysql-dfsg-5.0.
    + Rename libmysqlclient-dev package to libmysqlclient16-dev (LP: #316280).
      Make it conflict with libmysqlclient15-dev.
    + Make mysql-{client,server}-5.1 packages conflict and
      replace mysql-{client,server}-5.0, but not provide 
      mysql-{client,server}.
    + Depend on a specific version of mysql-common rather than the src 
      version of mysql-dfsg-5.1 since mysql-common is currently part of
      mysql-dfsg-5.0.
  - debian/rules: added -fno-strict-aliasing to CFLAGS to get
    around mysql testsuite build failures.
* debian/patches/92_ssl_test_cert.dpatch: certificate expiration in 
  test suite (LP: #323755).
* Dropped changes:
  - all of the changes made to support both 5.0 and 5.1 installed at the
    same time have been dropped now that amarok doesn't depend on
    mysql-server-5.1 anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
617
617
--echo
618
618
--echo # No test because of Bug#8729 "rename table fails on temporary table"
619
619
 
620
 
--echo # 24. DDL: TRUNCATE TEMPORARY TABLE, does not start a transaction
 
620
--echo # 24. DDL: TRUNCATE TEMPORARY TABLE
621
621
--echo
622
622
truncate table t2;
623
 
call p_verify_status_increment(2, 0, 2, 0);
 
623
call p_verify_status_increment(4, 0, 4, 0);
624
624
commit;
625
625
--echo # There is nothing left to commit
626
626
call p_verify_status_increment(0, 0, 0, 0);
671
671
savepoint a;
672
672
call p_verify_status_increment(0, 0, 0, 0);
673
673
insert t1 set a=4;
674
 
--echo # Sic: a bug. Binlog did not register itself this time.
675
 
call p_verify_status_increment(1, 0, 1, 0);
 
674
--echo # Binlog does not register itself this time for other than the 1st
 
675
--echo # statement of the transaction with MIXED/STATEMENT binlog_format.
 
676
--echo # It needs registering with the ROW format. Therefore 1,0,2,2 are 
 
677
--echo # the correct arguments to this test after bug#40221 fixed.
 
678
call p_verify_status_increment(1, 0, 2, 2);
676
679
release savepoint a;
677
680
rollback;
678
681
call p_verify_status_increment(0, 0, 0, 0);
730
733
rename table t4 to t3;
731
734
call p_verify_status_increment(1, 0, 1, 0);
732
735
truncate table t3;
733
 
call p_verify_status_increment(2, 2, 2, 2);
 
736
call p_verify_status_increment(4, 4, 4, 4);
734
737
create view v1 as select * from t2;
735
738
call p_verify_status_increment(1, 0, 1, 0);
736
739
check table t1;