Bug #17310 | Partitions: archive tables cause errors | ||
---|---|---|---|
Submitted: | 10 Feb 2006 19:02 | Modified: | 20 Jun 2006 11:41 |
Reporter: | Peter Gulutzan | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Archive storage engine | Severity: | S3 (Non-critical) |
Version: | 5.1.7-beta-debug | OS: | Linux (SUSE 10.0) |
Assigned to: | Mikael Ronström | CPU Architecture: | Any |
[10 Feb 2006 19:02]
Peter Gulutzan
[10 Feb 2006 23:09]
MySQL Verification Team
Thank you for the bug report.
[14 Feb 2006 18:19]
Brian Aker
May be a bad error since Archive does have indexes, but only on one key.
[29 May 2006 12:26]
Mikael Ronström
The bug on drop database was due to that the error on index creation was detected in the ha_archive::create method. This method had already created the file when detecting the error and didn't clean up properly in the error cases. There is a simple method of removing this problem by moving the checks before the file creation. There are however more file creation errors that have the same problem so in essence the method should be looked into. The unclear error message comes from that archive now supports one special key and then the error isn't detected until you try to create the new table, this problem is the same if you do CREATE TABLE, ALTER TABLE and so forth using archive tables even if there is no partitioning. I made a patch for the drop database error from create table with index error + drop database
[1 Jun 2006 12:13]
Mikael Ronström
This will appear in 5.1.12
[2 Jun 2006 13:44]
Mikael Ronström
Independent of whether we support Archive for partitioning we can still fix bugs, furthermore this was a bug in the archive engine not related to partitioning.
[2 Jun 2006 14:39]
Reggie Burnett
Mikael, Correct but Jon still has to get the documentation correct regarding support for archive with partitioning. That's all he was asking about.
[2 Jun 2006 18:46]
Jon Stephens
If partitioning isn't germane to this bug, please move it into a more appropriate queue. Thanks!
[20 Jun 2006 11:41]
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 bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html Additional info: Documented bugfix in 5.1.12 changelog. Closed.