mariadb/sql
unknown 4deedf6263 Implemented SP CONDITIONs and HANDLERs, with the extension of handling
MySQL error codes as well.
(No UNDO HANDLERs yet, and no SIGNAL or RESIGNAL.)
WL#850


Docs/sp-imp-spec.txt:
  Spec of CONDITIONs and HANDLERs (and updated some old stuff too).
Docs/sp-implemented.txt:
  Updated info about caching, CONDITIONs and HANDLERs.
include/mysqld_error.h:
  New error for undeclared CONDITION.
libmysqld/Makefile.am:
  New file: sp_rcontext.cc.
mysql-test/r/sp-error.result:
  New tests for CONDITIONs and HANDLERs.
mysql-test/r/sp.result:
  New tests for CONDITIONs and HANDLERs.
mysql-test/t/sp-error.test:
  New tests for CONDITIONs and HANDLERs.
mysql-test/t/sp.test:
  New tests for CONDITIONs and HANDLERs.
sql/Makefile.am:
  New file: sp_rcontext.cc.
sql/lex.h:
  New symbols for CONDITIONs, HANDLERs and CURSORs.
sql/mysqld.cc:
  Catch error if we have a handler for it.
sql/protocol.cc:
  Catch error if we have a handler for it.
sql/share/czech/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/danish/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/dutch/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/english/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/estonian/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/french/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/german/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/greek/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/hungarian/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/italian/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/japanese/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/korean/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/norwegian-ny/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/norwegian/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/polish/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/portuguese/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/romanian/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/russian/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/serbian/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/slovak/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/spanish/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/swedish/errmsg.txt:
  New error for undeclared CONDITION.
sql/share/ukrainian/errmsg.txt:
  New error for undeclared CONDITION.
sql/sp_head.cc:
  New HANDLER code.
sql/sp_head.h:
  New HANDLER code.
sql/sp_pcontext.cc:
  New CONDITION and HANDLER code.
sql/sp_pcontext.h:
  New CONDITION and HANDLER code.
sql/sp_rcontext.h:
  New CONDITION and HANDLER code.
sql/sql_yacc.yy:
  New CONDITION and HANDLER code.
