From 799299a5e50b872fb71d55e353983d6c15d782ab Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 11 Jul 2005 04:33:19 -0600 Subject: [PATCH] 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 --- 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 f5d30f69978..7774fce97c0 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= (bool)(table_list->view); } if (view) {