mariadb/mysql-test/t
Georgi Kodinov 8b25c0e4dc Bug #55565: debug assertion when ordering by expressions with user
variable assignments

The assert() that is firing is checking if expressions that can't be
null return a NULL when evaluated.
MAKEDATE() function can return NULL if the second argument is 
less then or equal to 0. Thus its nullability depends not only on 
the nullability of its arguments but also on their values.
Fixed by (overoptimistically) setting MAKEDATE() to be nullable 
despite the nullability of its arguments.
Test added.
Had to update one test result to reflect the metadata change.
2010-08-13 16:05:46 +03:00
..
1st.test
alias.test
almost_full.test
alter_table-big.test Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
alter_table.test
analyse.test
analyze.test
ansi.test
archive-big.test
archive.test BUG#46565 - repair of partition fail for archive engine 2010-03-25 23:57:06 +04:00
archive_bitfield.test
archive_gis.test
auto_increment.test
backup-master.sh
backup.test
bench_count_distinct.test
bigint.test Bug #45360: wrong results 2010-02-25 23:13:11 +04:00
binary.test
bool.test
bootstrap.test
bug39022.test A 5.1-only version of fix for bug #46947 "Embedded SELECT 2010-05-28 00:07:40 +04:00
bug46080-master.opt
bug46080.test fixed various pb2 test failures on windows. 2010-02-02 14:17:21 +02:00
bug46261-master.opt Bug#46261 Plugins can be installed with --skip-grant-tables 2010-04-22 15:52:00 +02:00
bug46261.test Bug#46261 Plugins can be installed with --skip-grant-tables 2010-04-22 15:52:00 +02:00
bug46760-master.opt
bug46760.test
bug47671-master.opt
bug47671.test
bulk_replace.test
cache_innodb-master.opt
cache_innodb.test
case.test
cast.test
change_user-master.opt
change_user.test
check.test
client_xml.test
comments.test
commit_1innodb.test
compare.test
compress.test
concurrent_innodb_safelog-master.opt
concurrent_innodb_safelog.test
concurrent_innodb_unsafelog-master.opt
concurrent_innodb_unsafelog.test
connect.test
consistent_snapshot.test
constraints.test
contributors.test
count_distinct.test
count_distinct2-master.opt
count_distinct2.test
count_distinct3.test
crash_commit_before-master.opt
crash_commit_before.test
create-big.test Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
create.test BUG#47418 RBR fails, failure with mixup of base/temporary/view 2010-01-16 15:44:24 +08:00
create_not_windows.test
create_select_tmp.test
csv.test merge 45482 2010-03-09 16:09:32 +01:00
csv_alter_table.test
csv_not_null.test
ctype_ascii.test
ctype_big5.test
ctype_collate.test
ctype_cp932_binlog_row.test
ctype_cp932_binlog_stm.test Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
ctype_cp1250_ch.test
ctype_cp1251.test
ctype_create.test
ctype_eucjpms.test
ctype_euckr.test
ctype_filename.test
ctype_filesystem-master.opt
ctype_filesystem.test
ctype_gb2312.test
ctype_gbk.test
ctype_gbk_binlog.test
ctype_hebrew.test
ctype_latin1.test
ctype_latin1_de-master.opt
ctype_latin1_de.test
ctype_latin2.test
ctype_latin2_ch.test
ctype_ldml-master.opt
ctype_ldml.test Bug #51976 LDML collations issue 2010-03-22 16:27:59 +04:00
ctype_many.test
ctype_mb.test
ctype_recoding.test
ctype_sjis.test
ctype_tis620.test
ctype_uca.test
ctype_ucs.test Bug#52120 create view cause Assertion failed: 0, file .\item_subselect.cc, line 817 2010-04-06 12:26:59 +05:00
ctype_ucs2_def-master.opt
ctype_ucs2_def.test
ctype_ujis.test
ctype_ujis_ucs2.test
ctype_utf8.test
date_formats-master.opt
date_formats.test
ddl_i18n_koi8r.test
ddl_i18n_utf8.test
deadlock_innodb.test
debug_sync.test
default.test
delayed.test
delete.test Bug #53450: Crash / assertion "virtual int 2010-05-14 15:36:27 +04:00
derived.test
dirty_close.test
disabled.def Patch for bug#52913: Inserted check if mysqlhotcopy script is existing as requested by review. DIsabled the test until bug#54129 will befixed. 2010-06-04 10:53:18 +02:00
distinct.test
drop.test
empty_table.test
endspace.test
error_simulation.test Fix of bad merge of test case for Bug#41660 (test case moved). 2010-06-29 10:28:17 +02:00
errors.test
events_1.test
events_2.test
events_bugs-master.opt
events_bugs.test
events_embedded.test
events_grant.test
events_logs_tests-master.opt
events_logs_tests.test
events_microsec.test
events_restart-master.opt
events_restart.test
events_scheduling.test Backport from next-mr-bugfixing of tor.didriksen@sun.com-20100106140051-3j2iuag63eltsr2e 2010-05-19 11:18:59 +02:00
events_stress.test
events_time_zone.test
events_trans.test
events_trans_notembedded.test
exampledb.test
execution_constants.test
explain.test Bug #48537: difference of index selection between rpm binary 2010-05-29 22:16:45 +04:00
fix_priv_tables.test
flush.test
flush2-master.opt
flush2.test
flush_block_commit.test
flush_block_commit_notembedded.test Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
flush_read_lock_kill-master.opt
flush_read_lock_kill.test
flush_table.test
foreign_key.test
fulltext.test BUG#51866 - crash with repair by sort and fulltext keys 2010-03-25 16:08:21 +04:00
fulltext2.test
fulltext3.test
fulltext_cache.test
fulltext_distinct.test
fulltext_left_join.test
fulltext_multi.test
fulltext_order_by.test
fulltext_plugin-master.opt
fulltext_plugin.test
fulltext_update.test
fulltext_var.test
func_compress.test
func_concat.test Bug #40625: Concat fails on DOUBLE values in a Stored 2010-04-03 00:30:22 +04:00
func_crypt.test
func_date_add.test
func_default.test
func_des_encrypt.test
func_encrypt-master.opt
func_encrypt.test
func_encrypt_nossl.test
func_equal.test
func_gconcat.test Fix for bug#52397: another crash with explain extended and group_concat 2010-03-31 17:00:56 +04:00
func_group.test
func_group_innodb.test
func_if.test
func_in.test Bug#54477: Crash on IN / CASE with NULL arguments 2010-06-22 22:53:08 +04:00
func_isnull.test Bug#53933 crash when using uncacheable subquery in the having clause of outer query 2010-06-08 10:22:40 +04:00
func_like.test Fix for bug #54575: crash when joining tables with unique set column 2010-06-20 02:02:58 +04:00
func_math.test
func_misc.test
func_op.test
func_regexp.test
func_rollback.test
func_sapdb.test
func_set.test
func_str.test Bug#52164 Assertion failed: param.sort_length, file .\filesort.cc, line 149 2010-03-26 09:49:35 +04:00
func_system.test
func_test.test
func_time.test Bug #55565: debug assertion when ordering by expressions with user 2010-08-13 16:05:46 +03:00
func_timestamp.test
gcc296.test
gis-rtree.test BUG#51877 - HANDLER interface causes invalid memory read 2010-03-25 15:49:01 +04:00
gis.test
grant.test Bug #53371: COM_FIELD_LIST can be abused to bypass table level grants. 2010-05-04 17:03:28 +03:00
grant2.test
grant3-master.opt
grant3.test
grant_cache_no_prot.test
grant_cache_ps_prot.test
grant_lowercase_fs.test
greedy_optimizer.test
group_by.test Bug #55188: GROUP BY, GROUP_CONCAT and TEXT - inconsistent results 2010-07-30 16:35:06 +03:00
group_min_max.test Bug#53859: Valgrind: opt_sum_query(TABLE_LIST*, List<Item>&, 2010-06-11 09:38:29 +02:00
group_min_max_innodb.test
handler_innodb.test
handler_myisam.test Fix for bug #54007: assert in ha_myisam::index_next, HANDLER 2010-06-09 14:45:04 +04:00
having.test Bug#54416 MAX from JOIN with HAVING returning NULL with 5.1 and Empty set 2010-07-09 14:39:47 +04:00
heap.test
heap_auto_increment.test
heap_btree.test
heap_hash.test
help.test
index_merge_innodb.test
index_merge_myisam.test
information_schema.test Bug#54422 query with = 'variables' 2010-06-25 12:01:47 +04:00
information_schema_chmod.test
information_schema_db.test
information_schema_inno.test
information_schema_part.test
init_connect-master.opt
init_connect.test
init_file-master.opt
init_file.test
innodb_ignore_builtin-master.opt
innodb_ignore_builtin.test
innodb_mysql_lock2.test A 5.1-only version of fix for bug #46947 "Embedded SELECT 2010-05-28 00:07:40 +04:00
insert.test Bug #54106 assert in Protocol::end_statement, 2010-08-09 13:39:59 +02:00
insert_notembedded.test
insert_select.test
insert_update.test
join.test Null merge. 2010-04-27 00:46:52 +04:00
join_crash.test
join_nested.test
join_outer.test test case fix 2010-06-01 11:54:06 +04:00
join_outer_innodb.test
key.test
key_cache-master.opt
key_cache.test
key_diff.test
key_primary.test
keywords.test
kill.test
limit.test
loaddata.test Bug #51876: crash/memory underrun when loading data with ucs2 2010-07-14 14:54:51 +03:00
loaddata_autocom_innodb.test
locale.test
lock.test
lock_multi.test
lock_multi_bug38499.test
lock_multi_bug38691.test
lock_sync.test A 5.1-only version of fix for bug #46947 "Embedded SELECT 2010-05-28 00:07:40 +04:00
lock_tables_lost_commit-master.opt
lock_tables_lost_commit.test
log_state-master.opt
log_state.test Bug #49756 Rows_examined is always 0 in the slow query log for 2010-05-12 13:19:12 +02:00
log_tables-big-master.opt
log_tables-big.test
log_tables-master.opt
log_tables.test
log_tables_debug.test
log_tables_upgrade.test Bug#49823: mysql_upgrade fatal error due to general_log / slow_low CSV NULL 2010-02-26 09:22:48 -03:00
long_tmpdir-master.opt
long_tmpdir-master.sh
long_tmpdir.test
lowercase_fs_off.test
lowercase_mixed_tmpdir-master.opt
lowercase_mixed_tmpdir-master.sh
lowercase_mixed_tmpdir.test
lowercase_mixed_tmpdir_innodb-master.opt
lowercase_mixed_tmpdir_innodb-master.sh
lowercase_mixed_tmpdir_innodb.test
lowercase_table-master.opt
lowercase_table.test
lowercase_table2.test
lowercase_table3-master.opt
lowercase_table3.test
lowercase_table_grant-master.opt
lowercase_table_grant.test
lowercase_table_qcache-master.opt
lowercase_table_qcache.test
lowercase_utf8-master.opt
lowercase_utf8.test
lowercase_view-master.opt
lowercase_view.test Bug #53095: SELECT column_name FROM INFORMATION_SCHEMA.STATISTICS 2010-06-25 15:59:44 +03:00
merge-big.test
merge.test Bug#51494 crash with join, explain and 'sounds like' operator 2010-03-19 10:01:02 +04:00
merge_innodb.test
metadata.test Bug#41788 mysql_fetch_field returns org_table == table by a view 2010-03-12 10:33:16 +04:00
mix2_myisam.test
mix2_myisam_ucs2.test
multi_statement-master.opt
multi_statement.test
multi_update-master.opt
multi_update.test Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
multi_update2-master.opt
multi_update2.test
multi_update_tiny_hash-master.opt
multi_update_tiny_hash.test
myisam-blob-master.opt
myisam-blob.test
myisam-system.test
myisam.test BUG#47444 - --myisam_repair_threads>1can result in all 2010-03-12 14:43:30 +04:00
myisam_crash_before_flush_keys-master.opt
myisam_crash_before_flush_keys.test
myisam_debug.test
myisampack.test
mysql-bug41486.test
mysql-bug45236.test
mysql.test
mysql_client_test-master.opt
mysql_client_test.test Bug#54041: MySQL 5.0.92 fails when tests from Connector/C suite run 2010-07-30 09:17:10 -03:00
mysql_comments.sql
mysql_comments.test
mysql_cp932.test
mysql_delimiter.sql
mysql_delimiter_19799.sql
mysql_delimiter_source.sql
mysql_protocols.test
mysql_upgrade.test Bug #53613: mysql_upgrade incorrectly revokes TRIGGER privilege on given table 2010-07-01 12:05:09 +03:00
mysqladmin.test
mysqlbinlog-cp932-master.opt
mysqlbinlog-cp932.test
mysqlbinlog-master.opt
mysqlbinlog.test Bug #34283 mysqlbinlog leaves tmpfile after termination if binlog contains load data infile 2010-08-03 18:27:45 +08:00
mysqlbinlog2.test
mysqlbinlog_base64.test
mysqlbinlog_row.test
mysqlbinlog_row_big.test
mysqlbinlog_row_innodb.test
mysqlbinlog_row_myisam.test
mysqlbinlog_row_trans.test
mysqlcheck.test
mysqldump-compat.opt
mysqldump-compat.test
mysqldump-max.test
mysqldump-no-binlog-master.opt
mysqldump-no-binlog.test
mysqldump.test BUG#52987: mysqldump fails if umask=0077 2010-05-20 17:38:01 +02:00
mysqldump_restore.test
mysqlhotcopy_archive.test Patch for bug#52913 including all review results and changes of date format. 2010-06-03 10:31:26 +02:00
mysqlhotcopy_myisam.test Patch for bug#52913 including all review results and changes of date format. 2010-06-03 10:31:26 +02:00
mysqlshow.test
mysqlslap.test
mysqltest.test Bug #55582 mtr root detection (and if-expression execution) broken 2010-08-04 10:52:45 +02:00
named_pipe-master.opt
named_pipe.test
negation_elimination.test
no-threads-master.opt
no-threads.test
no_binlog.test BUG#50780: 'show binary logs' debug assertion when binary 2010-02-07 00:12:04 +00:00
not_embedded_server-master.opt
not_embedded_server.test
not_partition.test
null.test
null_key.test
odbc.test
olap.test
openssl_1.test merge 2010-01-29 16:54:27 +02:00
order_by.test
order_fill_sortbuf-master.opt
order_fill_sortbuf.test
outfile.test
outfile_loaddata.test Bug #53088: mysqldump with -T & --default-character-set set 2010-05-07 00:41:37 +04:00
overflow.test
packet.test
parser.test
parser_bug21114_innodb.test
parser_not_embedded.test
parser_precedence.test
parser_stack.test
partition-master.opt
partition.test BUG#51868 - crash with myisam_use_mmap and partitioned 2010-03-22 16:30:27 +04:00
partition_archive.test
partition_blackhole.test
partition_bug18198.test
partition_charset.test
partition_csv.test
partition_datatype.test
partition_debug_sync.test Bug#42438: Crash ha_partition::change_table_ptr 2010-02-01 16:07:00 +01:00
partition_disabled-master.opt
partition_disabled.test
partition_error.test post push fix for bug#49161 2010-06-01 09:02:28 +02:00
partition_federated.test
partition_grant.test
partition_hash.test
partition_innodb-master.opt Bug#47343: InnoDB fails to clean-up after lock wait timeout on 2010-01-18 17:49:18 +01:00
partition_innodb.test merge 2010-03-12 11:52:38 +01:00
partition_innodb_builtin.test
partition_innodb_plugin.test Fix path to have_innodb_plugin.inc 2010-04-12 17:26:20 +03:00
partition_innodb_semi_consistent-master.opt
partition_innodb_semi_consistent.test Bug #49269 mysqltest crashes on 'reap' if query executed after 'send' 2010-01-07 11:22:45 +01:00
partition_innodb_stmt.test
partition_list.test
partition_mgm.test
partition_mgm_err.test
partition_mgm_err2.test
partition_not_embedded.test
partition_not_windows-master.opt
partition_not_windows.test
partition_open_files_limit-master.opt
partition_open_files_limit.test
partition_order.test
partition_pruning.test Bug#51830: Incorrect partition pruning on range partition 2010-03-10 12:56:05 +01:00
partition_range.test Bug#54444: Do not run main.range test for products without partitioning 2010-08-11 14:13:59 +02:00
partition_rename_longfilename.test
partition_symlink.test
partition_windows.test
perror-win.test
perror.test
plugin-master.opt
plugin.test
plugin_load-master.opt
plugin_load.test
plugin_not_embedded-master.opt Bug#51770: UNINSTALL PLUGIN requires no privileges 2010-03-09 09:16:17 -03:00
plugin_not_embedded.test Post-merge fix: replace plugin extension output. 2010-03-14 08:16:59 -03:00
preload.test
profiling.test
ps-master.opt
ps.test Bug#52124 memory leaks like a sieve in datetime, timestamp, time, date fields + warnings 2010-04-16 16:42:34 +05:00
ps_1general.test
ps_2myisam.test
ps_3innodb.test Bug#38999 valgrind warnings for update statement in function compare_record() 2010-06-09 16:07:34 +04:00
ps_4heap.test
ps_5merge.test
ps_10nestset.test
ps_11bugs.test
ps_ddl.test BUG#47418 RBR fails, failure with mixup of base/temporary/view 2010-01-16 15:44:24 +08:00
ps_ddl1.test
ps_grant.test
ps_not_windows.test
query_cache.test
query_cache_28249.test
query_cache_debug.test
query_cache_merge.test
query_cache_notembedded.test
query_cache_ps_no_prot.test
query_cache_ps_ps_prot.test
query_cache_with_views.test Bug#46615 Assertion in Query_cache::invalidate in INSERT in a VIEW of a MERGE table 2010-03-24 17:37:41 +01:00
range.test Bug#54444: Do not run main.range test for products without partitioning 2010-08-11 14:13:59 +02:00
read_many_rows_innodb.test
read_only.test
read_only_innodb.test
rename.test
renamedb.test Bug #53804: serious flaws in the alter database .. upgrade 2010-05-21 22:47:32 +04:00
repair.test
replace.test
rollback.test
round.test
row.test Bug#52124 memory leaks like a sieve in datetime, timestamp, time, date fields + warnings 2010-04-16 16:42:34 +05:00
rowid_order_innodb.test
schema.test Bug #54360 Deadlock DROP/ALTER/CREATE DATABASE with open HANDLER 2010-06-26 19:36:00 +02:00
select.test Accidentally pushed test changes (#54459) removed. 2010-06-24 21:13:08 +04:00
select_found.test
select_safe.test
shm-master.opt
shm.test
show_check-master.opt
show_check.test
skip_grants-master.opt
skip_grants.test
skip_log_bin-master.opt
skip_log_bin.test
skip_name_resolve-master.opt
skip_name_resolve.test Bug #37168: Missing variable - skip_name_resolve 2010-03-31 16:12:37 +03:00
sp-big.test
sp-bugs.test Bug#50624: crash in check_table_access during call procedure 2010-02-13 08:35:14 -02:00
sp-code.test
sp-destruct.test
sp-dynamic.test
sp-error.test
sp-fib.test
sp-prelocking.test
sp-security.test
sp-threads.test
sp-ucs2.test
sp-vars.test
sp.test
sp_gis.test
sp_notembedded.test Bug#47736 killing a select from a view when the view is processing a function, asserts 2010-02-05 13:39:46 +04:00
sp_stress_case.test
sp_sync.test merge of version change. 2010-01-15 10:51:39 +02:00
sp_trans.test
sp_trans_log.test Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
sql_mode.test
ssl-big.test
ssl.test
ssl_8k_key-master.opt Bug#53463: YaSSL patch appears to be reverted 2010-07-28 12:59:19 -03:00
ssl_8k_key.test
ssl_compress.test
ssl_connect.test
status-master.opt
status.test
status2.test
strict.test
strict_autoinc_1myisam.test
strict_autoinc_2innodb.test
strict_autoinc_3heap.test
subselect.test Bug #52711: Segfault when doing EXPLAIN SELECT with 2010-04-15 17:04:24 +03:00
subselect2.test
subselect3.test
subselect4.test Bug#54568: create view cause Assertion failed: 0, 2010-08-05 12:42:14 +02:00
subselect_debug.test
subselect_gis.test
subselect_innodb.test
subselect_notembedded.test
sum_distinct-big.test
sum_distinct.test
symlink.test BUG#40980 - Drop table can remove another MyISAM table's 2010-04-01 18:49:02 +04:00
synchronization.test
sysdate_is_now-master.opt
sysdate_is_now.test
system_mysql_db.test
system_mysql_db_fix30020-master.opt
system_mysql_db_fix30020.test
system_mysql_db_fix40123-master.opt
system_mysql_db_fix40123.test
system_mysql_db_fix50030-master.opt
system_mysql_db_fix50030.test
system_mysql_db_fix50117-master.opt
system_mysql_db_fix50117.test
system_mysql_db_refs.test
tablelock.test
temp_table-master.opt
temp_table.test
timezone-master.opt
timezone.test
timezone2.test
timezone3-master.opt
timezone3.test
timezone4-master.opt
timezone4.test
timezone_grant.test
trigger-compat.test
trigger-trans.test
trigger.test Bug#50755: Crash if stored routine def contains version comments 2010-04-01 10:15:22 -03:00
trigger_notembedded.test
truncate.test
type_binary.test
type_bit.test Bug#50591 bit(31) causes Duplicate entry '1-NULL' for key 'group_key' 2010-02-16 13:13:49 +04:00
type_bit_innodb.test
type_blob.test
type_date.test Bug#50918: Date columns treated differently in Views than in 2010-03-16 10:20:07 +01:00
type_datetime.test
type_decimal.test
type_enum.test
type_float.test
type_nchar.test
type_newdecimal-big.test
type_newdecimal.test
type_ranges.test
type_set.test
type_time.test Bug#53942 valgrind warnings with timestamp() function and incomplete datetime values 2010-05-31 13:25:11 +04:00
type_timestamp.test
type_uint.test
type_varchar.test
type_year.test Bug #49910: Behavioural change in SELECT/WHERE on YEAR(4) data type 2010-03-22 12:33:25 +04:00
udf-master.opt
udf.test Bug#52060 - test udf fails on Snow Leopard 2010-03-18 11:26:27 +01:00
udf_skip_grants-master.opt
udf_skip_grants.test
union-master.opt
union.test Addendum to Bug #49734 : fixed an unstable test case. 2010-01-06 12:24:51 +02:00
unsafe_binlog_innodb-master.opt
unsafe_binlog_innodb.test
update.test Bug #54734 assert in Diagnostics_area::set_ok_status 2010-07-19 11:03:52 +02:00
upgrade.test Bug #53804: serious flaws in the alter database .. upgrade 2010-05-21 22:47:32 +04:00
user_limits.test
user_var-binlog.test
user_var.test
varbinary.test
variables-big.test
variables-notembedded-master.opt
variables-notembedded.test
variables.test merge 2010-06-04 17:10:22 +03:00
variables_community.test renaming test variables+c to variables_community, + is problematic 2010-02-11 14:26:58 +01:00
variables_debug.test Bug#52884 mysql-test-run does not work with --debug option 2010-05-20 10:31:03 +04:00
view.test Bug#52120 create view cause Assertion failed: 0, file .\item_subselect.cc, line 817 2010-04-06 12:26:59 +05:00
view_alias.test Bug#40277: SHOW CREATE VIEW returns invalid SQL 2010-03-09 07:36:26 -03:00
view_grant.test Move test case. Embedded server does not support privilege 2010-02-12 00:54:14 -02:00
wait_timeout.test
warnings-master.opt
warnings.test
warnings_engine_disabled-master.opt
warnings_engine_disabled.test
windows.test
xa.test Merge an addition to BUG51342 5.0-bugteam -> 5.1-bugteam. 2010-03-10 19:31:22 +04:00
xml.test