1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

WL 2826: Error handling of ALTER TABLE for partitioning

Bug fixes


sql/ha_partition.cc:
  Bug fixes
sql/sql_partition.cc:
  Bug fixes
sql/sql_table.cc:
  Bug fixes
This commit is contained in:
unknown
2006-02-20 16:22:19 -05:00
parent de717a9962
commit 5b6c6c49b8
3 changed files with 14 additions and 11 deletions

View File

@@ -435,7 +435,7 @@ read_table_log_header()
{
if (read_table_log_file_entry(0UL))
{
/* Write message into error log */
; /* Write message into error log */
}
else
successful_open= TRUE;
@@ -446,6 +446,8 @@ read_table_log_header()
uint4korr(&file_entry[TLOG_HANDLER_TYPE_POS]);
if (successful_open)
global_table_log.io_size= uint4korr(&file_entry[TLOG_IO_SIZE_POS]);
else
global_table_log.io_size= IO_SIZE;
global_table_log.first_free= NULL;
global_table_log.first_used= NULL;
global_table_log.no_entries= 0;
@@ -513,6 +515,7 @@ init_table_log()
char file_name[FN_REFLEN];
DBUG_ENTER("init_table_log");
global_table_log.io_size= IO_SIZE;
create_table_log_file_name(file_name);
VOID(my_delete(file_name, MYF(0)));
if ((global_table_log.file_id= my_create(file_name,