mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
f4ff086abe
PROBLEMS Description:- Server variable "--lower_case_tables_names" when set to "0" on windows platform which does not support case sensitive file operations leads to problems. A warning message is printed in the error log while starting the server with "--lower_case_tables_names=0". Also according to the documentation, seting "lower_case_tables_names" to "0" on a case-insensitive filesystem might lead to index corruption. Analysis:- The problem reported in the bug is:- Creating an INNODB table 'a' and executing a query, "INSERT INTO a SELECT a FROM A;" on a server started with "--lower_case_tables_names=0" and running on a case-insensitive filesystem leads innodb to flat spin. Optimizer thinks that "a" and "A" are two different tables as the variable "lower_case_table_names" is set to "0". As a result, optimizer comes up with a plan which does not need a temporary table. If the same table is used in select and insert, a temporary table is needed. This incorrect optimizer plan leads to infinite insertions. Fix:- If the server is started with "--lower_case_tables_names" set to 0 on a case-insensitive filesystem, an error, "The server option 'lower_case_table_names'is configured to use case sensitive table names but the data directory is on a case-insensitive file system which is an unsupported combination. Please consider either using a case sensitive file system for your data directory or switching to a case-insensitive table name mode.", is printed in the server error log and the server exits. |
||
---|---|---|
.. | ||
disabled.def | ||
jp_alter_sjis.test | ||
jp_alter_ucs2.test | ||
jp_alter_ujis.test | ||
jp_alter_utf8.test | ||
jp_charlength_sjis.test | ||
jp_charlength_ucs2.test | ||
jp_charlength_ujis.test | ||
jp_charlength_utf8.test | ||
jp_charset_sjis.test | ||
jp_charset_ucs2.test | ||
jp_charset_ujis.test | ||
jp_charset_utf8.test | ||
jp_convert_sjis.test | ||
jp_convert_ucs2.test | ||
jp_convert_ujis.test | ||
jp_convert_utf8.test | ||
jp_create_db_sjis.test | ||
jp_create_db_ucs2.test | ||
jp_create_db_ujis.test | ||
jp_create_db_utf8.test | ||
jp_create_tbl_sjis.test | ||
jp_create_tbl_ucs2.test | ||
jp_create_tbl_ujis.test | ||
jp_create_tbl_utf8.test | ||
jp_enum_sjis.test | ||
jp_enum_ucs2.test | ||
jp_enum_ujis.test | ||
jp_enum_utf8.test | ||
jp_insert_sjis.test | ||
jp_insert_ucs2.test | ||
jp_insert_ujis.test | ||
jp_insert_utf8.test | ||
jp_instr_sjis.test | ||
jp_instr_ucs2.test | ||
jp_instr_ujis.test | ||
jp_instr_utf8.test | ||
jp_join_sjis.test | ||
jp_join_ucs2.test | ||
jp_join_ujis.test | ||
jp_join_utf8.test | ||
jp_left_sjis.test | ||
jp_left_ucs2.test | ||
jp_left_ujis.test | ||
jp_left_utf8.test | ||
jp_length_sjis.test | ||
jp_length_ucs2.test | ||
jp_length_ujis.test | ||
jp_length_utf8.test | ||
jp_like_sjis.test | ||
jp_like_ucs2.test | ||
jp_like_ujis.test | ||
jp_like_utf8.test | ||
jp_locate_sjis.test | ||
jp_locate_ucs2.test | ||
jp_locate_ujis.test | ||
jp_locate_utf8.test | ||
jp_lpad_sjis.test | ||
jp_lpad_ucs2.test | ||
jp_lpad_ujis.test | ||
jp_lpad_utf8.test | ||
jp_ltrim_sjis.test | ||
jp_ltrim_ucs2.test | ||
jp_ltrim_ujis.test | ||
jp_ltrim_utf8.test | ||
jp_ps_sjis.test | ||
jp_ps_ujis.test | ||
jp_replace_sjis.test | ||
jp_replace_ucs2.test | ||
jp_replace_ujis.test | ||
jp_replace_utf8.test | ||
jp_reverse_sjis.test | ||
jp_reverse_ucs2.test | ||
jp_reverse_ujis.test | ||
jp_reverse_utf8.test | ||
jp_right_sjis.test | ||
jp_right_ucs2.test | ||
jp_right_ujis.test | ||
jp_right_utf8.test | ||
jp_rpad_sjis.test | ||
jp_rpad_ucs2.test | ||
jp_rpad_ujis.test | ||
jp_rpad_utf8.test | ||
jp_rtrim_sjis.test | ||
jp_rtrim_ucs2.test | ||
jp_rtrim_ujis.test | ||
jp_rtrim_utf8.test | ||
jp_select_sjis.test | ||
jp_select_ucs2.test | ||
jp_select_ujis.test | ||
jp_select_utf8.test | ||
jp_subquery_sjis.test | ||
jp_subquery_ucs2.test | ||
jp_subquery_ujis.test | ||
jp_subquery_utf8.test | ||
jp_substring_sjis.test | ||
jp_substring_ucs2.test | ||
jp_substring_ujis.test | ||
jp_substring_utf8.test | ||
jp_trim_sjis.test | ||
jp_trim_ucs2.test | ||
jp_trim_ujis.test | ||
jp_trim_utf8.test | ||
jp_union_ujis.test | ||
jp_update_sjis.test | ||
jp_update_ucs2.test | ||
jp_update_ujis.test | ||
jp_update_utf8.test | ||
jp_where_sjis.test | ||
jp_where_ucs2.test | ||
jp_where_ujis.test | ||
jp_where_utf8.test |