mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
a3e83048a3
between 5.0 and 5.1. The problem was that in the patch for Bug#11986 it was decided to store original query in UTF8 encoding for the INFORMATION_SCHEMA. This approach however turned out to be quite difficult to implement properly. The main problem is to preserve the same IS-output after dump/restore. So, the fix is to rollback to the previous functionality, but also to fix it to support multi-character-set-queries properly. The idea is to generate INFORMATION_SCHEMA-query from the item-tree after parsing view declaration. The IS-query should: - be completely in UTF8; - not contain character set introducers. For more information, see WL4052. mysql-test/include/ddl_i18n.check_views.inc: Add a test case for Bug#30217. mysql-test/r/ddl_i18n_koi8r.result: Update result file. mysql-test/r/ddl_i18n_utf8.result: Update result file. mysql-test/r/information_schema.result: Update result file. mysql-test/r/information_schema_db.result: Update result file. mysql-test/r/mysqldump.result: Update result file. mysql-test/r/show_check.result: Update result file. mysql-test/t/ddl_i18n_koi8r.test: Add a test case for Bug#30217. mysql-test/t/ddl_i18n_utf8.test: Add a test case for Bug#30217. mysql-test/t/mysqldump.test: Add a test case for Bug#30217. sql/ha_ndbcluster.cc: Add a parameter to print(). sql/item.cc: 1. Add a parameter to print(). 2. Item_string::print(): - Do not append character set introducer to the text literal if we're building a query for INFORMATION_SCHEMA; - Convert text literal to UTF8 if we're building a query for INFORMATION_SCHEMA. sql/item.h: Add a parameter to print(). sql/item_cmpfunc.cc: Add a parameter to print(). sql/item_cmpfunc.h: Add a parameter to print(). sql/item_func.cc: Add a parameter to print(). sql/item_func.h: Add a parameter to print(). sql/item_geofunc.h: Add a parameter to print(). sql/item_row.cc: Add a parameter to print(). sql/item_row.h: Add a parameter to print(). sql/item_strfunc.cc: Add a parameter to print(). sql/item_strfunc.h: Add a parameter to print(). sql/item_subselect.cc: Add a parameter to print(). sql/item_subselect.h: Add a parameter to print(). sql/item_sum.cc: Add a parameter to print(). sql/item_sum.h: Add a parameter to print(). sql/item_timefunc.cc: Add a parameter to print(). sql/item_timefunc.h: Add a parameter to print(). sql/mysql_priv.h: Add a parameter to print(). sql/sp_head.cc: Add a parameter to print(). sql/sql_lex.cc: Add a parameter to print(). sql/sql_lex.h: Add a parameter to print(). sql/sql_parse.cc: Add a parameter to print(). sql/sql_select.cc: Add a parameter to print(). sql/sql_show.cc: Add a parameter to print(). sql/sql_test.cc: Add a parameter to print(). sql/sql_view.cc: Build INFORMATION_SCHEMA query from Item-tree. sql/sql_yacc.yy: Build INFORMATION_SCHEMA query from Item-tree. sql/table.h: Add a parameter to print(). |
||
---|---|---|
.. | ||
add_anonymous_users.inc | ||
analyze_failure_sync_with_master.test | ||
big_test.inc | ||
check-testcase.test | ||
check_var_limit.inc | ||
commit.inc | ||
common-tests.inc | ||
concurrent.inc | ||
ctype_common.inc | ||
ctype_filesort.inc | ||
ctype_innodb_like.inc | ||
ctype_like_escape.inc | ||
ctype_regex.inc | ||
ddl_i18n.check_events.inc | ||
ddl_i18n.check_sp.inc | ||
ddl_i18n.check_triggers.inc | ||
ddl_i18n.check_views.inc | ||
deadlock.inc | ||
delete_anonymous_users.inc | ||
endspace.inc | ||
federated.inc | ||
federated_cleanup.inc | ||
get_binlog_dump_thread_id.inc | ||
gis_generic.inc | ||
gis_keys.inc | ||
grant_cache.inc | ||
handler.inc | ||
have_archive.inc | ||
have_big5.inc | ||
have_binlog_format_mixed.inc | ||
have_binlog_format_mixed_or_row.inc | ||
have_binlog_format_mixed_or_statement.inc | ||
have_binlog_format_row.inc | ||
have_binlog_format_row_or_statement.inc | ||
have_binlog_format_statement.inc | ||
have_blackhole.inc | ||
have_bug25714.inc | ||
have_case_sensitive_file_system.inc | ||
have_community_features.inc | ||
have_compress.inc | ||
have_cp866.inc | ||
have_cp932.inc | ||
have_cp1250_ch.inc | ||
have_cp1251.inc | ||
have_crypt.inc | ||
have_csv.inc | ||
have_debug.inc | ||
have_eucjpms.inc | ||
have_euckr.inc | ||
have_example_plugin.inc | ||
have_exampledb.inc | ||
have_federated_db.inc | ||
have_gb2312.inc | ||
have_gbk.inc | ||
have_geometry.inc | ||
have_innodb.inc | ||
have_koi8r.inc | ||
have_latin2_ch.inc | ||
have_local_infile.inc | ||
have_log_bin.inc | ||
have_lowercase0.inc | ||
have_lowercase1.inc | ||
have_multi_ndb.inc | ||
have_ndb.inc | ||
have_ndb_extra.inc | ||
have_ndbapi_examples.inc | ||
have_outfile.inc | ||
have_partition.inc | ||
have_query_cache.inc | ||
have_sjis.inc | ||
have_ssl.inc | ||
have_symlink.inc | ||
have_tis620.inc | ||
have_ucs2.inc | ||
have_udf.inc | ||
have_ujis.inc | ||
have_utf8.inc | ||
index_merge1.inc | ||
index_merge2.inc | ||
index_merge_2sweeps.inc | ||
index_merge_ror.inc | ||
index_merge_ror_cpk.inc | ||
innodb_rollback_on_timeout.inc | ||
innodb_trx_weight.inc | ||
loaddata_autocom.inc | ||
master-slave-end.inc | ||
master-slave-reset.inc | ||
master-slave.inc | ||
mix1.inc | ||
mix2.inc | ||
mix2_ucs2.inc | ||
mysqltest-x.inc | ||
ndb_backup.inc | ||
ndb_backup_print.inc | ||
ndb_default_cluster.inc | ||
ndb_master-slave.inc | ||
ndb_not_readonly.inc | ||
ndb_restore_master.inc | ||
ndb_restore_slave_eoption.inc | ||
ndb_setup_slave.inc | ||
not_as_root.inc | ||
not_embedded.inc | ||
not_ndb.inc | ||
not_ndb_default.inc | ||
not_openssl.inc | ||
not_valgrind.inc | ||
not_windows.inc | ||
one_thread_per_connection.inc | ||
parser_bug21114.inc | ||
ps_conv.inc | ||
ps_create.inc | ||
ps_modify.inc | ||
ps_modify1.inc | ||
ps_query.inc | ||
ps_renew.inc | ||
query_cache.inc | ||
query_cache_sql_prepare.inc | ||
read_many_rows.inc | ||
report-features.test | ||
reset_master_and_slave.inc | ||
rowid_order.inc | ||
rpl_events.inc | ||
rpl_multi_engine.inc | ||
rpl_multi_engine2.inc | ||
rpl_multi_engine3.inc | ||
rpl_stmt_seq.inc | ||
rpl_udf.inc | ||
safe_set_to_maybe_ro_var.inc | ||
select_ndb_apply_status.inc | ||
set_binlog_format_mixed.sql | ||
set_binlog_format_row.sql | ||
set_binlog_format_statement.sql | ||
show_binary_logs.inc | ||
show_binlog_events.inc | ||
show_binlog_events2.inc | ||
show_binlog_using_logname.inc | ||
show_master_logs.inc | ||
show_master_status.inc | ||
show_msg.inc | ||
show_msg80.inc | ||
show_slave_status.inc | ||
show_slave_status2.inc | ||
sp-vars.inc | ||
strict_autoinc.inc | ||
system_db_struct.inc | ||
test_fieldsize.inc | ||
test_outfile.inc | ||
testdb_only.inc | ||
tpcb.inc | ||
tpcb_disk_data.inc | ||
unsafe_binlog.inc | ||
uses_vardir.inc | ||
varchar.inc | ||
wait_condition.inc | ||
wait_for_query_to_suceed.inc | ||
wait_for_slave_io_to_stop.inc | ||
wait_for_slave_param.inc | ||
wait_for_slave_sql_error.inc | ||
wait_for_slave_sql_to_stop.inc | ||
wait_for_slave_to_start.inc | ||
wait_for_slave_to_stop.inc | ||
wait_show_pattern.inc | ||
wait_slave_status.inc | ||
wait_until_connected_again.inc | ||
wait_until_rows_count.inc | ||
windows.inc |