2003-09-16 14:26:08 +02:00
..
share Implemented SP CONDITIONs and HANDLERs, with the extension of handling 2003-09-16 14:26:08 +02:00
.cvsignore
add_errmsg
client_settings.h Last part of resolving conflicts after pull 2003-06-18 10:34:09 +05:00
custom_conf.h
derror.cc
des_key_file.cc Merge with 4.0.11 2003-02-04 21:52:14 +02:00
field.cc merge 2003-08-19 00:10:21 +03:00
field.h Merge with 4.0.14 2003-08-11 22:44:43 +03:00
field_conv.cc Merge with 4.0.14 2003-08-11 22:44:43 +03:00
filesort.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
frm_crypt.cc
gen_lex_hash.cc Merge 2003-08-05 16:08:36 +03:00
gstream.cc postreview fix (SCRUM) 2002-12-28 01:01:05 +02:00
gstream.h Portability fixes 2003-02-27 03:44:44 +02:00
ha_berkeley.cc SCRUM 2003-03-31 13:39:46 +05:00
ha_berkeley.h Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1 2003-02-18 16:28:31 +02:00
ha_heap.cc
ha_heap.h Merge with 4.0.13 2003-05-19 16:35:49 +03:00
ha_innodb.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
ha_innodb.h Merge with 4.0.14 2003-08-11 22:44:43 +03:00
ha_isam.cc Give warning if MySQL doesn't honor given storage engine 2003-05-13 11:15:11 +03:00
ha_isam.h Give warning if MySQL doesn't honor given storage engine 2003-05-13 11:15:11 +03:00
ha_isammrg.cc
ha_isammrg.h
ha_myisam.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
ha_myisam.h Many files: 2003-06-12 04:29:02 -07:00
ha_myisammrg.cc Allow one to use MERGE tables with tables from different databases 2003-06-27 16:29:10 +03:00
ha_myisammrg.h After merge fixes 2003-08-19 00:08:08 +03:00
handler.cc Merge with 4.0.14 2003-08-11 22:44:43 +03:00
handler.h Merge with 4.0.14 2003-08-11 22:44:43 +03:00
hash_filo.cc
hash_filo.h sql_acl.cc, item.h: 2003-03-07 12:21:32 +04:00
hostname.cc sql_acl.cc, item.h: 2003-03-07 12:21:32 +04:00
init.cc Merge with 4.0.13 2003-05-19 16:35:49 +03:00
item.cc Post-merge fixes. 2003-08-26 17:41:40 +02:00
item.h Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
item_buff.cc Old style charset() and set_charset() were removed. 2003-08-05 12:52:37 +05:00
item_cmpfunc.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
item_cmpfunc.h merge 2003-08-19 20:14:35 +03:00
item_create.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
item_create.h CAST(expr AS CHAR(10)) is now working 2003-08-21 14:15:25 +05:00
item_func.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
item_func.h Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
item_geofunc.cc Renamed xxx_as_text() and xxx__from_text(). 2003-06-20 14:53:37 +05:00
item_geofunc.h Renamed xxx_as_text() and xxx__from_text(). 2003-06-20 14:53:37 +05:00
item_row.cc Item tree iterator 2003-07-02 13:12:18 +03:00
item_row.h Item tree iterator 2003-07-02 13:12:18 +03:00
item_strfunc.cc Merge with 4.0.14 2003-08-11 22:44:43 +03:00
item_strfunc.h merge 2003-08-11 11:51:33 +03:00
item_subselect.cc Post-merge fixes. 2003-08-26 17:41:40 +02:00
item_subselect.h As far as now transformer called after setup_wild() it is impossible to have '*' 2003-08-16 02:04:29 +03:00
item_sum.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
item_sum.h fixed memory leak 2003-07-16 14:11:35 +03:00
item_timefunc.cc CAST(expr AS CHAR(10)) is now working 2003-08-21 14:15:25 +05:00
item_timefunc.h CAST(expr AS CHAR(10)) is now working 2003-08-21 14:15:25 +05:00
item_uniq.cc
item_uniq.h Added SQLSTATE to client/server protocol 2003-06-04 18:28:51 +03:00
key.cc Merge with 4.0.12 2003-03-19 22:25:44 +02:00
lex.h Implemented SP CONDITIONs and HANDLERs, with the extension of handling 2003-09-16 14:26:08 +02:00
lex_symbol.h
lock.cc SCRUM 2003-04-08 19:18:33 +05:00
log.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
log_event.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
log_event.h Merge with 4.0.14 2003-08-11 22:44:43 +03:00
Makefile.am Implemented SP CONDITIONs and HANDLERs, with the extension of handling 2003-09-16 14:26:08 +02:00
matherr.c
mf_iocache.cc Merge with 4.0 2003-03-16 19:17:54 +02:00
my_lock.c Fixes for Netware 2003-01-28 08:38:28 +02:00
mysql_priv.h Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
mysqld.cc Implemented SP CONDITIONs and HANDLERs, with the extension of handling 2003-09-16 14:26:08 +02:00
net_serv.cc Merge with 4.0.14 2003-08-11 22:44:43 +03:00
nt_servc.cc Fix error msg. Bug #681 2003-06-19 12:38:14 -04:00
nt_servc.h
opt_ft.cc
opt_ft.h
opt_range.cc After merge fixes 2003-08-19 00:08:08 +03:00
opt_range.h ORDER BY optimization 2003-05-27 18:40:37 +03:00
opt_sum.cc After merge fixes 2003-05-21 21:39:58 +03:00
password.c After merge fixes 2003-03-20 21:35:03 +02:00
procedure.cc
procedure.h Strings which appear without charset context, 2003-03-03 10:53:08 +04:00
protocol.cc Implemented SP CONDITIONs and HANDLERs, with the extension of handling 2003-09-16 14:26:08 +02:00
protocol.h After merge fixes + bugs from last merge 2003-08-19 16:00:12 +03:00
protocol_cursor.cc SCRUM 2003-04-23 19:37:33 +05:00
records.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
repl_failsafe.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
repl_failsafe.h Merge with 4.0 2003-03-16 19:17:54 +02:00
set_var.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
set_var.h After merge fixes 2003-08-19 00:08:08 +03:00
slave.cc Post-merge fixes. 2003-08-26 17:41:40 +02:00
slave.h Merge with 4.0.14 2003-08-11 22:44:43 +03:00
sp.cc Merging 4.1 into 5.0 (second pass; post-merge fixes). 2003-07-09 17:07:12 +02:00
sp.h SP cache (WL#730). (Mostly by vva, additions by pem.) 2003-07-01 18:14:24 +02:00
sp_cache.cc Add the new sp cache files too (should have been in previous changeset). 2003-07-03 16:01:31 +02:00
sp_cache.h Add the new sp cache files too (should have been in previous changeset). 2003-07-03 16:01:31 +02:00
sp_head.cc Implemented SP CONDITIONs and HANDLERs, with the extension of handling 2003-09-16 14:26:08 +02:00
sp_head.h Implemented SP CONDITIONs and HANDLERs, with the extension of handling 2003-09-16 14:26:08 +02:00
sp_pcontext.cc Implemented SP CONDITIONs and HANDLERs, with the extension of handling 2003-09-16 14:26:08 +02:00
sp_pcontext.h Implemented SP CONDITIONs and HANDLERs, with the extension of handling 2003-09-16 14:26:08 +02:00
sp_rcontext.cc Implemented SP CONDITIONs and HANDLERs, with the extension of handling 2003-09-16 14:26:08 +02:00
sp_rcontext.h Implemented SP CONDITIONs and HANDLERs, with the extension of handling 2003-09-16 14:26:08 +02:00
spatial.cc Renamed xxx_as_text() and xxx__from_text(). 2003-06-20 14:53:37 +05:00
spatial.h Renamed xxx_as_text() and xxx__from_text(). 2003-06-20 14:53:37 +05:00
sql_acl.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
sql_acl.h Merge with 4.0.14 2003-08-11 22:44:43 +03:00
sql_analyse.cc Old style charset() and set_charset() were removed. 2003-08-05 12:52:37 +05:00
sql_analyse.h There is no Item->binary() anymore. It was remain from 4.0. 2003-07-02 18:34:43 +05:00
sql_base.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
sql_cache.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
sql_cache.h Merge with 4.0.14 2003-08-11 22:44:43 +03:00
sql_class.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
sql_class.h Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
sql_client.cc Some mistakes fixed 2003-07-14 16:38:51 +05:00
sql_crypt.cc - renamed "rnd" to "my_rnd" as the name was too generic (and is an exported 2003-03-18 22:14:02 +01:00
sql_crypt.h
sql_db.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
sql_delete.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
sql_derived.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
sql_do.cc fixed subselects with temporary tables (SCRUM) 2003-01-25 02:25:52 +02:00
sql_error.cc Merge 4.1 into 5.0 (first pass). 2003-07-08 17:50:23 +02:00
sql_handler.cc After merge fixes 2003-08-19 00:08:08 +03:00
sql_help.cc Fixed some new memory leaks 2003-06-24 12:10:35 +03:00
sql_insert.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
sql_lex.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
sql_lex.h Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
sql_list.cc Don't install signal handler for SIGINT by default 2003-06-10 21:42:29 +03:00
sql_list.h Merge with 4.0.14 2003-08-11 22:44:43 +03:00
sql_load.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
sql_manager.cc
sql_manager.h
sql_map.cc
sql_map.h
sql_olap.cc subselect transformation moved in after-fix_field place 2003-05-14 21:51:33 +03:00
sql_parse.cc Adopt to the introduction of a separate CLIENT_MULTI_RESULTS flag. 2003-08-27 17:04:33 +02:00
sql_prepare.cc Merge 4.1 into 5.0 (first pass). 2003-07-08 17:50:23 +02:00
sql_rename.cc Safety and speedup fixes: 2003-07-14 10:12:05 +03:00
sql_repl.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
sql_repl.h Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
sql_select.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
sql_select.h Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 2003-08-13 10:12:41 +03:00
sql_show.cc Merge 4.1 into 5.0 2003-08-26 11:51:09 +02:00
sql_sort.h Many files: 2003-04-24 14:33:33 +03:00
sql_state.c Added SQLSTATE to client/server protocol 2003-06-04 18:28:51 +03:00
sql_string.cc SAPDB date/time finctions 2003-07-08 15:06:05 +05:00
sql_string.h SAPDB date/time finctions 2003-07-08 15:06:05 +05:00
sql_table.cc Post-merge fixes. 2003-08-26 17:41:40 +02:00
sql_test.cc Fixed bug in allocation memory in key cache. (Memory was not properly aligned which cased core dumps on sparc CPU's) 2003-03-25 02:37:41 +02:00
sql_udf.cc INSERT ... UPDATE ... VALUES() 2003-05-03 01:16:56 +02:00
sql_udf.h change structure of udf_func and parameter of functions mysql_drop_func and add_func (SCRUM) 2003-01-09 18:09:21 +05:00
sql_union.cc Post-merge fixes. 2003-08-26 17:41:40 +02:00
sql_update.cc Post-merge fixes. 2003-08-26 17:41:40 +02:00
sql_yacc.yy Implemented SP CONDITIONs and HANDLERs, with the extension of handling 2003-09-16 14:26:08 +02:00
stacktrace.c Merge with 4.0 2003-03-16 19:17:54 +02:00
stacktrace.h
structs.h Many files: 2003-04-24 14:33:33 +03:00
table.cc After merge fixes + bugs from last merge 2003-08-19 16:00:12 +03:00
table.h merge 2003-08-19 20:14:35 +03:00
thr_malloc.cc After merge fixes 2003-05-21 21:39:58 +03:00
time.cc SAPDB date/time finctions 2003-07-08 15:06:05 +05:00
udf_example.cc Fix for the bug #537 (UDF example broken on 4.1). 2003-05-30 13:03:00 +05:00
uniques.cc Merge with 4.0.14 2003-08-11 22:44:43 +03:00
unireg.cc Remove FORCE_INIT_OF_VARS when compiling for valgrind/purify to spot wrong LINT_INIT() options 2003-06-30 13:23:54 +03:00
unireg.h Fix: create table t1 (a char(10) character set cp1251) SELECT _koi8r'blabla' as a 2003-08-11 18:18:34 +05:00
watchdog_mysqld