mariadb/mysql-test/suite/funcs_1/triggers
Monty 8be53a389c MDEV-6112 multiple triggers per table
This is similar to MysQL Worklog 3253, but with
a different implementation. The disk format and
SQL syntax is identical with MySQL 5.7.

Fetures supported:
- "Any" ammount of any trigger
- Supports FOLLOWS and PRECEDES to be
  able to put triggers in a certain execution order.

Implementation details:
- Class Trigger added to hold information about a trigger.
  Before this trigger information was stored in a set of lists in
  Table_triggers_list and in Table_triggers_list::bodies
- Each Trigger has a next field that poinst to the next Trigger with the
  same action and time.
- When accessing a trigger, we now always access all linked triggers
- The list are now only used to load and save trigger files.
- MySQL trigger test case (trigger_wl3253) added and we execute these
  identically.
- Even more gracefully handling of wrong trigger files than before. This
  is useful if a trigger file uses functions or syntax not provided by
  the server.
- Each trigger now has a "Created" field that shows when the trigger was
  created, with 2 decimals.

Other comments:
- Many of the changes in test files was done because of the new "Created"
  field in the trigger file. This shows up in SHOW ... TRIGGER and when
  using information_schema.trigger.
- Don't check if all memory is released if on uses --gdb;  This is needed
  to be able to get a list from safemalloc of not freed memory while
  debugging.
- Added option to trim_whitespace() to know how many prefix characters
  was skipped.
- Changed a few ulonglong sql_mode to sql_mode_t, to find some wrong usage
  of sql_mode.
2016-10-05 01:11:07 +03:00
..
trig_frkey.inc Fix for 2008-06-16 20:39:58 +02:00
trig_frkey2.inc Fix for 2008-03-31 19:48:02 +02:00
triggers_03.inc Fixed many funcs_1 tests after 43588 2010-03-19 09:56:26 +01:00
triggers_03e_columns.inc Fixed many funcs_1 tests after 43588 2010-03-19 09:56:26 +01:00
triggers_03e_db_level.inc Fixed many funcs_1 tests after 43588 2010-03-19 09:56:26 +01:00
triggers_03e_db_table_mix.inc MDEV-6112 multiple triggers per table 2016-10-05 01:11:07 +03:00
triggers_03e_definer.inc Fixed many funcs_1 tests after 43588 2010-03-19 09:56:26 +01:00
triggers_03e_global_db_mix.inc MDEV-6112 multiple triggers per table 2016-10-05 01:11:07 +03:00
triggers_03e_prepare.inc MDEV-6112 multiple triggers per table 2016-10-05 01:11:07 +03:00
triggers_03e_table_level.inc MDEV-6112 multiple triggers per table 2016-10-05 01:11:07 +03:00
triggers_03e_transaction.inc Fixed many funcs_1 tests after 43588 2010-03-19 09:56:26 +01:00
triggers_08.inc MDEV-6066: Merge new defaults from 5.6 and 5.7 (defaults changed, QC can be stopped with no-zero size) 2015-09-04 10:33:56 +02:00
triggers_09.inc MDEV-8605 MariaDB not use DEFAULT value even when inserted NULL for NOT NULLABLE column 2015-12-21 21:30:54 +01:00
triggers_0102.inc Fix for Bug#42836 Funcs_1 storedproc and storedproc_08 tests failing 2009-02-13 19:07:56 +01:00
triggers_0407.inc MDEV-6112 multiple triggers per table 2016-10-05 01:11:07 +03:00
triggers_1011ext.inc MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes) 2014-10-11 18:53:06 +02:00