mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Bug#49501 Inefficient information_schema check (system collation), addon
removed wrongly introduced strlen calls
This commit is contained in:
@@ -1426,6 +1426,12 @@ inline bool is_schema_db(const char *name, size_t len)
|
||||
INFORMATION_SCHEMA_NAME.str, name));
|
||||
}
|
||||
|
||||
inline bool is_schema_db(const char *name)
|
||||
{
|
||||
return !my_strcasecmp(system_charset_info,
|
||||
INFORMATION_SCHEMA_NAME.str, name);
|
||||
}
|
||||
|
||||
/* sql_prepare.cc */
|
||||
|
||||
void mysqld_stmt_prepare(THD *thd, const char *packet, uint packet_length);
|
||||
|
||||
Reference in New Issue
Block a user