diff options
author | unknown <mysql@home.(none)> | 2003-04-05 07:59:10 +0500 |
---|---|---|
committer | unknown <mysql@home.(none)> | 2003-04-05 07:59:10 +0500 |
commit | 1f61635dcd7d4ef1d663735c34009c57f1215e5e (patch) | |
tree | 129fb8d1b94b4e15d8da624781e15c6acef71ea6 /sql/sql_cache.cc | |
parent | 2d146881aee617f003e629061ee21a827c48485f (diff) | |
download | mariadb-git-1f61635dcd7d4ef1d663735c34009c57f1215e5e.tar.gz |
sql_cache.cc:
Cast to unsigned char
sql/sql_cache.cc:
Cast to unsigned char
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r-- | sql/sql_cache.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index 664df11a968..912cce3ec91 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -2476,8 +2476,8 @@ TABLE_COUNTER_TYPE Query_cache::is_cacheable(THD *thd, uint32 query_len, tables_used->table->tmp_table != NO_TMP_TABLE || (tables_used->db_length == 5 && #ifdef FN_NO_CASE_SENCE - my_strnncoll(system_charset_info, tables_used->db, 6, - "mysql",6) == 0 + my_strnncoll(system_charset_info, (uchar*)tables_used->db, 6, + (uchar*)"mysql",6) == 0 #else tables_used->db[0]=='m' && tables_used->db[1]=='y' && |