mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
sql_insert.cc:
Added cast to bool to fix windows compile problem
This commit is contained in:
@ -1118,7 +1118,7 @@ int check_that_all_fields_are_given_values(THD *thd, TABLE *entry,
|
||||
table_list= (table_list->belong_to_view ?
|
||||
table_list->belong_to_view :
|
||||
table_list);
|
||||
view= (table_list->view);
|
||||
view= (bool)(table_list->view);
|
||||
}
|
||||
if (view)
|
||||
{
|
||||
|
Reference in New Issue
Block a user