Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.1(EOL)
-
None
-
None
Description
Data comes from Sandy Bridge system running sysbench OLTP RO in 1 thread against 1 table.
Call graphs:
- 0.19% mysqld mysqld
|
- check_table_name(char const*, unsigned long, bool)
|
+ 83.81% st_select_lex::add_table_to_list(THD*, Table_ident*, st_mysql_lex_string*, unsigned long, thr_lock_type, enum_mdl_type, List<Index_hint>*, List<String>*, st_mysql_lex_string*)
|
+ 16.19% MYSQLparse(THD*)
|
There're a couple of problems with check_table_name():
- use_mb(system_charset_info) condition should be moved out of the loop
- check_for_path_chars condition should be moved out of the loop