diff options
author | unknown <gshchepa/uchum@host.loc> | 2008-03-27 15:54:45 +0400 |
---|---|---|
committer | unknown <gshchepa/uchum@host.loc> | 2008-03-27 15:54:45 +0400 |
commit | a451de2f5949cfb1109be2c8608c5aed65a074de (patch) | |
tree | 26a1228ee041cd494460792a2e5f3bff5c0f0b7b /mysql-test/t/information_schema.test | |
parent | 321f392f629479eedf63062f85283e911ce05d7e (diff) | |
parent | b90296c70ac526be823d76ffdb2ef2e8cac87179 (diff) | |
download | mariadb-git-a451de2f5949cfb1109be2c8608c5aed65a074de.tar.gz |
Merge host.loc:/home/uchum/work/mysql-5.1
into host.loc:/home/uchum/work/5.1-opt
client/mysqltest.c:
Auto merged
mysql-test/r/information_schema.result:
Auto merged
mysql-test/t/information_schema.test:
Auto merged
sql/item.cc:
Auto merged
sql/log.cc:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/sql_acl.cc:
Auto merged
sql/sql_base.cc:
Auto merged
sql/sql_delete.cc:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_prepare.cc:
Auto merged
sql/sql_show.cc:
Auto merged
sql/sql_table.cc:
Auto merged
sql/sql_update.cc:
Auto merged
Diffstat (limited to 'mysql-test/t/information_schema.test')
-rw-r--r-- | mysql-test/t/information_schema.test | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/mysql-test/t/information_schema.test b/mysql-test/t/information_schema.test index fe1c1f769cf..bb9cb127d07 100644 --- a/mysql-test/t/information_schema.test +++ b/mysql-test/t/information_schema.test @@ -1090,8 +1090,6 @@ select column_default from information_schema.columns where table_name= 't1'; show columns from t1; drop table t1; ---echo End of 5.0 tests. - # # Bug#30079 A check for "hidden" I_S tables is flawed # @@ -1099,6 +1097,32 @@ drop table t1; show fields from information_schema.table_names; --error 1109 show keys from information_schema.table_names; + +# +# Bug#34529: Crash on complex Falcon I_S select after ALTER .. PARTITION BY +# +USE information_schema; +SET max_heap_table_size = 16384; + +CREATE TABLE test.t1( a INT ); + +# What we need to create here is a bit of a corner case: +# We need a star query with information_schema tables, where the first +# branch of the star join produces zero rows, so that reading of the +# second branch never happens. At the same time we have to make sure +# that data for at least the last table is swapped from MEMORY/HEAP to +# MyISAM. This and only this triggers the bug. +SELECT * +FROM tables ta +JOIN collations co ON ( co.collation_name = ta.table_catalog ) +JOIN character_sets cs ON ( cs.character_set_name = ta.table_catalog ); + +DROP TABLE test.t1; +SET max_heap_table_size = DEFAULT; +USE test; + +--echo End of 5.0 tests. + # # Show engines # |