From d502f28f1cf2809a5e8d1401181f3ff7eb5d4b52 Mon Sep 17 00:00:00 2001 From: "reggie@linux.site" <> 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 | 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) {