mariadb/mysql-test/t
unknown 6a97b07994 sql_select.cc:
Fixed bug #9681.
  The bug happened with queries using derived tables specified by
  a SELECT with ROLLUP, such as:
  SELECT * FROM (SELECT a, SUM(a) FROM t1 GROUP BY a WITH ROLLUP) t2,
  if column a of table t1 is declared as NOT NULL.
  This was to the fact that the first column of the temporary table
  created to contain the derived table erroneously inherited the NOT NULL
  attribute from column a.
olap.result, olap.test:
  Added a test case for bug #9681.


mysql-test/t/olap.test:
  Added a test case for bug #9681.
mysql-test/r/olap.result:
  Added a test case for bug #9681.
sql/sql_select.cc:
  Fixed bug #9681.
  The bug happened with queries using derived tables specified by
  a SELECT with ROLLUP, such as:
  SELECT * FROM (SELECT a, SUM(a) FROM t1 GROUP BY a WITH ROLLUP) t2,
  if column a of table t1 is declared as NOT NULL.
  This was to the fact that the first column of the temporary table
  created to contain the derived table erroneously inherited the NOT NULL
  attribute from column a.
2005-04-19 16:54:30 -07:00
..
alias.test
alter_table.test
analyse.test
ansi.test
archive.test
auto_increment.test
backup-master.sh
backup.test
bdb-alter-table-1.test
bdb-alter-table-2-master.opt
bdb-alter-table-2.test
bdb-crash.test
bdb-deadlock.test
bdb-deadlock.tminus
bdb.test
bdb_cache-master.opt
bdb_cache.test
bench_count_distinct.test
bigint.test
binary.test
blackhole.test
bool.test
bulk_replace.test
case.test
cast.test
check.test
comments.test
compare.test
connect.test
consistent_snapshot.test
constraints.test
count_distinct.test
count_distinct2-master.opt
count_distinct2.test
count_distinct3.test
create.test
create_select_tmp.test
csv.test
ctype_big5.test
ctype_collate.test ctype_collate.result, ctype_collate.test, union.result, union.test: 2005-04-10 12:40:33 +05:00
ctype_cp1250_ch.test
ctype_cp1251.test Remove .opt file for faster test running. 2005-03-30 14:10:27 +05:00
ctype_create.test
ctype_latin1.test
ctype_latin1_de-master.opt
ctype_latin1_de.test
ctype_many.test
ctype_mb.test
ctype_recoding.test
ctype_sjis.test
ctype_tis620.test
ctype_uca.test
ctype_ucs.test Merge embedded-server testing changes. 2005-04-01 16:43:35 -08:00
ctype_ucs_binlog.test Fix ctype_ucs_binlog test when ucs2 not available 2005-04-13 09:02:12 -07:00
ctype_ujis.test
ctype_utf8.test
date_formats-master.opt
date_formats.test
delayed.test
delete.test
derived.test
dirty_close.test
distinct.test
drop.test merged 2005-04-02 20:28:58 +02:00
drop_temp_table.test Remove result.es files and support for them, which requires splitting 2005-03-30 17:32:44 -08:00
empty_table.test
endspace.test
errors.test
exampledb.test
explain.test
flush.test
flush_block_commit.test
flush_table.test
foreign_key.test
fulltext.test
fulltext2.test
fulltext_cache.test
fulltext_distinct.test
fulltext_left_join.test
fulltext_multi.test
fulltext_order_by.test
fulltext_update.test
fulltext_var.test
func_compress.test
func_concat.test
func_crypt.test
func_date_add.test
func_default.test
func_encrypt-master.opt
func_encrypt.test
func_equal.test
func_gconcat.test
func_group.test
func_if.test
func_in.test
func_isnull.test
func_like.test
func_math.test
func_misc.test
func_op.test
func_regexp.test
func_sapdb.test
func_set.test
func_str.test
func_system.test
func_test.test
func_time.test
func_timestamp.test
gcc296.test
gis-rtree.test
gis.test
grant.test
grant2.test Merge embedded-server testing changes. 2005-04-01 16:43:35 -08:00
grant_cache-master.opt
grant_cache.test
group_by.test Make the tests deterministic: change DELETE ... LIMIT to DELETE ... ORDER BY ... LIMIT 2005-03-31 20:23:10 +04:00
handler.test
having.test
heap.test
heap_auto_increment.test
heap_btree.test
heap_hash.test
help.test
init_connect-master.opt
init_connect.test
init_file-master.opt
init_file.test
innodb-deadlock.test
innodb-lock.test
innodb-master.opt
innodb-replace.test
innodb.test merged 2005-04-14 21:31:22 +02:00
innodb_cache-master.opt
innodb_cache.test
innodb_handler.test
insert.test
insert_select-binlog.test Remove result.es files and support for them, which requires splitting 2005-03-30 17:32:44 -08:00
insert_select.test Remove result.es files and support for them, which requires splitting 2005-03-30 17:32:44 -08:00
insert_update.test
isam.test
join.test
join_crash.test
join_outer.test Merge new tests 2005-04-04 18:29:18 -07:00
key.test
key_cache-master.opt
key_cache.test
key_diff.test
key_primary.test
keywords.test
kill.test backport kill.test fix from 5.0 2005-04-11 22:36:07 +02:00
limit.test
loaddata.test
lock.test
lock_multi.test
lock_tables_lost_commit-master.opt
lock_tables_lost_commit.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 Clean up merge of fix for Bug #9468. 2005-04-01 19:00:14 -08:00
lowercase_table_qcache-master.opt
lowercase_table_qcache.test
merge.test
metadata.test
mix_innodb_myisam_binlog-master.opt
mix_innodb_myisam_binlog.test Eliminate most of the remaining hardcoded list of tests to skip 2005-03-29 17:17:46 -08:00
multi_statement-master.opt
multi_statement.test
multi_update-master.opt
multi_update.test
myisam-blob-master.opt
myisam-blob.test
myisam.test Bug#9188 - Corruption Can't open file: 'table.MYI' (errno: 145) 2005-04-08 14:13:02 +02:00
mysql_client_test.test
mysql_protocols.test Eliminate most of the remaining hardcoded list of tests to skip 2005-03-29 17:17:46 -08:00
mysqlbinlog-master.opt
mysqlbinlog.test Eliminate most of the remaining hardcoded list of tests to skip 2005-03-29 17:17:46 -08:00
mysqlbinlog2.test Eliminate most of the remaining hardcoded list of tests to skip 2005-03-29 17:17:46 -08:00
mysqldump.test Merge embedded-server testing changes. 2005-04-01 16:43:35 -08:00
mysqltest.test
ndb_alter_table.test BUG#6762 ALTER TABLE gives weird results and error message 2005-04-04 12:26:05 +02:00
ndb_autodiscover.test
ndb_autodiscover2-master.opt
ndb_autodiscover2.test
ndb_basic.test Added more tests for auto_increment 2005-04-08 11:38:40 +02:00
ndb_blob.test
ndb_cache.test
ndb_charset.test
ndb_grant.later
ndb_index.test
ndb_index_ordered.test
ndb_index_unique.test
ndb_insert.test
ndb_limit.test
ndb_lock.test
ndb_minmax.test
ndb_multi.test BUG#6762 ALTER TABLE gives weird results and error message 2005-04-04 12:26:05 +02:00
ndb_replace.test
ndb_restore.test
ndb_subquery.test
ndb_transaction.test
ndb_truncate.test
ndb_types.test Fix for bug#9435: TIMESTAMP columns don't update 2005-04-01 17:59:46 +02:00
ndb_update.test
negation_elimination.test
null.test
null_key.test
odbc.test
olap.test sql_select.cc: 2005-04-19 16:54:30 -07:00
openssl_1.test
order_by.test
order_fill_sortbuf-master.opt
order_fill_sortbuf.test
outfile.test
overflow.test
packet.test Eliminate most of the remaining hardcoded list of tests to skip 2005-03-29 17:17:46 -08:00
preload.test
ps.test
ps_1general.test Merge embedded-server testing changes. 2005-04-01 16:43:35 -08:00
ps_2myisam.test
ps_3innodb.test
ps_4heap.test
ps_5merge.test
ps_6bdb.test
ps_7ndb.test
ps_10nestset.test
ps_11bugs.test
ps_grant.test Fix the new ps_grant test to clean itself up properly. 2005-04-01 09:13:20 -08:00
query_cache.test Merge mysql.com:/home/dlenev/src/mysql-4.0-bg9796 2005-04-11 09:53:54 +04:00
query_cache_merge.test
raid.test
range.test Fix for BUG#9348: when computing union of two intervals set lower bound to 2005-04-17 02:05:09 +04:00
rename.test Eliminate most of the remaining hardcoded list of tests to skip 2005-03-29 17:17:46 -08:00
repair.test
replace.test
rollback.test
row.test
rpl000001-slave.opt
rpl000001.test
rpl000002.test
rpl000004.test
rpl000005.test
rpl000006.test
rpl000008-slave.opt
rpl000008.test
rpl000009-slave.opt
rpl000009.test
rpl000010-slave.opt
rpl000010.test
rpl000011.test
rpl000012.test
rpl000013-slave.opt
rpl000013.test
rpl000015-slave.sh
rpl000015.slave-mi
rpl000015.test
rpl000017-slave.opt
rpl000017-slave.sh
rpl000017.test
rpl000018-master.opt
rpl000018-slave.opt
rpl000018.test
rpl_alter.test
rpl_chain_temp_table.test
rpl_change_master.test
rpl_charset.test
rpl_commit_after_flush.test
rpl_create_database-master.opt
rpl_create_database-slave.opt
rpl_create_database.test
rpl_deadlock-slave.opt
rpl_deadlock.test
rpl_delete_all.test
rpl_do_grant.test
rpl_drop.test
rpl_drop_temp-slave.opt
rpl_drop_temp.test
rpl_EE_error.test
rpl_empty_master_crash.test
rpl_error_ignored_table-slave.opt
rpl_error_ignored_table.test
rpl_failed_optimize-master.opt
rpl_failed_optimize.test
rpl_failsafe.test
rpl_flush_log_loop-master.opt
rpl_flush_log_loop-master.sh
rpl_flush_log_loop-slave.opt
rpl_flush_log_loop-slave.sh
rpl_flush_log_loop.test
rpl_flush_tables.test
rpl_free_items-slave.opt
rpl_free_items.test
rpl_get_lock.test
rpl_heap.test
rpl_ignore_grant-slave.opt
rpl_ignore_grant.test
rpl_init_slave-slave.opt
rpl_init_slave.test
rpl_insert_id-slave.opt
rpl_insert_id.test
rpl_insert_ignore-slave.opt
rpl_insert_ignore.test
rpl_loaddata.test
rpl_loaddata_rule_m-master.opt
rpl_loaddata_rule_m.test
rpl_loaddata_rule_s-slave.opt
rpl_loaddata_rule_s.test
rpl_loaddatalocal.test
rpl_log-master.opt
rpl_log-slave.opt
rpl_log.test
rpl_log_pos.test
rpl_many_optimize.test
rpl_master_pos_wait.test
rpl_max_relay_size.test
rpl_misc_functions-slave.sh
rpl_misc_functions.test
rpl_multi_delete-slave.opt
rpl_multi_delete.test
rpl_multi_delete2-slave.opt
rpl_multi_delete2.test
rpl_multi_query.test
rpl_multi_update.test
rpl_multi_update2-slave.opt
rpl_multi_update2.test
rpl_mystery22.test
rpl_openssl.test
rpl_optimize.test
rpl_ps.test
rpl_redirect.test
rpl_relayrotate-slave.opt
rpl_relayrotate.test
rpl_relayspace-slave.opt
rpl_relayspace.test
rpl_replicate_do-slave.opt
rpl_replicate_do.test
rpl_reset_slave.test
rpl_rewrite_db-slave.opt
rpl_rewrite_db.test Makefile.am: 2005-04-06 12:20:55 +02:00
rpl_rotate_logs-master.opt
rpl_rotate_logs-slave.sh
rpl_rotate_logs.slave-mi
rpl_rotate_logs.test
rpl_server_id1.test
rpl_server_id2-slave.opt
rpl_server_id2.test
rpl_set_charset.test
rpl_skip_error-slave.opt
rpl_skip_error.test
rpl_sporadic_master-master.opt
rpl_sporadic_master.test
rpl_start_stop_slave.test
rpl_temporary.test
rpl_timezone-master.opt
rpl_timezone-slave.opt
rpl_timezone.test
rpl_trunc_binlog.test
rpl_until.test
rpl_user_variables.test
rpl_variables.test Eliminate most of the remaining hardcoded list of tests to skip 2005-03-29 17:17:46 -08:00
select.test Merge embedded-server testing changes. 2005-04-01 16:43:35 -08:00
select_found.test
select_safe.test
show_check.test Fix for BUG#9439: 2005-04-16 23:35:39 +04:00
skip_name_resolve-master.opt
skip_name_resolve.test Clean up merge of fix for Bug #9468. 2005-04-01 19:00:14 -08:00
sql_mode.test
status.test
subselect.test postreview changes 2005-03-30 10:07:08 +03:00
subselect2.test
subselect_gis.test
subselect_innodb.test
symlink.test
synchronization.test
system_mysql_db.test
system_mysql_db_fix-master.opt
system_mysql_db_fix.test Eliminate most of the remaining hardcoded list of tests to skip 2005-03-29 17:17:46 -08:00
system_mysql_db_refs.test
tablelock.test
temp_table.test
timezone-master.opt
timezone.test
timezone2.test Eliminate most of the remaining hardcoded list of tests to skip 2005-03-29 17:17:46 -08:00
timezone3-master.opt
timezone3.test
timezone_grant.test Eliminate most of the remaining hardcoded list of tests to skip 2005-03-29 17:17:46 -08:00
truncate.test
type_blob.test Remove result.es files and support for them, which requires splitting 2005-03-30 17:32:44 -08:00
type_date.test
type_datetime.test
type_decimal.test
type_enum.test
type_float.test Merge embedded-server testing changes. 2005-04-01 16:43:35 -08:00
type_nchar.test
type_ranges.test Remove result.es files and support for them, which requires splitting 2005-03-30 17:32:44 -08:00
type_set.test
type_time.test
type_timestamp.test
type_uint.test
type_year.test
union-master.opt
union.test ctype_collate.result, ctype_collate.test, union.result, union.test: 2005-04-10 12:40:33 +05:00
update.test
user_var-binlog.test Eliminate most of the remaining hardcoded list of tests to skip 2005-03-29 17:17:46 -08:00
user_var.test Fix for bug #9286: SESSION/GLOBAL should be disallowed for user variables 2005-04-06 14:13:06 +05:00
varbinary.test
variables-master.opt
variables.test Merge embedded-server testing changes. 2005-04-01 16:43:35 -08:00
warnings-master.opt
warnings.test