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

« back to all changes in this revision

Viewing changes to mysql-test/t/innodb.test

  • 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:
2475
2475
DROP TABLE t2;
2476
2476
DROP TABLE t1;
2477
2477
# End 34920 test
 
2478
#
2478
2479
# Bug #29507 TRUNCATE shows to many rows effected
2479
2480
#
2480
2481
CONNECTION default;
2491
2492
--disable_info
2492
2493
DROP TABLE t1;
2493
2494
#
 
2495
# Bug#35537 Innodb doesn't increment handler_update and handler_delete.
 
2496
#
 
2497
-- disable_query_log
 
2498
-- disable_result_log
 
2499
 
 
2500
CONNECT (c1,localhost,root,,);
 
2501
 
 
2502
DROP TABLE IF EXISTS bug35537;
 
2503
CREATE TABLE bug35537 (
 
2504
  c1 int
 
2505
) ENGINE=InnoDB;
 
2506
 
 
2507
INSERT INTO bug35537 VALUES (1);
 
2508
 
 
2509
-- enable_result_log
 
2510
 
 
2511
SHOW SESSION STATUS LIKE 'Handler_update%';
 
2512
SHOW SESSION STATUS LIKE 'Handler_delete%';
 
2513
 
 
2514
UPDATE bug35537 SET c1 = 2 WHERE c1 = 1;
 
2515
DELETE FROM bug35537 WHERE c1 = 2;
 
2516
 
 
2517
SHOW SESSION STATUS LIKE 'Handler_update%';
 
2518
SHOW SESSION STATUS LIKE 'Handler_delete%';
 
2519
 
 
2520
DROP TABLE bug35537;
 
2521
 
 
2522
DISCONNECT c1;
 
2523
CONNECTION default;
 
2524
 
2494
2525
#######################################################################
2495
2526
#                                                                     #
2496
2527
# Please, DO NOT TOUCH this file as well as the innodb.result file.   #