MariaDB-server/sql
Alexander Barkov f429b5a834 MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations
Implementing cursor%ROWTYPE variables, according to the task description.

This patch includes a refactoring in how sp_instr_cpush and sp_instr_copen
work. This is needed to implement MDEV-10598 later easier, to allow variable
declarations go after cursor declarations (which is currently not allowed).

Before this patch, sp_instr_cpush worked as a Query_arena associated with
the cursor. sp_instr_copen::execute() switched to the sp_instr_cpush's
Query_arena when executing the cursor SELECT statement.

Now the Query_arena associated with the cursor is stored inside an instance
of a new class sp_lex_cursor (a LEX descendand) that contains the cursor SELECT
statement.

This simplifies the implementation, because:
- It's easier to follow the code when everything related to execution
  of the cursor SELECT statement is stored inside the same sp_lex_cursor
  object (rather than distributed between LEX and sp_instr_cpush).
- It's easier to link an sp_instr_cursor_copy_struct to
  sp_lex_cursor rather than to sp_instr_cpush.
- Also, it allows to perform sp_instr_cursor_copy_struct::exec_core()
  without having a pointer to sp_instr_cpush, using a pointer to sp_lex_cursor
  instead. This will be important for MDEV-10598, because sp_instr_cpush will
  happen *after* sp_instr_cursor_copy_struct.

After MDEV-10598 is done, this declaration:

DECLARE
  CURSOR cur IS SELECT * FROM t1;
  rec cur%ROWTYPE;
BEGIN
  OPEN cur;
  FETCH cur INTO rec;
  CLOSE cur;
END;

will generate about this code:

+-----+--------------------------+
| Pos | Instruction              |
+-----+--------------------------+
|   0 | cursor_copy_struct rec@0 | Points to sp_cursor_lex through m_lex_keeper
|   1 | set rec@0 NULL           |
|   2 | cpush cur@0              | Points to sp_cursor_lex through m_lex_keeper
|   3 | copen cur@0              | Points to sp_cursor_lex through m_cursor
|   4 | cfetch cur@0 rec@0       |
|   5 | cclose cur@0             |
|   6 | cpop 1                   |
+-----+--------------------------+

