The world's most popular open source database
Functionality added or changed:
Incompatible Change:
INSERT DELAYED is now downgraded to a normal
INSERT if the statement uses
functions that access tables or triggers, or that is called from
a function or a trigger.
This was done to resolve the following interrelated issues:
The server could abort or deadlock for INSERT
DELAYED statements for which another insert was
performed implicitly (for example, via a stored function
that inserted a row).
A trigger using an INSERT DELAYED caused
the error INSERT DELAYED can't be used with table
... because it is locked with LOCK TABLES
although the target table was not actually locked.
INSERT DELAYED into a table with a
BEFORE INSERT or AFTER
INSERT trigger gave an incorrect
NEW pseudocolumn value and caused the
server to deadlock or abort.
Bugs fixed:
Security Fix: UDFs are supposed to be loadable only from the plugin directory, but this restriction was not being enforced. (Bug#28341)
Security Fix: Use of a view could allow a user to gain update privileges for tables in other databases. (Bug#27878, CVE-2007-3782)

