~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-02-14 23:59:22 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120214235922-cux5uek1e5l0hje9
Tags: 5.5.20-0ubuntu1
* New upstream release.
* d/mysql-server-5.5.mysql.upstart: Fix stop on to make sure mysql is
  fully stopped before shutdown commences. (LP: #688541) Also simplify
  start on as it is redundant.
* d/control: Depend on upstart version which has apparmor profile load
  script to prevent failure on upgrade from lucid to precise.
  (LP: #907465)
* d/apparmor-profile: need to allow /run since that is the true path
  of /var/run files. (LP: #917542)
* d/control: mysql-server-5.5 has files in it that used to be owned
  by libmysqlclient-dev, so it must break/replace it. (LP: #912487)
* d/rules, d/control: 5.5.20 Fixes segfault on tests with gcc 4.6,
  change compiler back to system default.
* d/rules: Turn off embedded libedit/readline.(Closes: #659566)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1647
1647
SET myisam_sort_buffer_size=@@global.myisam_sort_buffer_size;
1648
1648
SET myisam_repair_threads=@@global.myisam_repair_threads;
1649
1649
 
 
1650
--echo #
 
1651
--echo # BUG#11757032 - 49030: OPTIMIZE TABLE BREAKS MYISAM TABLE WHEN
 
1652
--echo #                USING MYISAM_USE_MMAP ON WINDOWS
 
1653
--echo #
 
1654
SET GLOBAL myisam_use_mmap=1;
 
1655
CREATE TABLE t1(a INT);
 
1656
INSERT INTO t1 VALUES(1),(2);
 
1657
DELETE FROM t1 WHERE a=1;
 
1658
FLUSH TABLE t1;
 
1659
LOCK TABLE t1 WRITE;
 
1660
OPTIMIZE TABLE t1;
 
1661
INSERT INTO t1 VALUES(3);
 
1662
UNLOCK TABLES;
 
1663
SELECT * FROM t1;
 
1664
CHECK TABLE t1;
 
1665
DROP TABLE t1;
 
1666
SET GLOBAL myisam_use_mmap=default;
 
1667
 
1650
1668
--echo End of 5.1 tests
1651
1669
 
1652
1670