mariadb/sql
dlenev@brandersnatch.localdomain 007a205918 Fix for bugs:
#5860 "Multi-table UPDATE does not activate update triggers"
 #6812 "Triggers are not activated for INSERT ... SELECT"
 #8755 "Trigger is not activated by LOAD DATA".
This patch also implements proper handling of triggers for special forms
of insert like REPLACE or INSERT ... ON DUPLICATE KEY UPDATE. 
Also now we don't call after trigger in case when we have failed to
inserted/update or delete row. Trigger failure should stop statement
execution.

I have not properly tested handling of errors which happen inside of
triggers in this patch, since it is simplier to do this once we will be
able to access tables from triggers.
2005-05-24 22:19:33 +04:00
..
examples Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
share A fix and test case for Bug#9478 "mysql_stmt_attr_set mysql_stmt_execute" 2005-05-12 11:16:12 +04:00
.cvsignore
add_errmsg
client_settings.h
custom_conf.h
derror.cc Remove compiler warnings and remove not used variables 2005-02-25 16:53:22 +02:00
des_key_file.cc
discover.cc
field.cc Fixed bug 10465. 2005-05-12 17:37:38 +03:00
field.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
field_conv.cc Bit type support for non-MyISAM tables. 2005-04-12 12:27:43 +05:00
filesort.cc Moved some old test and added a new test to only be run with mysql-test-run --big 2005-04-07 19:24:14 +03:00
frm_crypt.cc
gen_lex_hash.cc After merge fixes 2004-12-31 00:44:00 +02:00
gstream.cc
gstream.h
ha_berkeley.cc Fixes while reviewing new code 2005-05-06 11:39:30 +03:00
ha_berkeley.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
ha_blackhole.cc Merge 2005-05-08 22:52:55 +02:00
ha_blackhole.h BUG#10241 cygwin port: invalid pragma interface directives 2005-05-04 15:05:56 +02:00
ha_federated.cc BUG#9714 libsupc++ problem 2005-04-27 11:25:08 +02:00
ha_federated.h Chmod -x for ha_federated.h 2005-03-05 00:35:00 +03:00
ha_heap.cc Merge 2005-05-07 08:25:58 -07:00
ha_heap.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
ha_innodb.cc merge 2005-05-06 13:51:58 +03:00
ha_innodb.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
ha_myisam.cc BUG#9714 libsupc++ problem 2005-04-27 11:25:08 +02:00
ha_myisam.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
ha_myisammrg.cc BUG#5964 - 4.1 MERGE tables regression from 4.0 2005-04-29 10:59:34 +02:00
ha_myisammrg.h BUG#10241 cygwin port: invalid pragma interface directives 2005-05-04 15:05:56 +02:00
ha_ndbcluster.cc Removed call to cond_push for empty cond 2005-05-08 22:42:40 +02:00
ha_ndbcluster.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
handler.cc Fixes while reviewing new code 2005-05-06 11:39:30 +03:00
handler.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
hash_filo.cc
hash_filo.h
hostname.cc A fix for Bug#8467. 2005-05-06 12:18:37 +03:00
init.cc
item.cc Fix for bugs: 2005-05-24 22:19:33 +04:00
item.h Fix for bugs: 2005-05-24 22:19:33 +04:00
item_buff.cc Fixed failing test cases 'row.test' when running with --ps-protocol 2005-02-15 16:45:00 +02:00
item_cmpfunc.cc merge 2005-05-06 13:51:58 +03:00
item_cmpfunc.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
item_create.cc Merge mdk10.(none):/home/reggie/bk/mysql-4.1 2005-04-11 09:29:49 -05:00
item_create.h Precision Math implementation 2005-02-09 02:50:45 +04:00
item_func.cc Manual merge of fix for bug #9913 into 5.0 tree. 2005-05-09 16:21:57 +04:00
item_func.h Manual merge of fix for bug #9913 into 5.0 tree. 2005-05-09 16:21:57 +04:00
item_geofunc.cc Fix for #6553 and #8776 (no errors on bad spatial data) 2005-04-29 20:23:02 +05:00
item_geofunc.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
item_row.cc Invalid DEFAULT values for CREATE TABLE now generates errors. (Bug #5902) 2005-04-01 15:04:50 +03:00
item_row.h Precision Math implementation 2005-02-09 02:50:45 +04:00
item_strfunc.cc Merge 2005-05-09 11:28:57 -07:00
item_strfunc.h Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1 2005-05-10 10:49:50 +02:00
item_subselect.cc postmerge 4.1->5.0 fixes 2005-04-01 02:14:30 +03:00
item_subselect.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
item_sum.cc Manual merge of fix for bug #9913 into 5.0 tree. 2005-05-09 16:21:57 +04:00
item_sum.h Manual merge of fix for bug #9913 into 5.0 tree. 2005-05-09 16:21:57 +04:00
item_timefunc.cc Merge mysql.com:/home/dlenev/src/mysql-4.1-bg10040 2005-04-25 11:35:30 +04:00
item_timefunc.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
item_uniq.cc Precision Math implementation 2005-02-09 02:50:45 +04:00
item_uniq.h Precision Math implementation 2005-02-09 02:50:45 +04:00
key.cc Fixes while reviewing new code 2005-05-06 11:39:30 +03:00
lex.h BUG#3190 fix (request for STDDEV_SAMP, VAR_SAMP). 2005-02-25 22:19:04 +04:00
lex_symbol.h
lock.cc Bug#7823 - FLUSH TABLES WITH READ LOCK + INSERT DELAYED = deadlock 2005-04-27 22:58:11 +02:00
log.cc Fixes while reviewing new code 2005-05-06 11:39:30 +03:00
log_event.cc Approximative fixes for BUG#2610,2611,9100 i.e. WL#2146 binlogging/replication of routines (stored procs and functions). 2005-05-05 14:20:53 +02:00
log_event.h Approximative fixes for BUG#2610,2611,9100 i.e. WL#2146 binlogging/replication of routines (stored procs and functions). 2005-05-05 14:20:53 +02:00
Makefile.am Invalid DEFAULT values for CREATE TABLE now generates errors. (Bug #5902) 2005-04-01 15:04:50 +03:00
matherr.c
mf_iocache.cc
my_decimal.cc Trimmed fix for bug #9546 (Crashing with huge decimals) 2005-05-06 19:04:58 +05:00
my_decimal.h A lot of fixes to Precision math 2005-05-05 20:06:49 +05:00
my_lock.c
mysql_priv.h Fix for bugs: 2005-05-24 22:19:33 +04:00
mysqld.cc merge 2005-05-06 13:51:58 +03:00
mysqld_suffix.h
net_serv.cc Merge bk-internal.mysql.com:/users/rburnett/bug9721 2005-05-06 15:15:48 +02:00
nt_servc.cc
nt_servc.h cleaned up mysql installation code for windows. 2005-02-09 22:02:48 +02:00
opt_range.cc Fix for bug #9798: Rollup crash with InnoDB in setup_sum_funcs(). 2005-05-09 11:43:52 +05:00
opt_range.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
opt_sum.cc Fixes while reviewing new code 2005-05-06 11:39:30 +03:00
parse_file.cc
parse_file.h
password.c Merge with 4.1 2004-12-22 13:54:39 +02:00
procedure.cc Precision Math implementation 2005-02-09 02:50:45 +04:00
procedure.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
protocol.cc Merge mysql.com:/home/psergey/mysql-4.1-bug9228 2005-05-01 19:07:01 +04:00
protocol.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
protocol_cursor.cc Fixed BUILD script to use --with-berkeley-db instead of --with-bdb 2005-02-19 18:58:27 +02:00
records.cc Moved some old test and added a new test to only be run with mysql-test-run --big 2005-04-07 19:24:14 +03:00
repl_failsafe.cc First stage of table definition cache 2005-01-06 13:00:13 +02:00
repl_failsafe.h
set_var.cc Merge 2005-05-05 20:10:50 +05:00
set_var.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
slave.cc Approximative fixes for BUG#2610,2611,9100 i.e. WL#2146 binlogging/replication of routines (stored procs and functions). 2005-05-05 14:20:53 +02:00
slave.h merge from 4.1 2005-03-24 14:32:40 +01:00
sp.cc Approximative fixes for BUG#2610,2611,9100 i.e. WL#2146 binlogging/replication of routines (stored procs and functions). 2005-05-05 14:20:53 +02:00
sp.h Better approach for prelocking of tables for stored routines execution 2005-03-04 16:35:28 +03:00
sp_cache.cc
sp_cache.h
sp_head.cc merge 2005-05-06 13:51:58 +03:00
sp_head.h Merge in fix Bug#3788 2005-03-08 22:32:09 +00:00
sp_pcontext.cc Fixed BUG#9073: Able to declare two handlers for same condition in same scope 2005-04-08 19:58:04 +02:00
sp_pcontext.h Fixed BUG#9856: Stored procedures: crash if handler for sqlexception, not found. 2005-04-13 16:57:49 +02:00
sp_rcontext.cc Fixed BUG#9598: stored procedure call within stored procedure 2005-04-14 14:52:35 +02:00
sp_rcontext.h Fixed BUG#9598: stored procedure call within stored procedure 2005-04-14 14:52:35 +02:00
spatial.cc Fix for #6553 and #8776 (no errors on bad spatial data) 2005-04-29 20:23:02 +05:00
spatial.h Fix for #6553 and #8776 (no errors on bad spatial data) 2005-04-29 20:23:02 +05:00
sql_acl.cc Fix for bug #9838: INFORMATION_SCHEMA.COLUMNS columns of granted views missing 2005-05-07 13:55:46 +00:00
sql_acl.h sql_acl.cc, sql_acl.h, sql_parse.cc 2005-03-22 15:54:18 +01:00
sql_analyse.cc Remove compiler warnings and remove not used variables 2005-02-25 16:53:22 +02:00
sql_analyse.h Precision Math implementation 2005-02-09 02:50:45 +04:00
sql_base.cc Fix for bugs: 2005-05-24 22:19:33 +04:00
sql_bitmap.h terminal.c, sql_bitmap.h, my_sys.h, configure.in, config.h: 2005-05-05 09:15:14 +02:00
sql_cache.cc Clean up merge from 4.1 2005-05-02 10:19:37 -07:00
sql_cache.h merge 2005-02-07 21:39:37 +02:00
sql_class.cc mysql-test/r/flush_block_commit.result 2005-04-12 23:08:19 +02:00
sql_class.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
sql_client.cc
sql_crypt.cc
sql_crypt.h
sql_db.cc BUG#9455 mysqladmin status crash the server 2005-04-14 11:56:13 +02:00
sql_delete.cc Fix for bugs: 2005-05-24 22:19:33 +04:00
sql_derived.cc Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 2005-04-01 13:02:29 +03:00
sql_do.cc Merge with 4.1 2004-12-22 13:54:39 +02:00
sql_error.cc Fixed BUG#9004: Inconsistent behaviour of SP re. warnings 2005-04-22 12:53:48 +02:00
sql_error.h Invalid DEFAULT values for CREATE TABLE now generates errors. (Bug #5902) 2005-04-01 15:04:50 +03:00
sql_handler.cc Better approach for prelocking of tables for stored routines execution 2005-03-04 16:35:28 +03:00
sql_help.cc Eliminate warnings noticed by VC7. This includes fixing my_mmap() on 2005-03-18 16:12:25 -08:00
sql_insert.cc Fix for bugs: 2005-05-24 22:19:33 +04:00
sql_lex.cc BUG#9922 - INSERT SELECT with UNIONs allows concurrent INSERTs 2005-04-15 19:20:15 +02:00
sql_lex.h Fix for bug #9486 "Can't perform multi-update in stored procedure". 2005-04-15 20:31:47 +04:00
sql_list.cc
sql_list.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
sql_load.cc Fix for bugs: 2005-05-24 22:19:33 +04:00
sql_manager.cc
sql_manager.h
sql_map.cc A fix (mysql_priv.h should be included first) 2005-02-24 12:17:59 +04:00
sql_map.h
sql_olap.cc post-merge fix 2004-11-25 02:23:13 +02:00
sql_parse.cc Manual merge 2005-05-10 16:41:47 -07:00
sql_prepare.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-05-12 11:17:38 +04:00
sql_rename.cc Cleanup during reviews 2005-03-16 16:11:01 +02:00
sql_repl.cc sql_repl.cc: 2005-04-27 03:18:54 +03:00
sql_repl.h WL#874 "Extended LOAD DATA". 2005-03-16 04:32:47 +03:00
sql_select.cc Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-05-12 11:17:38 +04:00
sql_select.h A fix and test case for Bug#9478 "mysql_stmt_attr_set mysql_stmt_execute" 2005-05-12 11:16:12 +04:00
sql_show.cc Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 2005-05-10 18:35:11 +00:00
sql_sort.h
sql_state.c
sql_string.cc Cleanup during reviews 2005-03-16 16:11:01 +02:00
sql_string.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
sql_table.cc fix (Bug #8295 and #8296: varchar and varbinary conversion) 2005-05-12 15:56:04 +05:00
sql_test.cc Fixes while reviewing new code 2005-05-06 11:39:30 +03:00
sql_trigger.cc Fix for bugs: 2005-05-24 22:19:33 +04:00
sql_trigger.h Fix for bugs: 2005-05-24 22:19:33 +04:00
sql_udf.cc Merge xiphis.org:/var/db/bk/work-acurtis/bug6776.1 2005-04-09 00:36:08 +01:00
sql_udf.h Manual merge of fix for bug #9913 into 5.0 tree. 2005-05-09 16:21:57 +04:00
sql_union.cc merge 4.1->5.0 2005-03-31 10:39:48 +03:00
sql_update.cc Fix for bugs: 2005-05-24 22:19:33 +04:00
sql_view.cc Manual merge 2005-05-10 16:41:47 -07:00
sql_view.h post-merge fix 2004-11-25 02:23:13 +02:00
sql_yacc.yy Merge 2005-05-09 11:28:57 -07:00
stacktrace.c Step 2 of the switch to support configuration with NPTL: 2005-04-20 20:38:57 +02:00
stacktrace.h Step 2 of the switch to support configuration with NPTL: 2005-04-20 20:38:57 +02:00
strfunc.cc Remove compiler warnings and remove not used variables 2005-02-25 16:53:22 +02:00
structs.h merge from 4.1 2005-03-24 14:32:40 +01:00
table.cc Manual merge 2005-05-10 16:41:47 -07:00
table.h Manual merge 2005-05-10 16:41:47 -07:00
thr_malloc.cc
time.cc Don't use -lsupc++ with gcc 3.3 and below as this gives linking problems when linking staticly 2005-04-04 16:43:25 +03:00
tzfile.h
tztime.cc Last part of WL#1062: better replication of timezones: no more use 2005-03-22 00:26:12 +01:00
tztime.h Merge neptunus.(none):/home/msvensson/mysql/bug10241 2005-05-09 11:26:48 +02:00
udf_example.cc Merge with 4.1 2004-12-22 13:54:39 +02:00
uniques.cc
unireg.cc merge 2005-05-06 13:51:58 +03:00
unireg.h Merge with 4.1 to get bug fix 2005-02-07 19:42:03 +02:00
watchdog_mysqld