diff options
author | Mattias Jonsson <mattiasj@mysql.com> | 2008-08-19 11:44:22 +0200 |
---|---|---|
committer | Mattias Jonsson <mattiasj@mysql.com> | 2008-08-19 11:44:22 +0200 |
commit | ad15cd6882bad7d329190e77936225573282ce1a (patch) | |
tree | a5a8f4734fe9e5a3dff040f1c64473a2e3d6007a /mysql-test/std_data | |
parent | 02aaff1b343ffd3cd397cc67d7f9eb69d8cb1545 (diff) | |
download | mariadb-git-ad15cd6882bad7d329190e77936225573282ce1a.tar.gz |
Post push fix for valgrind warning in ha_partition.cc
Bug#35161
Fixed memory leak when failing to open a partition.
Bug#20129
Added tests for verifying REPAIR PARTITION.
mysql-test/std_data/parts/t1_will_crash#P#p1_first_1024.MYD:
Bug#20129: ALTER TABLE ... REPAIR PARTITION ... not working
(see mysql-test/suite/parts/t/partition_repair_myisam.test
Created by:
CREATE TABLE t1_will_crash (
a VARCHAR(255),
b INT,
c LONGTEXT,
PRIMARY KEY (a, b))ENGINE=MyISAM
PARTITION BY HASH (b)
PARTITIONS 7;
INSERT INTO t1_will_crash VALUES ...
and then
head -c 1024 var/master-data/test/t1_will_crash#P#p1.MYD
into this file.
mysql-test/std_data/parts/t1_will_crash#P#p2.MYD:
Bug#20129: ALTER TABLE ... REPAIR PARTITION ... not working
(see mysql-test/suite/parts/t/partition_repair_myisam.test)
copy of file right after _mi_mark_file_changed in mi_write
was done.
mysql-test/std_data/parts/t1_will_crash#P#p2.MYI:
Bug#20129: ALTER TABLE ... REPAIR PARTITION ... not working
(see mysql-test/suite/parts/t/partition_repair_myisam.test)
copy of file right after _mi_mark_file_changed in mi_write
was done.
mysql-test/std_data/parts/t1_will_crash#P#p3.MYI:
Bug#20129: ALTER TABLE ... REPAIR PARTITION ... not working
(see mysql-test/suite/parts/t/partition_repair_myisam.test)
copy of file right after *share->write_record was done.
mysql-test/std_data/parts/t1_will_crash#P#p4.MYI:
Bug#20129: ALTER TABLE ... REPAIR PARTITION ... not working
(see mysql-test/suite/parts/t/partition_repair_myisam.test)
copy of file right after flush_cached_blocks
mysql-test/std_data/parts/t1_will_crash#P#p6.MYD:
Bug#20129: ALTER TABLE ... REPAIR PARTITION ... not working
(see mysql-test/suite/parts/t/partition_repair_myisam.test)
copy of file right after _mi_write_part_record in
write_dynamic_record returned for the first time.
mysql-test/std_data/parts/t1_will_crash#P#p6_2.MYD:
Bug#20129: ALTER TABLE ... REPAIR PARTITION ... not working
(see mysql-test/suite/parts/t/partition_repair_myisam.test)
copy of file right after _mi_write_part_record in
write_dynamic_record returned for the second time.
mysql-test/std_data/parts/t1_will_crash#P#p6_3.MYD:
Bug#20129: ALTER TABLE ... REPAIR PARTITION ... not working
(see mysql-test/suite/parts/t/partition_repair_myisam.test)
copy of file right after _mi_write_part_record in
write_dynamic_record returned for the third time.
(data file fully updated).
mysql-test/suite/parts/r/partition_recover_myisam.result:
Bug#35161
Renamed since it was a test of recover
and to make repair free for use without
--myisam-recover
mysql-test/suite/parts/r/partition_repair_myisam.result:
Bug#20129: ALTER TABLE ... REPAIR PARTITION ... not working
New result file for testing CHECK/REPAIR of partitioned tables
mysql-test/suite/parts/t/partition_recover_myisam-master.opt:
Bug#35161
Renamed since it was a test of recover
and to make repair free for use without
--myisam-recover
mysql-test/suite/parts/t/partition_recover_myisam.test:
Bug#35161
Renamed since it was a test of recover
and to make repair free for use without
--myisam-recover
mysql-test/suite/parts/t/partition_repair_myisam.test:
Bug#20129: ALTER TABLE ... REPAIR PARTITION ... not working
New test file for testing CHECK/REPAIR of partitioned tables
sql/ha_partition.cc:
Bug#35161
Fix of memory leak when open of partition failed.
Diffstat (limited to 'mysql-test/std_data')
-rw-r--r-- | mysql-test/std_data/parts/t1_will_crash#P#p1_first_1024.MYD | bin | 0 -> 1024 bytes |
-rw-r--r-- | mysql-test/std_data/parts/t1_will_crash#P#p2.MYD | bin | 0 -> 336 bytes |
-rw-r--r-- | mysql-test/std_data/parts/t1_will_crash#P#p2.MYI | bin | 0 -> 4096 bytes |
-rw-r--r-- | mysql-test/std_data/parts/t1_will_crash#P#p3.MYI | bin | 0 -> 2048 bytes |
-rw-r--r-- | mysql-test/std_data/parts/t1_will_crash#P#p4.MYI | bin | 0 -> 4096 bytes |
-rw-r--r-- | mysql-test/std_data/parts/t1_will_crash#P#p6.MYD | bin | 0 -> 868 bytes |
-rw-r--r-- | mysql-test/std_data/parts/t1_will_crash#P#p6_2.MYD | bin | 0 -> 868 bytes |
-rw-r--r-- | mysql-test/std_data/parts/t1_will_crash#P#p6_3.MYD | bin | 0 -> 868 bytes |
8 files changed, 0 insertions, 0 deletions
diff --git a/mysql-test/std_data/parts/t1_will_crash#P#p1_first_1024.MYD b/mysql-test/std_data/parts/t1_will_crash#P#p1_first_1024.MYD Binary files differnew file mode 100644 index 00000000000..a1bb8f98f91 --- /dev/null +++ b/mysql-test/std_data/parts/t1_will_crash#P#p1_first_1024.MYD diff --git a/mysql-test/std_data/parts/t1_will_crash#P#p2.MYD b/mysql-test/std_data/parts/t1_will_crash#P#p2.MYD Binary files differnew file mode 100644 index 00000000000..098d7a83a4a --- /dev/null +++ b/mysql-test/std_data/parts/t1_will_crash#P#p2.MYD diff --git a/mysql-test/std_data/parts/t1_will_crash#P#p2.MYI b/mysql-test/std_data/parts/t1_will_crash#P#p2.MYI Binary files differnew file mode 100644 index 00000000000..74085545751 --- /dev/null +++ b/mysql-test/std_data/parts/t1_will_crash#P#p2.MYI diff --git a/mysql-test/std_data/parts/t1_will_crash#P#p3.MYI b/mysql-test/std_data/parts/t1_will_crash#P#p3.MYI Binary files differnew file mode 100644 index 00000000000..38150da0bb5 --- /dev/null +++ b/mysql-test/std_data/parts/t1_will_crash#P#p3.MYI diff --git a/mysql-test/std_data/parts/t1_will_crash#P#p4.MYI b/mysql-test/std_data/parts/t1_will_crash#P#p4.MYI Binary files differnew file mode 100644 index 00000000000..df7eee53a81 --- /dev/null +++ b/mysql-test/std_data/parts/t1_will_crash#P#p4.MYI diff --git a/mysql-test/std_data/parts/t1_will_crash#P#p6.MYD b/mysql-test/std_data/parts/t1_will_crash#P#p6.MYD Binary files differnew file mode 100644 index 00000000000..10fd7d2fbce --- /dev/null +++ b/mysql-test/std_data/parts/t1_will_crash#P#p6.MYD diff --git a/mysql-test/std_data/parts/t1_will_crash#P#p6_2.MYD b/mysql-test/std_data/parts/t1_will_crash#P#p6_2.MYD Binary files differnew file mode 100644 index 00000000000..7ebcec17bb5 --- /dev/null +++ b/mysql-test/std_data/parts/t1_will_crash#P#p6_2.MYD diff --git a/mysql-test/std_data/parts/t1_will_crash#P#p6_3.MYD b/mysql-test/std_data/parts/t1_will_crash#P#p6_3.MYD Binary files differnew file mode 100644 index 00000000000..fb8f1a0f687 --- /dev/null +++ b/mysql-test/std_data/parts/t1_will_crash#P#p6_3.MYD |