summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <reggie@fedora.(none)>2005-08-02 17:25:40 -0500
committerunknown <reggie@fedora.(none)>2005-08-02 17:25:40 -0500
commit5e92ebd43670edb35af22dcb4bc9115c72ed6e5a (patch)
tree40966c98e71a8f2b809037ee073e706f31c541ed /sql
parent22c89ac45125c5f33cfa7d4e75a4e84db0673125 (diff)
downloadmariadb-git-5e92ebd43670edb35af22dcb4bc9115c72ed6e5a.tar.gz
fix VC compile error
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_show.cc2
1 files changed, 1 insertions, 1 deletions
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);
}