mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
92fd658327
Issue was two fold (both in MyISAM and Aria) - optimize and repair failed if there was an old .TMM file around. As optimized and repair are protected against multiple execution, I decided to change so that we just truncate the file if it exists. - I had missed to check for error condition if creation of the temporary index file failed. This caused the strange behaviour that it looked as if optimized would have worked once.
13 lines
361 B
Text
13 lines
361 B
Text
create table t1 (a int) engine=myisam data directory='MYSQL_TMP_DIR';
|
|
insert t1 values (1);
|
|
repair table t1;
|
|
Table Op Msg_type Msg_text
|
|
test.t1 repair status OK
|
|
drop table t1;
|
|
create table t2 (a int) engine=aria data directory='MYSQL_TMP_DIR';
|
|
insert t2 values (1);
|
|
repair table t2;
|
|
Table Op Msg_type Msg_text
|
|
test.t2 repair status OK
|
|
drop table t2;
|
|
foobar5543
|