1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

sql_cache.cc:

Cast to unsigned char


sql/sql_cache.cc:
  Cast to unsigned char
This commit is contained in:
unknown
2003-04-05 07:59:10 +05:00
parent 2d146881ae
commit 1f61635dcd

View File

@ -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->table->tmp_table != NO_TMP_TABLE ||
(tables_used->db_length == 5 && (tables_used->db_length == 5 &&
#ifdef FN_NO_CASE_SENCE #ifdef FN_NO_CASE_SENCE
my_strnncoll(system_charset_info, tables_used->db, 6, my_strnncoll(system_charset_info, (uchar*)tables_used->db, 6,
"mysql",6) == 0 (uchar*)"mysql",6) == 0
#else #else
tables_used->db[0]=='m' && tables_used->db[0]=='m' &&
tables_used->db[1]=='y' && tables_used->db[1]=='y' &&