Notice, "cursor_copy_struct" and "set" will go before "cpush".
Instructions at positions 0, 2, 3 point to the same sp_cursor_lex instance.
2017-04-05 15:02:59 +04:00
..
share MDEV-12133 sql_mode=ORACLE: table%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
add_errmsg
authors.h
bounded_queue.h Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
client_settings.h
CMakeLists.txt Adding an alternative grammar file sql_yacc_ora.yy for sql_mode=ORACLE 2017-04-05 15:01:59 +04:00
compat56.cc Fixed issues found by buildbot 2017-01-11 09:18:35 +02:00
compat56.h
contributors.h Update MariaDB Foundation sponsors 2017-02-28 17:15:36 +04:00
create_options.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
create_options.h Correct FSF address 2017-03-10 18:21:29 +01:00
custom_conf.h
datadict.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
datadict.h cleanup: change dd_frm_type() to return the engine name, not legacy_db_type 2017-03-10 18:21:23 +01:00
debug_sync.cc bugfix: DEBUG_SYNC() invoked with no THD 2017-02-27 12:35:10 +01:00
debug_sync.h Merge branch '10.1' into 10.2 2016-06-30 16:38:05 +02:00
derror.cc Merge branch '10.0' into 10.1 2016-08-25 12:40:09 +02:00
derror.h
des_key_file.cc
des_key_file.h
discover.cc
discover.h
encryption.cc MDEV-11288 Server crashes in Binlog_crypt_data::init trying to feed encrypted log without decryption capabilities 2016-12-06 09:45:50 +01:00
event_data_objects.cc
event_data_objects.h Use sql_mode_t for sql_mode. 2016-10-05 01:11:08 +03:00
event_db_repository.cc Merge branch '10.1' into 10.2 2017-02-10 17:01:45 +01:00
event_db_repository.h
event_parse_data.cc MDEV-12415 Remove sp_name::m_qname 2017-03-31 14:26:43 +04:00
event_parse_data.h
event_queue.cc
event_queue.h
event_scheduler.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
event_scheduler.h
events.cc
events.h
field_conv.cc MDEV-7769 MY_CHARSET_INFO refactoring# On branch 10.2 2016-10-10 14:36:09 +04:00
field.cc MDEV-10914 ROW data type for stored routine variables 2017-04-05 15:02:56 +04:00
field.h MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
filesort_utils.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
filesort_utils.h
filesort.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-02-27 10:07:59 +04:00
filesort.h MDEV-8989 ORDER BY optimizer ignores equality propagation 2016-07-01 16:44:17 +02:00
gcalc_slicescan.cc Correct FSF address 2017-03-10 18:21:29 +01:00
gcalc_slicescan.h Correct FSF address 2017-03-10 18:21:29 +01:00
gcalc_tools.cc Correct FSF address 2017-03-10 18:21:29 +01:00
gcalc_tools.h Correct FSF address 2017-03-10 18:21:29 +01:00
gen_lex_hash.cc
gen_lex_token.cc
group_by_handler.cc Correct FSF address 2017-03-10 18:21:29 +01:00
group_by_handler.h Correct FSF address 2017-03-10 18:21:29 +01:00
gstream.cc
gstream.h
ha_partition.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
ha_partition.h MariaRocks port: Remove handler::init_with_fields 2017-01-21 22:58:04 +03:00
handler.cc ha_start_consistent_snapshot() did not check for errors 2017-03-31 19:28:58 +02:00
handler.h Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-04-05 14:42:14 +04:00
hash_filo.cc
hash_filo.h
hostname.cc Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
hostname.h
init.cc
init.h
innodb_priv.h
item_buff.cc
item_cmpfunc.cc MDEV-10342 Providing compatibility for basic SQL built-in functions 2017-04-05 15:02:48 +04:00
item_cmpfunc.h MDEV-10342 Providing compatibility for basic SQL built-in functions 2017-04-05 15:02:48 +04:00
item_create.cc MDEV-12143 sql_mode=ORACLE: make the CONCAT function ignore NULL arguments 2017-04-05 15:02:57 +04:00
item_create.h
item_func.cc MDEV-10914 ROW data type for stored routine variables 2017-04-05 15:02:56 +04:00
item_func.h MDEV-10914 ROW data type for stored routine variables 2017-04-05 15:02:56 +04:00
item_geofunc.cc MDEV-11042 Implement GeoJSON functions. 2017-01-24 02:29:04 +04:00
item_geofunc.h MDEV-11042 Implement GeoJSON functions. 2017-01-24 02:29:04 +04:00
item_inetfunc.cc
item_inetfunc.h Merge branch '10.2-mdev9197-cons' of github.com:shagalla/server 2016-08-31 16:16:54 -07:00
item_jsonfunc.cc MDEV-12262 Assertion `!null_value' failed in virtual bool Item::send on 2017-03-20 15:18:06 +04:00
item_jsonfunc.h MDEV-11833 JSON functions don't seem to respect max_allowed_packet. 2017-03-14 17:31:14 +04:00
item_row.cc Merge branch '10.2-mdev9197-cons' of github.com:shagalla/server 2016-08-31 16:16:54 -07:00
item_row.h Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-04-05 14:42:14 +04:00
item_strfunc.cc MDEV-11880 sql_mode=ORACLE: Make the concatenation operator ignore NULL arguments 2017-04-05 15:02:55 +04:00
item_strfunc.h MDEV-12143 sql_mode=ORACLE: make the CONCAT function ignore NULL arguments 2017-04-05 15:02:57 +04:00
item_subselect.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-03-31 16:40:29 +04:00
item_subselect.h Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-03-31 16:40:29 +04:00
item_sum.cc MDEV-12239 Add Type_handler::Item_sum_{sum|avg|variance}_fix_length_and_dec() 2017-03-19 23:39:42 +04:00
item_sum.h MDEV-12338 Split Item_type_holder::get_real_type() into virtual Item::real_type_handler() 2017-03-24 17:52:55 +04:00
item_timefunc.cc MDEV-12303 Add Type_handler::Item_xxx_fix_length_and_dec() for CAST classes 2017-04-04 17:59:48 +04:00
item_timefunc.h MDEV-12303 Add Type_handler::Item_xxx_fix_length_and_dec() for CAST classes 2017-04-04 17:59:48 +04:00
item_windowfunc.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-02-27 10:07:59 +04:00
item_windowfunc.h MDEV-12338 Split Item_type_holder::get_real_type() into virtual Item::real_type_handler() 2017-03-24 17:52:55 +04:00
item_xmlfunc.cc MDEV-9143 JSON_xxx functions. 2016-10-19 14:10:03 +04:00
item_xmlfunc.h MDEV-9143 JSON_xxx functions. 2016-10-19 14:10:03 +04:00
item.cc MDEV-12133 sql_mode=ORACLE: table%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
item.h MDEV-12133 sql_mode=ORACLE: table%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
key.cc Merge branch '10.2' of github.com:MariaDB/server into bb-10.2-mariarocks 2017-03-11 20:12:15 +00:00
key.h MariaRocks port: make key_restore() parameter const 2016-10-16 11:01:01 +00:00
keycaches.cc
keycaches.h
lex_symbol.h
lex.h MDEV-12133 sql_mode=ORACLE: table%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
lock.cc MDEV-11227 - mysqlimport -l doesn't issue UNLOCK TABLES 2016-12-21 13:18:45 +04:00
lock.h
log_event_old.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
log_event_old.h
log_event.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
log_event.h Fix many -Wconversion warnings. 2017-03-07 19:07:27 +02:00
log_slow.h Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
log.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
log.h Fix many -Wconversion warnings. 2017-03-07 19:07:27 +02:00
main.cc
mdl.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
mdl.h MDEV-11227 - mysqlimport -l doesn't issue UNLOCK TABLES 2016-12-21 13:18:45 +04:00
mem_root_array.h
message.h
message.mc
message.rc
mf_iocache_encr.cc
mf_iocache.cc
MSG00001.bin
multi_range_read.cc Correct FSF address 2017-03-10 18:21:29 +01:00
multi_range_read.h Correct FSF address 2017-03-10 18:21:29 +01:00
my_apc.cc Correct FSF address 2017-03-10 18:21:29 +01:00
my_apc.h Correct FSF address 2017-03-10 18:21:29 +01:00
my_decimal.cc
my_decimal.h
my_json_writer.cc Correct FSF address 2017-03-10 18:21:29 +01:00
my_json_writer.h Correct FSF address 2017-03-10 18:21:29 +01:00
mysql_install_db.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
mysql_upgrade_service.cc Correct FSF address 2017-03-10 18:21:29 +01:00
mysqld_suffix.h
mysqld.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-03-31 16:40:29 +04:00
mysqld.h Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-03-31 16:40:29 +04:00
net_serv.cc Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
nt_servc.cc Windows : Fix server compile errors when compile with /Zc:strictStrings option 2017-02-28 12:57:33 +00:00
nt_servc.h Windows : Fix server compile errors when compile with /Zc:strictStrings option 2017-02-28 12:57:33 +00:00
opt_index_cond_pushdown.cc Correct FSF address 2017-03-10 18:21:29 +01:00
opt_range_mrr.cc Correct FSF address 2017-03-10 18:21:29 +01:00
opt_range.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-04-05 14:42:14 +04:00
opt_range.h MDEV-11836 vcol.vcol_keys_myisam fails in buildbot and outside 2017-02-13 18:12:04 +01:00
opt_subselect.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-03-31 16:40:29 +04:00
opt_subselect.h Correct FSF address 2017-03-10 18:21:29 +01:00
opt_sum.cc cleanup: handler::key_read 2017-02-13 18:12:05 +01:00
opt_table_elimination.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
parse_file.cc
parse_file.h Merge branch '10.0' into 10.1 2016-09-28 17:55:28 +02:00
partition_element.h MDEV-8348: Add catchall to all table partitioning for list partitions 2016-09-07 17:26:36 +02:00
partition_info.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
partition_info.h cleanup: remove dead (half-merged) code from partition_info.* 2016-12-12 20:27:27 +01:00
password.c Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
plistsort.c Correct FSF address 2017-03-10 18:21:29 +01:00
procedure.cc
procedure.h Merge branch '10.2-mdev9197-cons' of github.com:shagalla/server 2016-08-31 16:16:54 -07:00
protocol.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-03-18 14:20:06 +04:00
protocol.h
records.cc bugfix: uninit variable 2017-02-13 18:12:15 +01:00
records.h Allow READ_RECORD to make use of RAII and free itself on destruction 2017-02-14 07:46:58 +02:00
repl_failsafe.cc
repl_failsafe.h
replication.h
rpl_constants.h
rpl_filter.cc Merge branch '10.0' into 10.1 2016-12-11 09:53:42 +01:00
rpl_filter.h
rpl_gtid.cc Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
rpl_gtid.h
rpl_handler.cc
rpl_handler.h
rpl_injector.cc
rpl_injector.h
rpl_mi.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
rpl_mi.h Merge 10.0 into 10.1 2017-03-03 13:27:12 +02:00
rpl_parallel.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
rpl_parallel.h Merge 10.0 into 10.1 2017-03-03 13:27:12 +02:00
rpl_record_old.cc
rpl_record_old.h
rpl_record.cc Merge 10.1 to 10.2 2017-01-05 10:48:03 +02:00
rpl_record.h MDEV-11636 Extra persistent columns on slave always gets NULL in RBR 2017-01-01 17:38:41 +05:30
rpl_reporting.cc
rpl_reporting.h
rpl_rli.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
rpl_rli.h Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
rpl_tblmap.cc
rpl_tblmap.h
rpl_utility.cc
rpl_utility.h
scheduler.cc
scheduler.h
session_tracker.cc MDEV-6112 multiple triggers per table 2016-10-05 01:11:07 +03:00
session_tracker.h Fix many -Wconversion warnings. 2017-03-07 19:07:27 +02:00
set_var.cc MDEV-10411 Providing compatibility for basic PL/SQL constructs 2017-04-05 15:02:39 +04:00
set_var.h MDEV-10411 Providing compatibility for basic PL/SQL constructs 2017-04-05 15:02:39 +04:00
signal_handler.cc MDEV-11177 mysqlbinlog exits silently without error when another 2017-03-22 01:48:22 +04:00
slave.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
slave.h Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sp_cache.cc MDEV-12415 Remove sp_name::m_qname 2017-03-31 14:26:43 +04:00
sp_cache.h
sp_head.cc MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
sp_head.h MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
sp_pcontext.cc MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
sp_pcontext.h MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
sp_rcontext.cc MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
sp_rcontext.h MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
sp.cc MDEV-10411 Providing compatibility for basic PL/SQL constructs 2017-04-05 15:02:42 +04:00
sp.h Reusing code: Adding LEX::make_sp_head() and LEX::make_sp_head_no_recursive() 2017-04-05 15:02:41 +04:00
spatial.cc Fix several compile warnings on Windows 2017-03-10 19:07:07 +00:00
spatial.h MDEV-11042 Implement GeoJSON functions. 2017-01-24 22:39:55 +04:00
sql_acl.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_acl.h Fix many -Wconversion warnings. 2017-03-07 19:07:27 +02:00
sql_admin.cc MDEV-10555: Server crashes in mysql_admin_table upon killing ANALYZE 2017-03-13 15:31:12 +01:00
sql_admin.h
sql_alter.cc various cleanups 2016-06-30 11:43:02 +02:00
sql_alter.h Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_analyse.cc
sql_analyse.h
sql_analyze_stmt.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_analyze_stmt.h Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_array.h
sql_audit.cc fix build and some warnings 2016-11-24 17:36:02 +03:00
sql_audit.h Fix many -Wconversion warnings. 2017-03-07 19:07:27 +02:00
sql_base.cc MDEV-10577 sql_mode=ORACLE: %TYPE in variable declarations 2017-04-05 15:02:54 +04:00
sql_base.h MDEV-10577 sql_mode=ORACLE: %TYPE in variable declarations 2017-04-05 15:02:54 +04:00
sql_basic_types.h Use sql_mode_t for sql_mode. 2016-10-05 01:11:08 +03:00
sql_binlog.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_binlog.h
sql_bitmap.h
sql_bootstrap.cc
sql_bootstrap.h
sql_builtin.cc.in
sql_cache.cc MDEV-10766: Queries which start with WITH clause do not get inserted into query cache 2017-03-15 20:15:31 +05:30
sql_cache.h Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
sql_callback.h
sql_class.cc MDEV-10914 ROW data type for stored routine variables 2017-04-05 15:02:56 +04:00
sql_class.h MDEV-12133 sql_mode=ORACLE: table%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
sql_client.cc
sql_cmd.h MDEV-10585 EXECUTE IMMEDIATE statement 2016-10-08 12:32:52 +04:00
sql_connect.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_connect.h
sql_const.h MDEV-10524 Assertion `arg1_int >= 0' failed in Item_func_additive_op::result_precision() 2016-12-19 14:28:08 +04:00
sql_crypt.cc
sql_crypt.h
sql_cte.cc Fixed bug mdev-12360. 2017-03-26 23:00:28 -07:00
sql_cte.h MDEV-10141: Add support for INTERSECT (and common parts for EXCEPT) 2017-03-14 11:52:00 +01:00
sql_cursor.cc MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
sql_cursor.h MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
sql_db.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-03-31 16:40:29 +04:00
sql_db.h MDEV-12392 Duplicate code cleanup: add function normalize_db_name() 2017-03-29 17:22:49 +04:00
sql_delete.cc MDEV-11836 vcol.vcol_keys_myisam fails in buildbot and outside 2017-02-13 18:12:04 +01:00
sql_delete.h
sql_derived.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-03-31 16:40:29 +04:00
sql_derived.h The consolidated patch for mdev-9197. 2016-08-23 00:39:12 +03:00
sql_digest_stream.h
sql_digest.cc
sql_digest.h
sql_do.cc
sql_do.h
sql_error.cc MDEV-10587 sql_mode=ORACLE: User defined exceptions 2017-04-05 15:02:53 +04:00
sql_error.h MDEV-10587 sql_mode=ORACLE: User defined exceptions 2017-04-05 15:02:53 +04:00
sql_explain.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-03-31 16:40:29 +04:00
sql_explain.h Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-03-31 16:40:29 +04:00
sql_expression_cache.cc Correct FSF address 2017-03-10 18:21:29 +01:00
sql_expression_cache.h Correct FSF address 2017-03-10 18:21:29 +01:00
sql_get_diagnostics.cc
sql_get_diagnostics.h
sql_handler.cc Removed usage of my_hash_search() with uninitialized HASH. 2017-01-11 09:18:35 +02:00
sql_handler.h
sql_help.cc Use sql_mode_t for sql_mode. 2016-10-05 01:11:08 +03:00
sql_help.h
sql_hset.h remove my_hash_const_element(), use Hash_set in C++ code 2017-03-31 19:22:19 +02:00
sql_insert.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_insert.h MDEV-11698 Old Bug possibly not fixed; BEFORE INSERT Trigger on NOT NULL 2017-01-17 20:16:09 +01:00
sql_join_cache.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_join_cache.h Correct FSF address 2017-03-10 18:21:29 +01:00
sql_lex.cc MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
sql_lex.h MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
sql_lifo_buffer.h Correct FSF address 2017-03-10 18:21:29 +01:00
sql_list.cc
sql_list.h MDEV-10914 ROW data type for stored routine variables 2017-04-05 15:02:56 +04:00
sql_load.cc Merge branch '10.0' into 10.1 2017-01-16 03:18:14 +02:00
sql_load.h
sql_locale.cc
sql_locale.h Merge branch '10.1' into 10.2 2016-06-30 16:38:05 +02:00
sql_manager.cc
sql_manager.h
sql_parse.cc Adding an alternative grammar file sql_yacc_ora.yy for sql_mode=ORACLE 2017-04-05 15:01:59 +04:00
sql_parse.h Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-03-31 16:40:29 +04:00
sql_partition_admin.cc
sql_partition_admin.h
sql_partition.cc MDEV-11681: PARTITION BY LIST COLUMNS with default partition: Assertion `part_info->num_list_values' failed in get_part_iter_for_interval_cols_via_map 2017-02-08 10:22:42 +01:00
sql_partition.h cleanup: set_field_ptr() 2016-12-12 20:27:33 +01:00
sql_plist.h
sql_plugin_compat.h
sql_plugin_services.ic Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_plugin.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_plugin.h Fix many -Wconversion warnings. 2017-03-07 19:07:27 +02:00
sql_prepare.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_prepare.h MDEV-9114: Bulk operations (Array binding) 2016-11-02 15:07:52 +01:00
sql_priv.h MDEV-10174: Make the fix for MDEV-8989 enabled by default in 10.2 2016-09-24 15:27:56 +03:00
sql_profile.cc
sql_profile.h
sql_reload.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_reload.h
sql_rename.cc Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
sql_rename.h
sql_repl.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_repl.h Set server_id to 1 by default and disallow to set it to 0 2016-08-29 20:28:06 +03:00
sql_select.cc MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
sql_select.h MDEV-10577 sql_mode=ORACLE: %TYPE in variable declarations 2017-04-05 15:02:54 +04:00
sql_servers.cc
sql_servers.h
sql_show.cc MDEV-10577 sql_mode=ORACLE: %TYPE in variable declarations 2017-04-05 15:02:54 +04:00
sql_show.h MDEV-8931: (server part of) session state tracking 2016-08-31 17:17:46 +02:00
sql_signal.cc MDEV-10587 sql_mode=ORACLE: User defined exceptions 2017-04-05 15:02:53 +04:00
sql_signal.h MDEV-11037 Diagnostics_area refactoring for user defined exceptions 2017-04-05 15:02:53 +04:00
sql_sort.h
sql_state.c
sql_statistics.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_statistics.h MDEV-10957: Assertion failure when dropping a myisam table 2016-12-19 15:55:55 -05:00
sql_string.cc MDEV-11298 Split Item_func_hex::val_str_ascii() into virtual methods in Type_handler 2016-12-16 18:33:54 +04:00
sql_string.h Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-03-08 23:47:20 +04:00
sql_table.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-03-31 16:40:29 +04:00
sql_table.h Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-03-08 23:47:20 +04:00
sql_tablespace.cc
sql_tablespace.h
sql_test.cc MDEV-10914 ROW data type for stored routine variables 2017-04-05 15:02:56 +04:00
sql_test.h
sql_time.cc Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
sql_time.h MDEV-10524 Assertion `arg1_int >= 0' failed in Item_func_additive_op::result_precision() 2016-12-19 14:28:08 +04:00
sql_trigger.cc Merge branch '10.1' into 10.2 2017-02-10 17:01:45 +01:00
sql_trigger.h Fix many -Wconversion warnings. 2017-03-07 19:07:27 +02:00
sql_truncate.cc
sql_truncate.h
sql_type.cc MDEV-10914 ROW data type for stored routine variables 2017-04-05 15:02:56 +04:00
sql_type.h MDEV-12303 Add Type_handler::Item_xxx_fix_length_and_dec() for CAST classes 2017-04-04 17:59:48 +04:00
sql_udf.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql_udf.h
sql_union.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-03-29 07:24:05 +04:00
sql_union.h
sql_update.cc find_all_keys: add an assert, remove current_thd 2017-02-13 18:12:05 +01:00
sql_update.h
sql_view.cc MDEV-10141: Add support for INTERSECT (and common parts for EXCEPT) 2017-03-14 11:52:00 +01:00
sql_view.h
sql_window.cc MDEV-11868: min ( distinct ) over ( ) returns wrong value 2017-02-15 14:09:27 +02:00
sql_window.h Fixed bug mdev-10868. 2016-09-30 17:40:40 -07:00
sql_yacc_ora.yy MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
sql_yacc.yy MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
strfunc.cc
strfunc.h
structs.h MDEV-10914 ROW data type for stored routine variables 2017-04-05 15:02:56 +04:00
sys_vars_shared.h
sys_vars.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sys_vars.ic Merge branch '10.1' into 10.2 2017-02-10 17:01:45 +01:00
table_cache.cc Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
table_cache.h MDEV-10296 - Multi-instance table cache 2016-09-16 18:41:21 +04:00
table.cc MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
table.h MDEV-12011 sql_mode=ORACLE: cursor%ROWTYPE in variable declarations 2017-04-05 15:02:59 +04:00
temporary_tables.cc cleanup: unused open_table_from_share() flags 2016-12-12 20:27:30 +01:00
thr_malloc.cc
thr_malloc.h
threadpool_common.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
threadpool_generic.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
threadpool_win.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
threadpool.h Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
transaction.cc Fixed embedded server. 2016-09-08 22:41:50 +02:00
transaction.h Fixed embedded server. 2016-09-08 22:41:50 +02:00
tzfile.h
tztime.cc
tztime.h
udf_example.c
udf_example.def
uniques.cc
uniques.h
unireg.cc Fix several compile warnings on Windows 2017-03-10 19:07:07 +00:00
unireg.h cleanup: unused open_table_from_share() flags 2016-12-12 20:27:30 +01:00
winservice.c Correct FSF address 2017-03-10 18:21:29 +01:00
winservice.h Correct FSF address 2017-03-10 18:21:29 +01:00
wsrep_applier.cc Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
wsrep_applier.h Correct FSF address 2017-03-10 18:21:29 +01:00
wsrep_binlog.cc Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
wsrep_binlog.h Merge branch '10.0-galera' into bb-10.1-serg 2016-08-25 15:39:39 -04:00
wsrep_check_opts.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
wsrep_dummy.cc
wsrep_hton.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
wsrep_mysqld.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
wsrep_mysqld.h Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
wsrep_notify.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
wsrep_priv.h Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
wsrep_sst.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
wsrep_sst.h MDEV-10492: Assertion failure on shutdown when wsrep_sst_auth set in config 2016-08-03 13:36:12 -04:00
wsrep_thd.cc MDEV-9114: Bulk operations (Array binding) 2016-11-02 15:07:52 +01:00
wsrep_thd.h
wsrep_utils.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
wsrep_utils.h Merge branch '10.1' into 10.2 2016-06-30 16:38:05 +02:00
wsrep_var.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
wsrep_var.h Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
wsrep_xid.cc Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
wsrep_xid.h