1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

fixed compiler error

This commit is contained in:
bell@sanja.is.com.ua
2003-01-29 21:17:46 +02:00
parent 984fb30f2a
commit 7467708611

View File

@ -2476,7 +2476,9 @@ TABLE_COUNTER_TYPE Query_cache::is_cacheable(THD *thd, uint32 query_len,
(tables_used->db_length == 5 &&
#ifdef FN_NO_CASE_SENCE
// TODO: latin1 charset should be replaced with system charset
my_strncasecmp(my_charset_latin1,tables_used->db,"mysql",5) == 0
my_strncasecmp(&my_charset_latin1,
tables_used->db,
"mysql",5) == 0
#else
tables_used->db[0]=='m' &&
tables_used->db[1]=='y' &&