mariadb/sql
Igor Babaev 1018c90107 Fixed LP bug #784281.
When a view is merged into a select all the depended_from fields
pointing to the select of the view should have been corrected to
point to the select where the view is used. It was not done yet.
This could lead to wrong results returned by queries such as
one from the test case for bug 33389.
Correction of outer references required walking through all items
of the proccesed qurery. To avoid this the following solution was
implemented.
Each select now contains a pointer to the select it is merged into
(if there is any). Such pointers allow to get the corrected value
of depended_from on the fly. The function Item_ident::get_depended_from
was introduced for this purpose.
2011-05-17 22:22:33 -07:00
..
examples Bug#473914: mysql_client_test fail with in debug compilaton on windows x64 2010-12-06 12:52:06 +01:00
share MWL#89 2011-05-02 21:59:16 +03:00
.cvsignore
add_errmsg
authors.h Merge with MariaDB 5.1.49 2010-08-05 22:56:11 +03:00
client_settings.h fixes for windows builds 2010-04-02 11:20:09 +02:00
CMakeLists.txt merge mwl#55 2011-03-11 15:20:24 +01:00
contributors.h
create_options.cc merge with 5.1 2010-11-30 23:11:03 +02:00
create_options.h MWL#43 CREATE TABLE options (by Sanja) 2010-04-08 14:10:05 +02:00
custom_conf.h
debug_sync.cc add newline at the end of file 2011-02-19 15:21:50 +01:00
debug_sync.h Bug #51648 DBUG_SYNC_POINT is not defined on all platforms and mtr cant pre-check that 2010-03-19 11:06:40 +02:00
derror.cc
des_key_file.cc
discover.cc
event_data_objects.cc Merge with MariaDB 5.1.49 2010-08-05 22:56:11 +03:00
event_data_objects.h Change some my_bool in C++ classes and a few functions to bool to detect wrong usage of bool/my_bool. 2010-09-24 01:00:32 +03:00
event_db_repository.cc Change TABLE->alias to String for less memory reallocation 2011-02-28 12:48:50 +02:00
event_db_repository.h Change some my_bool in C++ classes and a few functions to bool to detect wrong usage of bool/my_bool. 2010-09-24 01:00:32 +03:00
event_parse_data.cc
event_parse_data.h Change some my_bool in C++ classes and a few functions to bool to detect wrong usage of bool/my_bool. 2010-09-24 01:00:32 +03:00
event_queue.cc Improved speed of thr_alarm from O(N) to O(1). thr_alarm is used to handle timeouts and kill of connections. 2010-07-16 10:33:01 +03:00
event_queue.h
event_scheduler.cc Change TABLE->alias to String for less memory reallocation 2011-02-28 12:48:50 +02:00
event_scheduler.h
events.cc Change TABLE->alias to String for less memory reallocation 2011-02-28 12:48:50 +02:00
events.h Change some my_bool in C++ classes and a few functions to bool to detect wrong usage of bool/my_bool. 2010-09-24 01:00:32 +03:00
field.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
field.h Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
field_conv.cc Merge with 5.2 2011-03-09 15:47:59 +02:00
filesort.cc MWL#89 2011-03-01 15:54:21 +02:00
frm_crypt.cc
gen_lex_hash.cc Merge 2010-12-29 00:47:05 +01:00
gstream.cc
gstream.h
ha_ndbcluster.cc Merge with 5.1-release. 2010-12-06 10:25:44 +02:00
ha_ndbcluster.h Merge 5.2->5.3 2010-10-10 17:18:11 +03:00
ha_ndbcluster_binlog.cc pluggable auth with plugin examples 2010-03-29 17:13:53 +02:00
ha_ndbcluster_binlog.h
ha_ndbcluster_cond.cc
ha_ndbcluster_cond.h
ha_ndbcluster_tables.h
ha_partition.cc Merge with 5.2 2011-03-09 15:47:59 +02:00
ha_partition.h Merge with 5.1 to get in changes from MySQL 5.1.55 2011-02-28 19:39:30 +02:00
handler.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
handler.h Added option "AND DISABLE CHECKPOINT" to "FLUSH TABLES WITH READ LOCK" 2011-04-28 18:02:26 +03:00
hash_filo.cc Fix a bunch of Windows warnings 2010-04-21 02:25:59 +02:00
hash_filo.h Change some my_bool in C++ classes and a few functions to bool to detect wrong usage of bool/my_bool. 2010-09-24 01:00:32 +03:00
hostname.cc
init.cc
item.cc Fixed LP bug #784281. 2011-05-17 22:22:33 -07:00
item.h Fixed LP bug #784281. 2011-05-17 22:22:33 -07:00
item_buff.cc Added TRASH() to table->record[0] to find out if we access not initialzed data. 2010-11-27 17:29:52 +02:00
item_cmpfunc.cc Fixed LP bug #784281. 2011-05-17 22:22:33 -07:00
item_cmpfunc.h Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
item_create.cc Merge with MySQL 5.1.55 2011-02-20 18:51:43 +02:00
item_create.h Merge with MySQL 5.1.55 2011-02-20 18:51:43 +02:00
item_func.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
item_func.h Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
item_geofunc.cc Manual merge of the fix for bug#43668. 2009-11-24 18:26:13 +03:00
item_geofunc.h Merge with MySQL 5.1.55 2011-02-20 18:51:43 +02:00
item_row.cc Fix LP BUG#715738 2011-03-24 16:34:06 +02:00
item_row.h MariaDB 5.2 -> MariaDB 5.3 merge 2010-06-26 14:05:41 +04:00
item_strfunc.cc Fix LP BUG#715738 2011-03-24 16:34:06 +02:00
item_strfunc.h merge 5.1->5.2 2010-06-01 21:52:20 +02:00
item_subselect.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
item_subselect.h Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
item_sum.cc MWL#89 2011-03-30 10:10:59 +03:00
item_sum.h Merge with 5.1 to get in changes from MySQL 5.1.55 2011-02-28 19:39:30 +02:00
item_timefunc.cc Merge with MySQL 5.1.55 2011-02-20 18:51:43 +02:00
item_timefunc.h Merge with 5.1 to get in changes from MySQL 5.1.55 2011-02-28 19:39:30 +02:00
item_xmlfunc.cc Merge with 5.1 to get in changes from MySQL 5.1.55 2011-02-28 19:39:30 +02:00
item_xmlfunc.h The main commit of Andrey Zhakov's patch introducing vurtual(computed) columns. 2009-10-16 15:57:48 -07:00
key.cc Fixed compiler warnings 2011-04-01 12:04:59 +03:00
lex.h Added ALTER ONLINE TABLE, which will give an error if the change can't be done 'instantly' (without a table copy) 2011-04-28 19:56:10 +03:00
lex_symbol.h
lock.cc Added option "AND DISABLE CHECKPOINT" to "FLUSH TABLES WITH READ LOCK" 2011-04-28 18:02:26 +03:00
log.cc Merge various replication-related patches into MariaDB 5.3: 2011-04-08 09:39:33 +02:00
log.h Merge --binlog_optimize_thread_scheduling into mariadb-5.2-rpl. 2011-04-04 15:18:43 +02:00
log_event.cc Merge MariaDB 5.2.5 release into MariaDB-5.2-rpl. 2011-04-01 15:07:10 +02:00
log_event.h Merge MariaDB 5.2.5 release into MariaDB-5.2-rpl. 2011-04-01 15:07:10 +02:00
log_event_old.cc merge with 5.1 2010-09-11 20:43:48 +02:00
log_event_old.h Merge with MySQL 5.1.55 2011-02-20 18:51:43 +02:00
log_slow.h
Makefile.am Fix error in "make dist" (sql/CMakeLists.txt is not delivered in source distribution) 2011-04-03 20:56:47 +02:00
message.h - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
message.mc
message.rc
mf_iocache.cc Fix a bunch of Windows warnings 2010-04-21 02:25:59 +02:00
MSG00001.bin
multi_range_read.cc Make EXPLAIN better at displaying MRR/BKA: 2011-04-02 14:04:45 +04:00
multi_range_read.h Make EXPLAIN better at displaying MRR/BKA: 2011-04-02 14:04:45 +04:00
my_decimal.cc Merge with MySQL 5.1.55 2011-02-20 18:51:43 +02:00
my_decimal.h Merge with MySQL 5.1.53 2010-11-25 00:57:34 +02:00
my_lock.c
mysql_install_db.cc fix CRLF line endings to LF 2011-04-08 01:42:47 +02:00
mysql_priv.h Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
mysql_upgrade_service.cc mwl#59 - windows installer. 2011-03-09 20:21:03 +01:00
mysqld.cc MWL#89 2011-05-02 21:59:16 +03:00
mysqld_suffix.h
net_serv.cc Merge with 5.2 2011-03-09 15:47:59 +02:00
nt_servc.cc
nt_servc.h
opt_index_cond_pushdown.cc Post-review fixes for the patch that added the code allowing to use 2011-01-21 18:21:55 -08:00
opt_range.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
opt_range.h Merge with 5.2 2011-03-09 15:47:59 +02:00
opt_range_mrr.cc Fixed compiler warnings 2011-02-25 20:15:27 +02:00
opt_subselect.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
opt_subselect.h Moving max/min optimization from prepare to optimization phase. MWL#148 2011-05-04 18:08:58 +03:00
opt_sum.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
opt_table_elimination.cc Fixed LP bugs #717577, #724942. 2011-04-26 19:58:41 -07:00
parse_file.cc Fix for: LP #634955: Assert in _ma_update_at_original_place() 2010-11-02 17:22:57 +02:00
parse_file.h Change some my_bool in C++ classes and a few functions to bool to detect wrong usage of bool/my_bool. 2010-09-24 01:00:32 +03:00
partition_element.h Merge with main 2011-02-22 20:28:01 +02:00
partition_info.cc merge with 5.1 2010-09-11 20:43:48 +02:00
partition_info.h
password.c pluggable auth with plugin examples 2010-03-29 17:13:53 +02:00
procedure.cc
procedure.h Subquery cache (MWL#66) added. 2010-07-10 13:37:30 +03:00
protocol.cc Merge with 5.1 to get in changes from MySQL 5.1.55 2011-02-28 19:39:30 +02:00
protocol.h pluggable auth with plugin examples 2010-03-29 17:13:53 +02:00
records.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
repl_failsafe.cc Merge with MySQL 5.1.49 2010-08-02 12:01:24 +03:00
repl_failsafe.h
rpl_constants.h
rpl_filter.cc merge with 5.1 2010-09-11 20:43:48 +02:00
rpl_filter.h MWL#36: Add a mysqlbinlog option to change the used database 2009-10-24 23:43:39 +04:00
rpl_injector.cc Merge with MySQL 5.1.55 2011-02-20 18:51:43 +02:00
rpl_injector.h
rpl_mi.cc Merge with MySQL 5.1.49 2010-08-02 12:01:24 +03:00
rpl_mi.h Change some my_bool in C++ classes and a few functions to bool to detect wrong usage of bool/my_bool. 2010-09-24 01:00:32 +03:00
rpl_record.cc Merge with MySQL 5.1.55 2011-02-20 18:51:43 +02:00
rpl_record.h Merge with MySQL 5.1.55 2011-02-20 18:51:43 +02:00
rpl_record_old.cc
rpl_record_old.h Merge with MySQL 5.1.55 2011-02-20 18:51:43 +02:00
rpl_reporting.cc
rpl_reporting.h
rpl_rli.cc Merge various replication-related patches into MariaDB 5.3: 2011-04-08 09:39:33 +02:00
rpl_rli.h Merge Percona patch MWL#47 into mariadb 5.2-percona. 2011-01-10 14:53:09 +01:00
rpl_tblmap.cc Bug#45613 handle failures from my_hash_insert 2009-11-20 16:18:01 +01:00
rpl_tblmap.h
rpl_utility.cc BUG#49618: Field length stored incorrectly in binary log 2010-03-17 15:28:49 +01:00
rpl_utility.h Merging with mysql-5.1-bugteam 2010-03-17 19:15:41 +01:00
scheduler.cc Added protection around usage of thd->mysys_var 2009-11-26 22:19:33 +02:00
scheduler.h
set_var.cc Merge various replication-related patches into MariaDB 5.3: 2011-04-08 09:39:33 +02:00
set_var.h Merge with 5.1 to get in changes from MySQL 5.1.55 2011-02-28 19:39:30 +02:00
slave.cc Merge MariaDB 5.2.5 release into MariaDB-5.2-rpl. 2011-04-01 15:07:10 +02:00
slave.h Merge MariaDB 5.2.5 release into MariaDB-5.2-rpl. 2011-04-01 15:07:10 +02:00
sp.cc Change TABLE->alias to String for less memory reallocation 2011-02-28 12:48:50 +02:00
sp.h Bug#45613 handle failures from my_hash_insert 2009-11-20 16:18:01 +01:00
sp_cache.cc Merge MySQL 5.1.46 into MariaDB. 2010-04-28 14:52:24 +02:00
sp_cache.h
sp_head.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sp_head.h Bug#50755: Crash if stored routine def contains version comments 2010-04-01 10:15:22 -03:00
sp_pcontext.cc
sp_pcontext.h Manual merge. 2009-12-18 16:44:24 -02:00
sp_rcontext.cc Change TABLE->alias to String for less memory reallocation 2011-02-28 12:48:50 +02:00
sp_rcontext.h Change some my_bool in C++ classes and a few functions to bool to detect wrong usage of bool/my_bool. 2010-09-24 01:00:32 +03:00
spatial.cc Fix for bug #51875: crash when loading data into geometry function polyfromwkb 2010-08-30 11:51:46 +04:00
spatial.h Bug#42733: Type-punning warnings when compiling MySQL -- 2010-07-14 16:39:40 -03:00
sql_acl.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_acl.h pluggable auth with plugin examples 2010-03-29 17:13:53 +02:00
sql_analyse.cc Bug#45288: pb2 returns a lot of compilation warnings on linux 2010-07-09 09:00:17 -03:00
sql_analyse.h Change some my_bool in C++ classes and a few functions to bool to detect wrong usage of bool/my_bool. 2010-09-24 01:00:32 +03:00
sql_array.h Backport of subquery optimizations to 5.3. 2010-01-17 17:51:10 +03:00
sql_base.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_binlog.cc Merge MariaDB 5.2.5 release into MariaDB-5.2-rpl. 2011-04-01 15:07:10 +02:00
sql_bitmap.h Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_builtin.cc.in Maria WL#61 2010-04-01 17:34:51 +03:00
sql_cache.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_cache.h Change some my_bool in C++ classes and a few functions to bool to detect wrong usage of bool/my_bool. 2010-09-24 01:00:32 +03:00
sql_class.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_class.h Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_client.cc
sql_connect.cc Merge with MySQL 5.1.55 2011-02-20 18:51:43 +02:00
sql_crypt.cc Merge MySQL 5.1.44 into MariaDB. 2010-03-04 09:03:07 +01:00
sql_crypt.h Merge MySQL 5.1.44 into MariaDB. 2010-03-04 09:03:07 +01:00
sql_cursor.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_cursor.h
sql_db.cc Merge with 5.2 2011-03-09 15:47:59 +02:00
sql_delete.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_derived.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_do.cc
sql_error.cc MBug#643463: slow XtraDB shutdown due to 10 second sleep in purge thread 2010-11-03 22:40:53 +01:00
sql_error.h
sql_expression_cache.cc Fixed all BUILD scripts to use g++ instead of gcc for linking 2011-03-31 16:26:51 +03:00
sql_expression_cache.h Type of the variables fixed. 2010-10-27 06:03:59 +03:00
sql_handler.cc Fix formatting error message (invalid table name) in handler tests. 2011-03-29 20:37:30 +02:00
sql_handler.h Implementation of MWL#172: Add support for prepared statements to HANDLER READ 2011-01-04 00:55:41 +02:00
sql_help.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_insert.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_join_cache.cc Make EXPLAIN better at displaying MRR/BKA: 2011-04-02 14:04:45 +04:00
sql_join_cache.h Make EXPLAIN better at displaying MRR/BKA: 2011-04-02 14:04:45 +04:00
sql_lex.cc Fixed LP bug #784281. 2011-05-17 22:22:33 -07:00
sql_lex.h Fixed LP bug #784281. 2011-05-17 22:22:33 -07:00
sql_lifo_buffer.h Fixed high-impact Windows 64bit warnings (at least 4000 of them) 2011-02-19 13:43:01 +01:00
sql_list.cc
sql_list.h Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_load.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_locale.cc Bug#43207 wrong LC_TIME names for romanian locale 2009-10-19 13:41:52 +05:00
sql_manager.cc
sql_map.cc
sql_map.h
sql_olap.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_parse.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_partition.cc Merge with 5.1 to get in changes from MySQL 5.1.55 2011-02-28 19:39:30 +02:00
sql_partition.h BUG#49124 Security issue with /*!-versioned */ SQL statements on Slave 2010-07-29 11:00:57 +08:00
sql_plugin.cc Merge with 5.1 to get in changes from MySQL 5.1.55 2011-02-28 19:39:30 +02:00
sql_plugin.h Merge with 5.1 to get in changes from MySQL 5.1.55 2011-02-28 19:39:30 +02:00
sql_plugin_services.h Merge with 5.2 2011-03-09 15:47:59 +02:00
sql_prepare.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_profile.cc Merge with MySQL 5.1.55 2011-02-20 18:51:43 +02:00
sql_profile.h Patch set contributed by Alex Budovski (MCA) 2010-01-29 20:42:22 +02:00
sql_rename.cc Merge with 5.2 2011-03-09 15:47:59 +02:00
sql_repl.cc Fix two compiler warnings from Buildbot (including one bad merge). 2011-01-11 09:06:54 +01:00
sql_repl.h
sql_select.cc Fixed LP bug #784281. 2011-05-17 22:22:33 -07:00
sql_select.h Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_servers.cc Fix for LP#588251: doStartTableScan() result not checked. 2010-07-17 01:41:44 +03:00
sql_servers.h
sql_show.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_show.h
sql_sort.h An implementation of index intersect via a modified Unique class. 2010-09-13 15:22:11 -07:00
sql_state.c
sql_string.cc Make SQLString reallocation addaptive 2010-11-08 13:43:54 +02:00
sql_string.h Merge with alias as String 2011-02-28 13:16:17 +02:00
sql_table.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_tablespace.cc Merge MySQL 5.1.44 into MariaDB. 2010-03-04 09:03:07 +01:00
sql_test.cc Change TABLE->alias to String for less memory reallocation 2011-02-28 12:48:50 +02:00
sql_trigger.cc Merge with alias as String 2011-02-28 13:16:17 +02:00
sql_trigger.h Added TRASH() to table->record[0] to find out if we access not initialzed data. 2010-11-27 17:29:52 +02:00
sql_udf.cc Merge with 5.1 to get in changes from MySQL 5.1.55 2011-02-28 19:39:30 +02:00
sql_udf.h
sql_union.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_update.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_view.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
sql_view.h
sql_yacc.yy Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
strfunc.cc
structs.h Backport of: 2011-01-14 12:55:03 +03:00
table.cc Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
table.h Merged the code of MWL#106 into 5.3 2011-05-16 22:39:43 -07:00
thr_malloc.cc Merge with MariaDB 5.1.49 2010-08-05 22:56:11 +03:00
time.cc Merge with MySQL 5.1, with following additions: 2009-11-16 21:49:51 +01:00
tzfile.h
tztime.cc merge with 5.1 2010-10-25 15:21:16 +02:00
tztime.h
udf_example.c Merge with MySQL 5.1.50 2010-08-27 17:12:44 +03:00
udf_example.def Patch set contributed by Alex Budovski (MCA) 2010-01-29 20:42:22 +02:00
uniques.cc Fixed DBUG_PRINT formatting (compile error on Linux with -Werror) 2011-02-19 02:42:08 +01:00
unireg.cc Merge with MariaDB 5.1.49 2010-08-05 22:56:11 +03:00
unireg.h Merge: mwl#24+mwl#21 5.1->5.2 2010-12-24 08:17:43 -08:00
winservice.c MWL#55 : Philip's review: 2011-02-15 13:04:55 +01:00
winservice.h split long lines, use get_mysql_service_properties() 2011-01-30 22:42:02 +01:00