summaryrefslogtreecommitdiff
path: root/sql/repl_failsafe.cc
diff options
context:
space:
mode:
authorSergey Glukhov <Sergey.Glukhov@sun.com>2010-01-22 14:58:21 +0400
committerSergey Glukhov <Sergey.Glukhov@sun.com>2010-01-22 14:58:21 +0400
commit4a10f7b46c9ebbd9af89f37f64df40981459b788 (patch)
treebac6a09c84cadfa7b79089a66ed4c224e0a0e3c5 /sql/repl_failsafe.cc
parentf42a200e9e1e535dcf647237fcb4ccb65c04965d (diff)
downloadmariadb-git-4a10f7b46c9ebbd9af89f37f64df40981459b788.tar.gz
Bug#49501 Inefficient information_schema check (system collation), addon
removed wrongly introduced strlen calls sql/events.cc: removed wrongly introduced strlen calls sql/mysql_priv.h: removed wrongly introduced strlen calls sql/repl_failsafe.cc: removed wrongly introduced strlen calls sql/sql_db.cc: removed wrongly introduced strlen calls sql/sql_parse.cc: removed wrongly introduced strlen calls sql/sql_show.cc: removed wrongly introduced strlen calls
Diffstat (limited to 'sql/repl_failsafe.cc')
-rw-r--r--sql/repl_failsafe.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc
index dda84ca8a37..c6a05e93bf4 100644
--- a/sql/repl_failsafe.cc
+++ b/sql/repl_failsafe.cc
@@ -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, strlen(db)))
+ is_schema_db(db))
{
*cur_table_res = 0;
continue;