mariadb/mysql-test/include
unknown a3e83048a3 Fix for Bug#30217: Views: changes in metadata behaviour
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().
2008-02-22 13:30:33 +03:00
..
add_anonymous_users.inc
analyze_failure_sync_with_master.test
big_test.inc
check-testcase.test
check_var_limit.inc
commit.inc A fix and a test case for Bug#12713 "Error in a stored function called from 2008-02-19 14:43:01 +03:00
common-tests.inc
concurrent.inc
ctype_common.inc Fix for bug #32726: crash with cast in order by clause and cp932 charset 2007-11-28 10:55:13 +04:00
ctype_filesort.inc
ctype_innodb_like.inc
ctype_like_escape.inc
ctype_regex.inc Bug#31081 server crash in regexp function 2007-10-05 12:15:11 +05:00
ddl_i18n.check_events.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
ddl_i18n.check_sp.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
ddl_i18n.check_triggers.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
ddl_i18n.check_views.inc Fix for Bug#30217: Views: changes in metadata behaviour 2008-02-22 13:30:33 +03:00
deadlock.inc Merge moksha.local:/Users/davi/mysql/push/bugs/25164-5.0 2007-08-27 10:19:58 -03:00
delete_anonymous_users.inc Masking out some more errors and warnings that are benign. 2008-02-04 07:15:14 +01:00
endspace.inc
federated.inc
federated_cleanup.inc
get_binlog_dump_thread_id.inc
gis_generic.inc
gis_keys.inc Bug#31909 - New gis.test creates warnings files 2007-11-01 15:03:09 +01:00
grant_cache.inc
handler.inc Bug#31397 Inconsistent drop table behavior of handler tables. 2007-11-20 15:17:53 -02:00
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 WL#3949, added skip combinations for some conditions 2007-11-21 23:44:31 +03:00
have_binlog_format_statement.inc
have_blackhole.inc
have_bug25714.inc fix bug in test case for bug#25714 2007-08-28 16:06:08 +02:00
have_case_sensitive_file_system.inc
have_community_features.inc
have_compress.inc
have_cp866.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
have_cp932.inc
have_cp1250_ch.inc
have_cp1251.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
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 WL#4077 fix for innodb test that were skipped 2007-12-20 23:57:06 +03:00
have_koi8r.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
have_latin2_ch.inc
have_local_infile.inc Changes to fix tests in pushbuild. 2008-01-31 12:17:40 +01:00
have_log_bin.inc
have_lowercase0.inc
have_lowercase1.inc
have_multi_ndb.inc Bug #34244 Test ndb_binlog_log_bin fails for 'drop table if 2008-02-03 11:48:45 +01:00
have_ndb.inc Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb 2007-07-13 15:59:06 +02:00
have_ndb_extra.inc
have_ndbapi_examples.inc
have_outfile.inc Change "exec rm" to "remove_file" 2007-06-27 18:21:20 +02:00
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 Patch for the following bugs: 2007-06-28 21:34:54 +04:00
index_merge1.inc Merge magare.gmz:/home/kgeorge/mysql/work/mysql-5.0-opt 2007-07-18 15:56:29 +03:00
index_merge2.inc
index_merge_2sweeps.inc
index_merge_ror.inc
index_merge_ror_cpk.inc
innodb_rollback_on_timeout.inc Bug#32754 - InnoDB tests do not prepare or clean up correctly 2007-11-27 09:25:45 +01:00
innodb_trx_weight.inc Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
loaddata_autocom.inc
master-slave-end.inc
master-slave-reset.inc
master-slave.inc
mix1.inc Add a test case for Bug#21704: Renaming column does not update 2008-02-15 14:14:09 +03:00
mix2.inc
mix2_ucs2.inc
mysqltest-x.inc
ndb_backup.inc
ndb_backup_print.inc
ndb_default_cluster.inc
ndb_master-slave.inc correct include file 2007-09-05 18:02:46 +02:00
ndb_not_readonly.inc corrected typo 2007-06-19 11:38:07 +02:00
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 Bug#33699: The UPDATE statement allows NULL as new value on a NOT NULL 2008-01-11 05:06:08 +04:00
ps_modify1.inc
ps_query.inc Bug #32400: Complex SELECT query returns correct result 2007-11-20 19:18:21 +02:00
ps_renew.inc
query_cache.inc
query_cache_sql_prepare.inc Fix for BUG#25843: changing default database between PREPARE and EXECUTE 2007-08-31 20:42:14 +04:00
read_many_rows.inc Merge 50 -> 51 (-opt changesets) 2007-08-01 18:59:41 -06:00
report-features.test
reset_master_and_slave.inc BUG#12092 (FOUND_ROWS() not replicated): 2007-11-06 17:51:32 +01:00
rowid_order.inc
rpl_events.inc rpl_packet.test: 2007-08-09 23:18:44 +02:00
rpl_multi_engine.inc
rpl_multi_engine2.inc BUG#21842 (Cluster fails to replicate to innodb or myisam with err 134 2007-08-26 14:31:10 +02:00
rpl_multi_engine3.inc
rpl_stmt_seq.inc
rpl_udf.inc Added ORDER BY to udf select so that results are ordered. 2007-08-29 14:36:08 -07:00
safe_set_to_maybe_ro_var.inc
select_ndb_apply_status.inc select_ndb_apply_status.inc: 2007-06-21 23:29:14 +02:00
set_binlog_format_mixed.sql WL#3949 Test should set binlog format dnamically 2007-11-23 13:29:31 +01:00
set_binlog_format_row.sql WL#3949 Test should set binlog format dnamically 2007-11-23 13:29:31 +01:00
set_binlog_format_statement.sql WL#3949 Test should set binlog format dnamically 2007-11-23 13:29:31 +01:00
show_binary_logs.inc Fix for versional test 2008-01-14 15:38:02 +08:00
show_binlog_events.inc Test changes to fix failures in pushbuild. 2008-01-29 14:43:41 +01:00
show_binlog_events2.inc Fixes to make tests pass on pushbuild. 2008-01-31 15:53:47 +01:00
show_binlog_using_logname.inc Many files: 2007-06-21 21:58:59 +02:00
show_master_logs.inc Fix for versional test 2008-01-14 15:38:02 +08:00
show_master_status.inc Fix for versional test 2008-01-14 15:38:02 +08:00
show_msg.inc
show_msg80.inc
show_slave_status.inc
show_slave_status2.inc Fix for versional test 2008-01-14 15:38:02 +08:00
sp-vars.inc
strict_autoinc.inc
system_db_struct.inc
test_fieldsize.inc BUG#22086 : Extra Slave Col: Char(5) on slave and Char(10) on master cause mysqld crash 2007-08-10 12:48:01 -04:00
test_outfile.inc
testdb_only.inc
tpcb.inc Many files: 2007-06-21 21:58:59 +02:00
tpcb_disk_data.inc Many files: 2007-06-21 21:58:59 +02:00
unsafe_binlog.inc
uses_vardir.inc
varchar.inc
wait_condition.inc Bug #29307: status.test fails with different Table_locks_immediate 2007-08-17 19:29:08 -06:00
wait_for_query_to_suceed.inc
wait_for_slave_io_to_stop.inc Fix for bug #28772: rpl_row_until fails in pushbuild 2007-06-19 16:06:11 +05:00
wait_for_slave_param.inc
wait_for_slave_sql_error.inc BUG#29046: rpl_stm_mystery22 unstable 2007-10-10 18:10:54 +02:00
wait_for_slave_sql_to_stop.inc Fix for bug #28772: rpl_row_until fails in pushbuild 2007-06-19 16:06:11 +05:00
wait_for_slave_to_start.inc Fix for bug #28772: rpl_row_until fails in pushbuild 2007-06-19 16:06:11 +05:00
wait_for_slave_to_stop.inc WL#3228 (RBR using different table defs on slave/master): 2007-07-30 13:32:15 +02:00
wait_show_pattern.inc
wait_slave_status.inc
wait_until_connected_again.inc
wait_until_rows_count.inc
windows.inc Add test for named pipes on windows 2007-09-24 12:42:44 +02:00