diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2010-01-22 14:58:21 +0400 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2010-01-22 14:58:21 +0400 |
commit | 4a10f7b46c9ebbd9af89f37f64df40981459b788 (patch) | |
tree | bac6a09c84cadfa7b79089a66ed4c224e0a0e3c5 /sql/sql_show.cc | |
parent | f42a200e9e1e535dcf647237fcb4ccb65c04965d (diff) | |
download | mariadb-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/sql_show.cc')
-rw-r--r-- | sql/sql_show.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc index d4da29085b5..5ec40d4893c 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -826,7 +826,7 @@ bool mysqld_show_create_db(THD *thd, char *dbname, DBUG_RETURN(TRUE); } #endif - if (is_schema_db(dbname, strlen(dbname))) + if (is_schema_db(dbname)) { dbname= INFORMATION_SCHEMA_NAME.str; create.default_table_charset= system_charset_info; |