mariadb/sql
unknown bf0b0d3e50 Surgical changes in sql_select and sql_union code in order to
accomodate EXPLAIN properly for all possible variant of UNION's
derived tables etc ...

This also fixes all reported (and unreported) bugs when EXPLAIN is
run on UNION's.

select_describe() now has a very dirty hack to avoid some problems
with transactional tables on table unlocking.

Code speedup is possible. For the moment all that was important was
that all tests are passed.
2002-02-28 13:50:00 +02:00
..
share Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-01-29 18:34:05 +02:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
add_errmsg Import changeset 2000-07-31 21:29:14 +02:00
cache_manager.cc Update copyright 2001-12-06 14:10:51 +02:00
cache_manager.h Update copyright 2001-12-06 14:10:51 +02:00
ChangeLog Added all changes from old 4.0 version: 2001-04-11 13:04:03 +02:00
convert.cc Update copyright 2001-12-06 14:10:51 +02:00
custom_conf.h Update copyright 2001-12-06 14:10:51 +02:00
derror.cc Added macros for nice TIMESPEC usage. 2002-01-02 21:29:41 +02:00
des_key_file.cc Added FLUSH DES_KEY_FILE. 2001-12-13 15:53:18 +02:00
field.cc Update copyright 2001-12-06 14:10:51 +02:00
field.h Code that had to be changed so that CREATE ... SELECT ... always 2001-12-29 15:15:51 +02:00
field_conv.cc Update copyright 2001-12-06 14:10:51 +02:00
filesort.cc Removed compiler warnings. 2001-12-10 00:08:24 +02:00
frm_crypt.cc Update copyright 2001-12-06 14:10:51 +02:00
gen_lex_hash.cc merge with 3.23.47 (DO statement) 2001-12-17 20:47:20 +02:00
ha_berkeley.cc Move HA_EXTRA_NO_READCHECK to ha_open 2002-01-16 23:02:26 +02:00
ha_berkeley.h Take into account that table scans may use indexes 2002-01-30 16:07:11 +02:00
ha_hash.h Import changeset 2000-07-31 21:29:14 +02:00
ha_heap.cc Add support for NULL=NULL in keys (Used in GROUP BY optimization) 2002-01-16 00:42:52 +02:00
ha_heap.h Added support of null keys in HEAP tables 2002-01-12 15:42:54 +02:00
ha_innodb.cc merge with 3.23.49 2002-02-14 18:58:24 +02:00
ha_innodb.h merge with 3.23.48 2002-02-11 13:48:59 +02:00
ha_isam.cc Added support of null keys in HEAP tables 2002-01-12 15:42:54 +02:00
ha_isam.h Added support of null keys in HEAP tables 2002-01-12 15:42:54 +02:00
ha_isammrg.cc Update copyright 2001-12-06 14:10:51 +02:00
ha_isammrg.h Added support of null keys in HEAP tables 2002-01-12 15:42:54 +02:00
ha_myisam.cc Added support of null keys in HEAP tables 2002-01-12 15:42:54 +02:00
ha_myisam.h Added support of null keys in HEAP tables 2002-01-12 15:42:54 +02:00
ha_myisammrg.cc Added support of null keys in HEAP tables 2002-01-12 15:42:54 +02:00
ha_myisammrg.h Added support of null keys in HEAP tables 2002-01-12 15:42:54 +02:00
handler.cc merge with 3.23.48 2002-02-11 13:48:59 +02:00
handler.h Merge from 3.23.48 tree 2002-01-30 16:37:47 +02:00
hash_filo.cc Update copyright 2001-12-06 14:10:51 +02:00
hash_filo.h Update copyright 2001-12-06 14:10:51 +02:00
hostname.cc Update copyright 2001-12-06 14:10:51 +02:00
init.cc Update copyright 2001-12-06 14:10:51 +02:00
item.cc Update copyright 2001-12-06 14:10:51 +02:00
item.h Code that had to be changed so that CREATE ... SELECT ... always 2001-12-29 15:15:51 +02:00
item_buff.cc Update copyright 2001-12-06 14:10:51 +02:00
item_cmpfunc.cc Update copyright 2001-12-06 14:10:51 +02:00
item_cmpfunc.h Update copyright 2001-12-06 14:10:51 +02:00
item_create.cc merged 2002-01-03 20:00:45 +00:00
item_create.h BIT_LENGTH ODBC function 2002-01-03 19:47:14 +00:00
item_func.cc Merge work:/home/bk/mysql-4.0 2002-01-31 11:04:49 -07:00
item_func.h Added --sql-mode=NO_UNSIGNED_SUBTRACTION 2002-01-30 15:32:48 +02:00
item_strfunc.cc Added FLUSH DES_KEY_FILE. 2001-12-13 15:53:18 +02:00
item_strfunc.h Add support for NULL=NULL in keys (Used in GROUP BY optimization) 2002-01-16 00:42:52 +02:00
item_sum.cc Update copyright 2001-12-06 14:10:51 +02:00
item_sum.h Update copyright 2001-12-06 14:10:51 +02:00
item_timefunc.cc Some small fixes to the query cache. 2002-01-03 19:04:01 +02:00
item_timefunc.h Add support for NULL=NULL in keys (Used in GROUP BY optimization) 2002-01-16 00:42:52 +02:00
item_uniq.cc Update copyright 2001-12-06 14:10:51 +02:00
item_uniq.h Update copyright 2001-12-06 14:10:51 +02:00
key.cc Update copyright 2001-12-06 14:10:51 +02:00
lex.h Ugly merge! But I am not done yet - there are a number of things I need to fix 2002-01-19 22:46:25 -07:00
lex_symbol.h Update copyright 2001-12-06 14:10:51 +02:00
lock.cc New error messages 2002-01-29 18:32:16 +02:00
log.cc Merge from 3.23.48 tree 2002-01-30 16:37:47 +02:00
log_event.cc fixes for slave backward compat 2002-02-07 15:29:46 -07:00
log_event.h fixes for slave backward compat 2002-02-07 15:29:46 -07:00
Makefile.am Added support of null keys in HEAP tables 2002-01-12 15:42:54 +02:00
matherr.c Update copyright 2001-12-06 14:10:51 +02:00
mf_iocache.cc Update copyright 2001-12-06 14:10:51 +02:00
mini_client.cc New error messages 2002-01-29 18:32:16 +02:00
mini_client.h Ugly merge! But I am not done yet - there are a number of things I need to fix 2002-01-19 22:46:25 -07:00
my_lock.c merge with 3.23.48 2002-02-11 13:48:59 +02:00
mysql_priv.h merge with 3.23.49 2002-02-14 18:58:24 +02:00
mysqld.cc merge with 3.23.49 2002-02-14 18:58:24 +02:00
net_pkg.cc Added macros for nice TIMESPEC usage. 2002-01-02 21:29:41 +02:00
net_serv.cc fixes for slave backward compat 2002-02-07 15:29:46 -07:00
nt_servc.cc Update for OS2 (patch from Yuri Dario). 2001-10-31 03:22:31 +02:00
nt_servc.h Adding code for NT service in the install and remove 2001-10-25 05:57:15 -02:00
opt_ft.cc Oops - forgot to add files to bk 2000-10-09 00:00:24 +02:00
opt_ft.h fixes for ft-boolean and range optimizer 2001-11-22 16:00:11 +01:00
opt_range.cc Increase max package length to 512M for mysql and mysqldump. 2002-01-23 02:52:26 +02:00
opt_range.h Update of query cache code. 2001-12-05 13:03:00 +02:00
opt_sum.cc fixed wrong DBUG_ASSERT() in IO_CACHE 2002-01-31 16:17:24 -07:00
password.c Update copyright 2001-12-06 14:10:51 +02:00
procedure.cc Update copyright 2001-12-06 14:10:51 +02:00
procedure.h Update copyright 2001-12-06 14:10:51 +02:00
records.cc Move HA_EXTRA_NO_READCHECK to ha_open 2002-01-16 23:02:26 +02:00
repl_failsafe.cc fixes for slave backward compat 2002-02-07 15:29:46 -07:00
repl_failsafe.h work to enable reading 3.23 logs - not yet finished 2001-11-10 22:24:12 -07:00
slave.cc updated test suite to be able to run 3.23 master and 4.0 slave 2002-02-09 13:58:53 -07:00
slave.h fixes for slave backward compat 2002-02-07 15:29:46 -07:00
sql_acl.cc Small addition to SHOW GRANTS 2002-02-23 14:00:07 +02:00
sql_acl.h Changes required for maximum queries per hour 2002-02-01 15:40:38 +02:00
sql_analyse.cc Move HA_EXTRA_NO_READCHECK to ha_open 2002-01-16 23:02:26 +02:00
sql_analyse.h Update copyright 2001-12-06 14:10:51 +02:00
sql_base.cc Cleanup 2002-02-11 04:55:52 +02:00
sql_cache.cc Fixes for new getopt 2002-01-31 04:36:58 +02:00
sql_cache.h New result block allocation strategy 2002-01-12 15:40:52 +02:00
sql_class.cc small bug fix in max queries per hour 2002-02-08 17:44:50 +02:00
sql_class.h BK makes me problems. 2002-02-01 21:45:23 +02:00
sql_crypt.cc Update copyright 2001-12-06 14:10:51 +02:00
sql_crypt.h Update copyright 2001-12-06 14:10:51 +02:00
sql_db.cc row0mysql.c, sql_db.cc: 2002-02-14 03:45:45 +02:00
sql_delete.cc New error messages 2002-01-29 18:32:16 +02:00
sql_do.cc Minors changes for the Windows 3.23.47 release 2001-12-30 00:22:01 -02:00
sql_handler.cc New error messages 2002-01-29 18:32:16 +02:00
sql_insert.cc Some changes in multi-table deletes, with some speed-ups and 2002-01-12 19:51:10 +02:00
sql_lex.cc Fix after merge from 3.23 2002-02-15 02:49:02 +02:00
sql_lex.h merge with 3.23.49 2002-02-14 18:58:24 +02:00
sql_list.cc Update copyright 2001-12-06 14:10:51 +02:00
sql_list.h Update copyright 2001-12-06 14:10:51 +02:00
sql_load.cc merge with 3.23.49 2002-02-14 18:58:24 +02:00
sql_manager.cc Added macros for nice TIMESPEC usage. 2002-01-02 21:29:41 +02:00
sql_manager.h Generalize handle_flush thread to also handle various management 2000-11-27 18:14:49 -05:00
sql_map.cc Update copyright 2001-12-06 14:10:51 +02:00
sql_map.h Update copyright 2001-12-06 14:10:51 +02:00
sql_parse.cc Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-02-15 02:51:43 +02:00
sql_rename.cc Added --sql-mode=NO_UNSIGNED_SUBTRACTION 2002-01-30 15:32:48 +02:00
sql_repl.cc New error messages 2002-01-29 18:32:16 +02:00
sql_repl.h Here comes a nasty patch, although I am not ready to push it yet. I will 2002-01-19 19:16:52 -07:00
sql_select.cc Surgical changes in sql_select and sql_union code in order to 2002-02-28 13:50:00 +02:00
sql_select.h Increase max package length to 512M for mysql and mysqldump. 2002-01-23 02:52:26 +02:00
sql_show.cc New error messages 2002-01-29 18:32:16 +02:00
sql_sort.h Redefinition of myisam_bulk_insert_tree_size 2001-07-10 15:53:08 +03:00
sql_string.cc Update copyright 2001-12-06 14:10:51 +02:00
sql_string.h Update copyright 2001-12-06 14:10:51 +02:00
sql_table.cc merge with 3.23.48 2002-02-11 13:48:59 +02:00
sql_test.cc Update copyright 2001-12-06 14:10:51 +02:00
sql_udf.cc Cleanup of alarm macros. 2001-12-21 07:00:58 +02:00
sql_udf.h Update copyright 2001-12-06 14:10:51 +02:00
sql_union.cc Surgical changes in sql_select and sql_union code in order to 2002-02-28 13:50:00 +02:00
sql_update.cc New error messages 2002-01-29 18:32:16 +02:00
sql_yacc.yy small fix for 2.95.4 compiler 2002-02-19 15:10:12 +02:00
stacktrace.c Ugly merge! But I am not done yet - there are a number of things I need to fix 2002-01-19 22:46:25 -07:00
stacktrace.h Fix to get core files on Solaris 2001-08-22 12:22:46 +03:00
structs.h Changes required for maximum queries per hour 2002-02-01 15:40:38 +02:00
table.cc merge 2001-12-13 20:54:20 +02:00
table.h Update copyright 2001-12-06 14:10:51 +02:00
thr_malloc.cc Update copyright 2001-12-06 14:10:51 +02:00
time.cc Update copyright 2001-12-06 14:10:51 +02:00
udf_example.cc Update copyright 2001-12-06 14:10:51 +02:00
uniques.cc Update copyright 2001-12-06 14:10:51 +02:00
unireg.cc merge with 3.23.49 2002-02-14 18:58:24 +02:00
unireg.h merge with 3.23.49 2002-02-14 18:58:24 +02:00
watchdog_mysqld Import changeset 2000-07-31 21:29:14 +02:00