Commit 86b51de7 authored by unknown's avatar unknown

sql_insert.cc:

  Use the test() macro instead of assigning a pointer to a bool


sql/sql_insert.cc:
  Use the test() macro instead of assigning a pointer to a bool
parent c31a78c8
......@@ -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= test(table_list->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