Bug #21210 | Altering the number of subpartitions to one caused the server to crash | ||
---|---|---|---|
Submitted: | 21 Jul 2006 9:25 | Modified: | 18 Oct 2006 10:08 |
Reporter: | Horst Hunger | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Partitions | Severity: | S1 (Critical) |
Version: | 5.1.12-BK | OS: | Linux (Linux, Suse 10.1) |
Assigned to: | Mikael Ronström | CPU Architecture: | Any |
[21 Jul 2006 9:25]
Horst Hunger
[21 Jul 2006 14:44]
Valeriy Kravchuk
Thank you for a bug report. Please, upload file /data0/mysql/mysql-test-extra-5.1/mysql-test/suite/system_3/data/tb1.txt mentioned in your test case, or explain, what content should it have.
[30 Aug 2006 11:00]
Valeriy Kravchuk
Verified just as described with latest 5.1.12-BK (ChangeSet@1.2286, 2006-08-29 16:39:09+03:00) on Linux: mysql> load data infile '/tmp/tb1.txt' into table tb5_eng1 (f1,f2,f3,f4); Query OK, 5000 rows affected (0.40 sec) Records: 5000 Deleted: 0 Skipped: 0 Warnings: 0 mysql> ALTER TABLE tb5_eng1 REORGANIZE PARTITION part1,part2,part3,part4 INTO -> (PARTITION part1 VALUES in(1,2,3,4) DATA DIRECTORY = -> '/tmp/tmpdata' INDEX DIRECTORY = '/tmp/tmpindex' -> (SUBPARTITION subpart11), -> PARTITION part2 VALUES in (5,6,7,8) DATA DIRECTORY = -> '/tmp/tmpdata' INDEX DIRECTORY = '/tmp/tmpindex' -> (SUBPARTITION subpart21), -> PARTITION part3 VALUES in (9,10,11,12) DATA DIRECTORY = -> '/tmp/tmpdata' INDEX DIRECTORY = '/tmp/tmpindex' -> (SUBPARTITION subpart31), -> PARTITION part4 VALUES in (13,14,15,16) DATA DIRECTORY = -> '/tmp/tmpdata' INDEX DIRECTORY = '/tmp/tmpindex' -> (SUBPARTITION subpart41)); ERROR 2013 (HY000): Lost connection to MySQL server during query mysql> Number of processes running now: 0 060829 20:00:40 mysqld restarted
[11 Sep 2006 12:04]
Valeriy Kravchuk
Bug #21177 was marked as a duplicate of this one.
[12 Sep 2006 11:47]
Valeriy Kravchuk
Bug #20934 was marked as a (likely) duplicate of this one.
[19 Sep 2006 12:14]
Mikael Ronström
patch that fixes the bug
Attachment: bug21210_new.patch (application/octet-stream, text), 15.14 KiB.
[18 Oct 2006 10:08]
Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at http://dev.mysql.com/doc/en/installing-source.html Documented fix in 5.1.12 changelog.