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
This commit is contained in:
unknown 2005-07-11 04:33:19 -06:00
parent 83772bc576
commit 799299a5e5

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