mariadb/handler
vasil 4c37fb93be branches/zip:
Rewrite the function innodb_plugin_init() to support parameters in
different order (in static and dynamic InnoDB) and to support more
parameters in the static InnoDB.
 
The previous implementation traversed both lists at the same time,
skipping parameters in the dynamic list that do not exist in the static
list. E.g. both lists were allowed to be static=(a, b, c),
dynamic=(a, b, c) or static=(a, b, c), dynamic=(a, b, x, c).
 
With the new implementation they are allowed to be
static=(a, b, c), dynamic=(b, a, c) or
static=(a, b, x, c), dynamic=(b, a, c) in addition.

The new implementation has complexity O(N^2) while the old one was O(N),
but this is acceptable sacrifice provided that innodb_plugin_init() is
called once per InnoDB lifetime and that N=39 currently, and N is not
going to increase much in the future, N=number of the InnoDB parameters.

Suggested by:	Sunny
Approved by:	Sunny
2008-06-19 14:24:45 +00:00
..
ha_innodb.cc branches/zip: 2008-06-19 14:24:45 +00:00
ha_innodb.h branches/zip: Merge 2295:2367 from branches/5.1. 2008-03-17 14:09:44 +00:00
handler0alter.cc branches/zip: 2008-06-19 14:19:04 +00:00
i_s.cc branches/zip: 2008-05-06 11:10:09 +00:00
i_s.h branches/zip: Rename the compression-related INFORMATION_SCHEMA tables 2008-03-28 10:31:24 +00:00
mysql_addons.cc branches/zip: Add the necessary #include "univ.i" that was removed in the 2008-02-08 13:50:28 +00:00