Bug #23419 | "Got error 1 from storage engine" when altering a table into partitions | ||
---|---|---|---|
Submitted: | 18 Oct 2006 13:10 | Modified: | 18 Oct 2006 14:04 |
Reporter: | Jason Morriss | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.1.11 | OS: | Linux (debian (intel)) |
Assigned to: | CPU Architecture: | Any | |
Tags: | partition, partitioning |
[18 Oct 2006 13:10]
Jason Morriss
[18 Oct 2006 13:50]
MySQL Verification Team
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 Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.1.12-beta-debug Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> create table test ( eventid int(10) unsigned, eventtime datetime not -> null, key eventtime (eventtime) ); Query OK, 0 rows affected (0.01 sec) mysql> ALTER TABLE test PARTITION BY RANGE(TO_DAYS(eventtime)) ( PARTITION -> `p2006-10-18` VALUES LESS THAN (TO_DAYS('2006-10-19')) ); Query OK, 0 rows affected (0.02 sec) Records: 0 Duplicates: 0 Warnings: 0 mysql> select max(eventtime) from test; +----------------+ | max(eventtime) | +----------------+ | NULL | +----------------+ 1 row in set (0.01 sec) mysql>
[18 Oct 2006 14:04]
Jason Morriss
thank you!