From 3beab00b2144f8eb2c364d7f15a9948ccc00347a Mon Sep 17 00:00:00 2001 From: "reggie@fedora.(none)" <> Date: Tue, 2 Aug 2005 17:25:40 -0500 Subject: [PATCH] fix VC compile error --- sql/sql_show.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_show.cc b/sql/sql_show.cc index 7ccf475b65e..56272b4fdaf 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -3008,7 +3008,7 @@ static bool store_trigger(THD *thd, TABLE *table, const char *db, sys_var_thd_sql_mode::symbolic_mode_representation(thd, sql_mode, &sql_mode_len); - table->field[17]->store(sql_mode_str, sql_mode_len, cs); + table->field[17]->store((const char*)sql_mode_str, sql_mode_len, cs); return schema_table_store_record(thd, table); }