mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Bug#49501 Inefficient information_schema check (system collation)
added check_length optimization for I_S_NAME comparison
This commit is contained in:
@ -905,7 +905,7 @@ bool load_master_data(THD* thd)
|
||||
if (!rpl_filter->db_ok(db) ||
|
||||
!rpl_filter->db_ok_with_wild_table(db) ||
|
||||
!strcmp(db,"mysql") ||
|
||||
is_schema_db(db))
|
||||
is_schema_db(db, strlen(db)))
|
||||
{
|
||||
*cur_table_res = 0;
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user