Commit 7d7acda2 authored by unknown's avatar unknown

Fixed build break.

parent e88867f7
...@@ -862,6 +862,7 @@ bool mysql_truncate(THD *thd, TABLE_LIST *table_list, bool dont_send_ok) ...@@ -862,6 +862,7 @@ bool mysql_truncate(THD *thd, TABLE_LIST *table_list, bool dont_send_ok)
bool error; bool error;
uint closed_log_tables= 0, lock_logger= 0; uint closed_log_tables= 0, lock_logger= 0;
uint path_length; uint path_length;
uint log_type;
DBUG_ENTER("mysql_truncate"); DBUG_ENTER("mysql_truncate");
bzero((char*) &create_info,sizeof(create_info)); bzero((char*) &create_info,sizeof(create_info));
...@@ -913,7 +914,7 @@ bool mysql_truncate(THD *thd, TABLE_LIST *table_list, bool dont_send_ok) ...@@ -913,7 +914,7 @@ bool mysql_truncate(THD *thd, TABLE_LIST *table_list, bool dont_send_ok)
DBUG_RETURN(TRUE); DBUG_RETURN(TRUE);
} }
uint log_type= check_if_log_table(table_list->db_length, table_list->db, log_type= check_if_log_table(table_list->db_length, table_list->db,
table_list->table_name_length, table_list->table_name_length,
table_list->table_name, 1); table_list->table_name, 1);
/* close log tables in use */ /* close log tables in use */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment