mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug#8306 - TRUNCATE leads to index corruption
Added a check, if the table, which we are going to create, is open. This can happen if a MERGE mapped table is TRUNCATEd. myisam/mi_open.c: Bug#8306 - TRUNCATE leads to index corruption Made test_if_reopen() globally available. myisam/myisamdef.h: Bug#8306 - TRUNCATE leads to index corruption Declared test_if_reopen() as globally available. mysql-test/r/myisam.result: Bug#8306 - TRUNCATE leads to index corruption The test result. mysql-test/t/myisam.test: Bug#8306 - TRUNCATE leads to index corruption The test case.
This commit is contained in:
@ -50,7 +50,7 @@ if (pos > end_pos) \
|
||||
** In MySQL the server will handle version issues.
|
||||
******************************************************************************/
|
||||
|
||||
static MI_INFO *test_if_reopen(char *filename)
|
||||
MI_INFO *test_if_reopen(char *filename)
|
||||
{
|
||||
LIST *pos;
|
||||
|
||||
|
Reference in New Issue
Block a user