1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

sql_insert.cc:

Added cast to bool to fix windows compile problem
This commit is contained in:
reggie@linux.site
2005-07-11 04:33:19 -06:00
parent 054e0e1712
commit d502f28f1c

View File

@@ -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= (table_list->belong_to_view ?
table_list->belong_to_view : table_list->belong_to_view :
table_list); table_list);
view= (table_list->view); view= (bool)(table_list->view);
} }
if (view) if (view)
{ {