Commit f9645afd authored by unknown's avatar unknown

sql_insert.cc:

  Added cast to bool to fix windows compile problem


sql/sql_insert.cc:
  Added cast to bool to fix windows compile problem
parent c78fb078
...@@ -1118,7 +1118,7 @@ int check_that_all_fields_are_given_values(THD *thd, TABLE *entry, ...@@ -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)
{ {
......
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