Fixed build break.
This commit is contained in:
parent
80649572e3
commit
9cf77b0b78
@ -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)
|
|||||||
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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user