mariadb/mysql-test/r
Martin Hansson 03db0de64f Bug#59173: Failure to handle DATE(TIME) values where Year, Month or Day is
ZERO
      
When dates are represented internally as strings, i.e. when a string constant
is compared to a date value, both values are converted to long integers,
ostensibly for fast comparisons. DATE typed integer values are converted to
DATETIME by multiplying by 1,000,000 (each digit pair representing hour,
minute and second, respectively). But the mechanism did not distuinguish
cached INTEGER values, already in correct format, from newly converted
strings.

Fixed by marking the INTEGER cache as being of DATETIME format.
2011-01-19 15:09:32 +01:00
..
1st.result
alias.result
almost_full.result
alter_table-big.result Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
alter_table.result
analyse.result
analyze.result
ansi.result
archive-big.result
archive.result
archive_bitfield.result
archive_gis.result
auto_increment.result Bug #50619 assert in handler::update_auto_increment 2011-01-04 14:36:37 +01:00
backup.result
bench_count_distinct.result
big_test.require
bigint.result
binary.result
binlog_tx_isolation.result
bool.result
bootstrap.result
bug39022.result A 5.1-only version of fix for bug #46947 "Embedded SELECT 2010-05-28 00:07:40 +04:00
bug46080.result
bug46261.result Bug#46261 Plugins can be installed with --skip-grant-tables 2010-04-22 15:52:00 +02:00
bug46760.result
bug47671.result
bulk_replace.result
cache_innodb.result
case.result
case_insensitive_file_system.require
case_insensitive_fs.require
case_sensitive_file_system.require
cast.result
change_user.result Assorted post-merge fixes, clean-up, integration, compat with 5.6. 2010-11-25 03:11:05 +00:00
check.result
check_var_limit.require
client_xml.result Bug#13618 : mysqldump --xml omits comment on table field 2011-01-14 19:50:34 +05:30
comments.result
commit_1innodb.result Bug#54453: Failing assertion: trx->active_trans when renaming a 2010-07-20 14:36:15 -03:00
compare.result
compress.result
concurrent_innodb_safelog.result
concurrent_innodb_unsafelog.result
connect.result Bug #49752: 2469.126.2 unintentionally breaks authentication against 2010-11-11 07:34:14 +00:00
consistent_snapshot.result
constraints.result
contributors.result
count_distinct.result
count_distinct2.result
count_distinct3.result
crash_commit_before.result
create-big.result Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
create.result
create_not_windows.result
create_select_tmp.result
csv.result
csv_alter_table.result
csv_not_null.result
ctype_ascii.result
ctype_big5.result
ctype_collate.result
ctype_cp932_binlog_row.result
ctype_cp932_binlog_stm.result Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
ctype_cp1250_ch.result
ctype_cp1251.result Bug#56639 Character Euro (0x88) not converted from cp1251 to utf8 2010-11-26 16:58:54 +03:00
ctype_create.result
ctype_eucjpms.result
ctype_euckr.result
ctype_filename.result
ctype_filesystem.result
ctype_gb2312.result
ctype_gbk.result
ctype_gbk_binlog.result
ctype_hebrew.result
ctype_latin1.result Bug#58022 ... like ... escape export_set ( ... ) crashes when export_set returns warnings 2010-11-18 11:53:08 +03:00
ctype_latin1_de.result
ctype_latin2.result
ctype_latin2_ch.result
ctype_ldml.result
ctype_many.result Bug#58371 Assertion failed: !s.uses_buffer_owned_by(this) with format string function 2011-01-17 15:11:33 +03:00
ctype_mb.result
ctype_recoding.result
ctype_sjis.result
ctype_tis620.result
ctype_uca.result
ctype_ucs.result 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.result
ctype_ujis.result Bug#57257 Replace(ExtractValue(...)) causes MySQL crash 2010-11-11 13:25:23 +03:00
ctype_ujis_ucs2.result
ctype_utf8.result Fix for bug#57272: crash in rpad() when using utf8 2010-10-12 23:25:40 +04:00
date_formats.result Bug#58005 utf8 + get_format causes failed assertion: !str || str != Ptr' 2010-11-12 13:12:15 +03:00
ddl_i18n_koi8r.result
ddl_i18n_utf8.result
deadlock_innodb.result
debug_sync.result
default.result
delayed.result
delete.result Bug #53034: Multiple-table DELETE statements not accepting 2010-08-31 02:16:38 +04:00
derived.result Fixed following problems: 2010-12-14 12:33:03 +03:00
dirty_close.result
disabled_partition.require
distinct.result
drop.result
empty_table.result
endspace.result
error_simulation.result Bug#41660: Sort-index_merge for non-first join table may 2010-06-24 15:21:23 +02:00
errors.result
events_1.result
events_2.result
events_bugs.result
events_embedded.result
events_grant.result
events_logs_tests.result
events_microsec.result
events_restart.result
events_scheduling.result Backport from next-mr-bugfixing of tor.didriksen@sun.com-20100106140051-3j2iuag63eltsr2e 2010-05-19 11:18:59 +02:00
events_stress.result
events_time_zone.result
events_trans.result
events_trans_notembedded.result
exampledb.result
execution_constants.result
explain.result Bug#56814 Explain + subselect + fulltext crashes server 2010-10-18 16:12:27 +04:00
fix_priv_tables.result
flush.result
flush2.result
flush_block_commit.result
flush_block_commit_notembedded.result Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
flush_read_lock_kill.result
flush_table.result
foreign_key.result
fulltext.result Bug#54484 explain + prepared statement: crash and Got error -1 from storage engine 2010-10-18 14:47:26 +04:00
fulltext2.result
fulltext3.result
fulltext_cache.result
fulltext_distinct.result
fulltext_left_join.result
fulltext_multi.result
fulltext_order_by.result
fulltext_plugin.result
fulltext_update.result
fulltext_var.result
func_compress.result
func_concat.result Bug #40625: Concat fails on DOUBLE values in a Stored 2010-04-03 00:30:22 +04:00
func_crypt.result
func_date_add.result
func_default.result
func_des_encrypt.result
func_encrypt.result
func_encrypt_nossl.result
func_equal.result
func_gconcat.result Bug#58396 group_concat and explain extended are still crashy 2010-12-13 13:39:26 +03:00
func_group.result test case fix 2010-12-21 15:30:07 +03:00
func_group_innodb.result
func_if.result
func_in.result Bug#54477: Crash on IN / CASE with NULL arguments 2010-06-22 22:53:08 +04:00
func_isnull.result Bug#53933 crash when using uncacheable subquery in the having clause of outer query 2010-06-08 10:22:40 +04:00
func_like.result Bug#59149 valgrind warnings with "like .. escape .." function 2011-01-17 12:30:22 +03:00
func_math.result Bug#57810 case/when/then : Assertion failed: length || !scale 2010-12-24 14:05:04 +03:00
func_misc.result Fix for bug#57283: inet_ntoa() crashes 2010-10-12 23:28:03 +04:00
func_op.result
func_regexp.result
func_rollback.result
func_sapdb.result Bug #55565: debug assertion when ordering by expressions with user 2010-08-13 16:05:46 +03:00
func_set.result
func_str.result Bug#58165: "my_empty_string" gets modified and causes LOAD DATA to fail and 2011-01-13 08:57:15 +01:00
func_system.result
func_test.result
func_time.result Bug #52160: crash and inconsistent results when grouping 2010-10-31 19:04:38 +03:00
func_timestamp.result
gcc296.result
gis-rtree.result
gis.result Bug #57321 crashes and valgrind errors from spatial types 2011-01-12 17:02:41 +04:00
grant.result Fixed bug#36742 - GRANT hostname case handling inconsistent. 2010-10-13 12:28:58 +07:00
grant2.result
grant3.result Follow up for bug#36742. Changed test case for bug#19828 2010-10-18 21:03:53 +07:00
grant_cache_no_prot.result
grant_cache_ps_prot.result
grant_lowercase_fs.result
greedy_optimizer.result
group_by.result Bug#57688 Assertion `!table || (!table->write_set || bitmap_is_set(table->write_set, field 2010-10-29 12:23:06 +04:00
group_min_max.result Bug#53859: Valgrind: opt_sum_query(TABLE_LIST*, List<Item>&, 2010-06-11 09:38:29 +02:00
group_min_max_innodb.result
handler_innodb.result
handler_myisam.result Fix for bug #54007: assert in ha_myisam::index_next, HANDLER 2010-06-09 14:45:04 +04:00
have_big5.require
have_binlog_format_mixed.require
have_binlog_format_row.require
have_binlog_format_statement.require
have_community_features.require
have_compress.require
have_cp866.require
have_cp932.require
have_cp1250_ch.require
have_cp1251.require
have_crypt.require
have_debug.require
have_debug_sync.require
have_dynamic_loading.require
have_eucjpms.require
have_euckr.require
have_example_plugin.require
have_gb2312.require
have_gbk.require
have_geometry.require
have_koi8r.require
have_latin2_ch.require
have_local_infile.require
have_log_bin.require
have_met_timezone.require
have_moscow_leap_timezone.require
have_mysql_upgrade.result
have_ndb_extra.require
have_ndbapi_examples.require
have_outfile.require
have_partition.require
have_perror.require
have_query_cache.require
have_simple_parser.require
have_sjis.require
have_ssl.require
have_symlink.require
have_tis620.require
have_ucs2.require
have_udf_example.require
have_ujis.require
have_utf8.require
having.result Bug#54416 MAX from JOIN with HAVING returning NULL with 5.1 and Empty set 2010-07-09 14:39:47 +04:00
heap.result
heap_auto_increment.result
heap_btree.result
heap_hash.result
help.result
index_merge_innodb.result Bug#56423: Different count with SELECT and CREATE SELECT queries 2010-10-07 10:13:11 +02:00
index_merge_myisam.result Bug#56423: Different count with SELECT and CREATE SELECT queries 2010-10-07 10:13:11 +02:00
information_schema.result Bug#54422 query with = 'variables' 2010-06-25 12:01:47 +04:00
information_schema_chmod.result
information_schema_db.result
information_schema_inno.result
information_schema_part.result
init_connect.result
init_file.result BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
innodb_ignore_builtin.result
innodb_mysql_lock2.result A 5.1-only version of fix for bug #46947 "Embedded SELECT 2010-05-28 00:07:40 +04:00
insert.result Bug #54106 assert in Protocol::end_statement, 2010-08-09 13:39:59 +02:00
insert_notembedded.result
insert_select.result
insert_update.result
is_debug_build.require
is_embedded.require
isam.result
join.result Post fix following fix for bug55531: Disabling testcase for 2010-09-07 15:43:00 +02:00
join_crash.result
join_nested.result
join_outer.result Bug#57688 Assertion `!table || (!table->write_set || bitmap_is_set(table->write_set, field 2010-10-29 12:23:06 +04:00
join_outer_innodb.result
key.result
key_cache.result Assorted post-merge fixes, clean-up, integration, compat with 5.6. 2010-11-25 03:11:05 +00:00
key_diff.result
key_primary.result
keywords.result
kill.result
limit.result
loaddata.result Bug #51876: crash/memory underrun when loading data with ucs2 2010-07-14 14:54:51 +03:00
loaddata_autocom_innodb.result
locale.result
lock.result
lock_multi.result
lock_multi_bug38499.result
lock_multi_bug38691.result
lock_sync.result A 5.1-only version of fix for bug #46947 "Embedded SELECT 2010-05-28 00:07:40 +04:00
lock_tables_lost_commit.result
log_state.result Bug #49756 Rows_examined is always 0 in the slow query log for 2010-05-12 13:19:12 +02:00
log_tables-big.result
log_tables.result A fix and a test case for Bug#47924 -main.log_tables times out 2010-11-07 23:42:54 +06:00
log_tables_debug.result
log_tables_upgrade.result
long_tmpdir.result
lowercase0.require
lowercase1.require
lowercase2.require
lowercase_fs_off.result
lowercase_mixed_tmpdir.result
lowercase_mixed_tmpdir_innodb.result
lowercase_table.result
lowercase_table2.result Addendum #4 to bug #53095 2010-07-21 18:05:57 +03:00
lowercase_table3.result
lowercase_table4.result Bug #46941 crash with lower_case_table_names=2 and foreign key 2010-10-19 12:27:09 +02:00
lowercase_table_grant.result
lowercase_table_qcache.result
lowercase_utf8.result
lowercase_view.result Bug #53095: SELECT column_name FROM INFORMATION_SCHEMA.STATISTICS 2010-06-25 15:59:44 +03:00
merge-big.result
merge.result Bug#35333, "If Federated table can't connect to remote host, can't retrieve 2010-11-29 22:46:43 -06:00
merge_innodb.result
metadata.result
mix2_myisam.result
mix2_myisam_ucs2.result
multi_statement.result
multi_update.result Fixed following problems: 2010-12-14 12:33:03 +03:00
multi_update2.result
multi_update_tiny_hash.result
myisam-blob.result
myisam-system.result
myisam.result
myisam_crash_before_flush_keys.result
myisam_debug.result
myisampack.result
mysql-bug41486.result
mysql-bug45236.result
mysql.result Additional fix for bug#54899 2010-12-01 12:25:31 +05:30
mysql_client_test.result Bug#54041: MySQL 5.0.92 fails when tests from Connector/C suite run 2010-07-30 09:17:10 -03:00
mysql_comments.result
mysql_cp932.result
mysql_protocols.result
mysql_upgrade.result Bug #53613: mysql_upgrade incorrectly revokes TRIGGER privilege on given table 2010-07-01 12:05:09 +03:00
mysqladmin.result Bug#58221 : mysqladmin --sleep=x --count=x keeps looping 2011-01-16 02:04:08 +05:30
mysqlbinlog-cp932.result
mysqlbinlog.result Bug #50914 mysqlbinlog not handling drop of current default database 2010-12-29 11:52:57 +08:00
mysqlbinlog2.result
mysqlbinlog_base64.result
mysqlbinlog_row.result
mysqlbinlog_row_big.result BUG#59177: mysqlbinlog_row_big fails on Windows with out of memory 2011-01-12 19:32:45 +00:00
mysqlbinlog_row_innodb.result
mysqlbinlog_row_myisam.result
mysqlbinlog_row_trans.result
mysqlcheck.result
mysqldump-compat.result
mysqldump-max.result
mysqldump-no-binlog.result
mysqldump.result Bug#13618 : mysqldump --xml omits comment on table field 2011-01-14 19:50:34 +05:30
mysqldump_restore.result BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
mysqlhotcopy_archive.result Patch for bug#52913 including all review results and changes of date format. 2010-06-03 10:31:26 +02:00
mysqlhotcopy_myisam.result Patch for bug#52913 including all review results and changes of date format. 2010-06-03 10:31:26 +02:00
mysqlshow.result
mysqlslap.result
mysqltest.result Bug #59002 Please make mtr print correct file and line number when tests fail 2011-01-11 15:00:21 +01:00
named_pipe.result
ndb_default_cluster.require
negation_elimination.result
no-threads.result
no_binlog.result
not_embedded.require
not_embedded_server.result
not_ndb.require
not_ndb_default.require
not_openssl.require
not_partition.require
not_partition.result
not_true.require
not_valgrind.require
not_windows.require
null.result
null_key.result
odbc.result
olap.result
one_thread_per_connection.require
openssl_1.result
order_by.result Bug #50394: Regression in EXPLAIN with index scan, LIMIT, GROUP BY and 2010-09-13 13:33:19 +02:00
order_fill_sortbuf.result
outfile.result
outfile_loaddata.result Bug #53088: mysqldump with -T & --default-character-set set 2010-05-07 00:41:37 +04:00
overflow.result
packet.result
parser.result
parser_bug21114_innodb.result
parser_not_embedded.result
parser_precedence.result
parser_stack.result
partition.result Bug#54483: valgrind errors when making warnings for multiline inserts into partition 2010-12-22 10:50:36 +01:00
partition_archive.result
partition_binlog_stmt.result Bug#51851: Server with SBR locks mutex twice on 2010-10-01 13:39:04 +02:00
partition_blackhole.result
partition_bug18198.result
partition_charset.result
partition_csv.result
partition_datatype.result
partition_debug_sync.result
partition_disabled.result
partition_error.result Bug#54483: valgrind errors when making warnings for multiline inserts into partition 2010-12-22 10:50:36 +01:00
partition_federated.result
partition_grant.result
partition_hash.result Bug#53806: Wrong estimates for range query in partitioned MyISAM table 2010-08-27 10:43:51 +02:00
partition_innodb.result merging. 2010-10-15 20:13:35 +05:00
partition_innodb_builtin.result
partition_innodb_plugin.result Bug#55091: Server crashes on ADD PARTITION after a failed attempt 2010-10-05 14:57:51 +02:00
partition_innodb_semi_consistent.result
partition_innodb_stmt.result
partition_list.result
partition_mgm.result
partition_mgm_err.result
partition_mgm_err2.result
partition_not_blackhole.result Bug#46086: crash when dropping a partitioned table 2010-07-08 14:36:55 +02:00
partition_not_embedded.result
partition_not_windows.result
partition_open_files_limit.result
partition_order.result
partition_pruning.result Bug#53806: Wrong estimates for range query in partitioned MyISAM table 2010-08-26 17:14:18 +02:00
partition_range.result Bug#53806: Wrong estimates for range query in partitioned MyISAM table 2010-08-27 10:43:51 +02:00
partition_rename_longfilename.result
partition_symlink.result
partition_windows.result
perror-win.result
perror.result
plugin.result
plugin_load.result
plugin_not_embedded.result BUG#58246: INSTALL PLUGIN not secure & crashable 2010-12-01 13:54:50 +01:00
preload.result
profiling.result
ps.result result fix 2010-10-04 12:51:26 +04:00
ps_1general.result
ps_2myisam.result Bug #53296: LONG BLOB value types are not recognized 2010-08-16 16:43:21 +03:00
ps_3innodb.result Bug #53296: LONG BLOB value types are not recognized 2010-08-16 16:43:21 +03:00
ps_4heap.result Bug #53296: LONG BLOB value types are not recognized 2010-08-16 16:43:21 +03:00
ps_5merge.result Bug #53296: LONG BLOB value types are not recognized 2010-08-16 16:43:21 +03:00
ps_10nestset.result
ps_11bugs.result
ps_ddl.result
ps_ddl1.result
ps_grant.result
ps_not_windows.result
query_cache.result
query_cache_28249.result
query_cache_debug.result
query_cache_merge.result
query_cache_notembedded.result
query_cache_ps_no_prot.result
query_cache_ps_ps_prot.result
query_cache_with_views.result
raid.result
range.result Bug #54802: 'NOT BETWEEN' evaluation is incorrect 2010-08-24 19:51:32 +04:00
read_many_rows_innodb.result
read_only.result
read_only_innodb.result
rename.result
renamedb.result Bug #53804: serious flaws in the alter database .. upgrade 2010-05-21 22:47:32 +04:00
repair.result
replace.result
rollback.result
round.result
row.result Bug #54190: Comparison to row subquery produces incorrect 2010-09-09 16:46:13 +04:00
rowid_order_innodb.result
rpl_colSize.result
rpl_extraColmaster_innodb.result
rpl_extraColmaster_myisam.result
schema.result Bug #54360 Deadlock DROP/ALTER/CREATE DATABASE with open HANDLER 2010-06-26 19:36:00 +02:00
select.result Fix for bug #54459: Assertion failed: param.sort_length, 2010-06-24 12:00:48 +04:00
select_found.result
select_safe.result
server_id.require
server_id1.require
shm.result
show_check.result Bug#35333, "If Federated table can't connect to remote host, can't retrieve metadata" 2010-11-30 09:43:50 -06:00
skip_grants.result
skip_log_bin.result
skip_name_resolve.result Bug #37168: Missing variable - skip_name_resolve 2010-03-31 16:12:37 +03:00
slave-running.result
slave-stopped.result
sp-big.result
sp-bugs.result Fixed bug#54375 - Error in stored procedure leaves connection 2010-11-11 10:52:51 +06:00
sp-code.result
sp-destruct.result
sp-dynamic.result
sp-error.result
sp-fib.result
sp-prelocking.result
sp-security.result
sp-threads.result
sp-ucs2.result
sp-vars.result
sp.result
sp_gis.result
sp_notembedded.result
sp_stress_case.result
sp_sync.result
sp_trans.result
sp_trans_log.result Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
sql_mode.result
ssl-big.result
ssl.result
ssl_8k_key.result
ssl_compress.result
ssl_connect.result
status.result
status2.result
strict.result
strict_autoinc_1myisam.result
strict_autoinc_2innodb.result
strict_autoinc_3heap.result
subselect.result Bug #54190: Comparison to row subquery produces incorrect 2010-09-09 16:46:13 +04:00
subselect2.result
subselect3.result
subselect4.result Bug#58207: invalid memory reads when using default column value and 2011-01-12 09:55:31 +01:00
subselect_debug.result
subselect_gis.result
subselect_innodb.result
subselect_notembedded.result
sum_distinct-big.result
sum_distinct.result
symlink.result BUG#40980 - Drop table can remove another MyISAM table's 2010-04-01 18:49:02 +04:00
synchronization.result
sysdate_is_now.result
system_mysql_db.result
system_mysql_db_refs.result
tablelock.result
temp_table.result
testdb_only.require
timezone.result
timezone2.result Bug #55424: convert_tz crashes when fed invalid data 2010-08-06 23:29:37 +04:00
timezone3.result
timezone4.result
timezone_grant.result
trigger-compat.result
trigger-trans.result
trigger.result WL#5370 Keep forward-compatibility when changing 2010-08-18 12:56:06 +08:00
trigger_notembedded.result Fixed bug #55421 - Protocol::end_statement(): Assertion `0' on 2010-09-07 15:53:46 +07:00
true.require
truncate.result
type_binary.result
type_bit.result
type_bit_innodb.result
type_blob.result Bug #52160: crash and inconsistent results when grouping 2010-10-31 19:04:38 +03:00
type_date.result
type_datetime.result Bug#59173: Failure to handle DATE(TIME) values where Year, Month or Day is 2011-01-19 15:09:32 +01:00
type_decimal.result
type_enum.result
type_float.result
type_nchar.result
type_newdecimal-big.result
type_newdecimal.result
type_ranges.result
type_set.result
type_time.result Bug#53942 valgrind warnings with timestamp() function and incomplete datetime values 2010-05-31 13:25:11 +04:00
type_timestamp.result Bug #55779: select does not work properly in mysql server 2010-09-13 11:18:35 +04:00
type_uint.result
type_varchar.result
type_year.result
udf.result
udf_skip_grants.result
union.result
unsafe_binlog_innodb.result
update.result Bug #54734 assert in Diagnostics_area::set_ok_status 2010-07-19 11:03:52 +02:00
upgrade.result Bug #53804: serious flaws in the alter database .. upgrade 2010-05-21 22:47:32 +04:00
user_limits.result
user_var-binlog.result
user_var.result Fix for Bug#56138 "valgrind errors about overlapping memory when double-assigning same variable", 2010-11-22 09:57:59 +01:00
varbinary.result
variables-big.result Bug#58197: main.variables-big fails on windows 2010-11-15 16:17:38 +01:00
variables-notembedded.result
variables.result Assorted post-merge fixes, clean-up, integration, compat with 5.6. 2010-11-25 03:11:05 +00:00
variables_community.result
variables_debug.result Bug #56709: Memory leaks at running the 5.1 test suite 2010-09-22 23:33:18 +04:00
view.result Fixed following problems: 2010-12-14 12:33:03 +03:00
view_alias.result
view_grant.result Fix for bug #58499 "DEFINER-security view selecting from 2011-01-12 16:08:30 +03:00
wait_timeout.result
warnings.result
warnings_engine_disabled.result
windows.require
windows.result
xa.result
xml.result Bug#44332 my_xml_scan reads behind the end of buffer 2011-01-18 09:38:41 +03:00