From 86b51de7cd9d3bd692d18dc2e5b5a0224bbb0695 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 8 Jul 2005 14:59:02 +0200 Subject: [PATCH] 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 --- sql/sql_insert.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 576866cb17d..2060d6ade81 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -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) {