mariadb/mysql-test/suite/funcs_1/datadict
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
..
basics_mixed1.inc
basics_mixed2.inc
basics_mixed3.inc
columns.inc
datadict.pre
datadict_bug_12777.inc
datadict_load.inc MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes) 2014-10-11 18:53:06 +02:00
datadict_priv.inc MDEV-6756: map a linux pid (child pid) to a connection id shown in the output of SHOW PROCESSLIST 2015-09-17 14:30:58 +02:00
is_key_column_usage.inc MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
is_routines.inc MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
is_schemata.inc MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
is_table_query.inc
is_tables.inc MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
is_triggers.inc MDEV-6112 multiple triggers per table 2016-10-05 01:11:07 +03:00
is_views.inc MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
processlist_priv.inc Merge branch '10.0' into 10.1 2016-07-13 12:09:59 +02:00
processlist_val.inc MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
statistics.inc MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
table_constraints.inc MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
tables.inc MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
tables1.inc MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
tables2.inc MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes) 2014-10-11 18:53:06 +02:00