diff options
author | unknown <sasha@mysql.sashanet.com> | 2000-12-02 11:41:16 -0700 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2000-12-02 11:41:16 -0700 |
commit | 1b0f38b0f20033996e09a3fe1e710e3e0cf2a476 (patch) | |
tree | 6e02cad0f85b6932077b50457355876efc852445 /sql/slave.cc | |
parent | 758567104ca22931476f81dda64031606d740f68 (diff) | |
download | mariadb-git-1b0f38b0f20033996e09a3fe1e710e3e0cf2a476.tar.gz |
fix for SunPro CC
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index e2d8bcc5a8f..bea48af02af 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -135,7 +135,7 @@ int tables_ok(THD* thd, TABLE_LIST* tables) int add_table_rule(HASH* h, const char* table_spec) { - char* dot = strchr(table_spec, '.'); + const char* dot = strchr(table_spec, '.'); if(!dot) return 1; uint len = (uint)strlen(table_spec); if(!len) return 1; @@ -152,7 +152,7 @@ int add_table_rule(HASH* h, const char* table_spec) int add_wild_table_rule(DYNAMIC_ARRAY* a, const char* table_spec) { - char* dot = strchr(table_spec, '.'); + const char* dot = strchr(table_spec, '.'); if(!dot) return 1; uint len = (uint)strlen(table_spec); if(!len) return 1; |