Commit 8295cec7 authored by kent@mysql.com's avatar kent@mysql.com

sql_insert.cc:

  Use the test() macro instead of assigning a pointer to a bool
parent 48e10134
...@@ -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= test(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