mariadb/storage
kevin.lewis@oracle.com 6593ca560b Bug#60309 - Bug#12356829: MYSQL 5.5.9 FOR MAC OSX HAS BUG WITH FOREIGN KEY CONSTRAINTS
The innoDB global variable srv_lower_case_table_names is set to the value of lower_case_table_names declared in mysqld.h server in ha_innodb.cc.  Since this variable can change at runtime, it is reset for each handler call to ::create, ::open, ::rename_table & ::delete_table.

But it is possible for tables to be implicitly opened before an explicit handler call is made when an engine is first started or restarted.  I was able to reproduce that with the testcase in this patch on a version of InnoDB from 2 weeks ago.  It seemed like the change buffer entries for the secondary key was getting put into pages after the restart.  (But I am not sure, I did not write down the call stack while it was reproducing.)  In the current code, the implicit open, which is actually a call to dict_load_foreigns(), does not occur with this testcase.

The change is to replace srv_lower_case_table_names by an interface function in innodb.cc that retrieves the server global variable when it is needed.
2011-04-26 12:55:52 -05:00
..
archive Bug #11755431 (former 47205) 2011-03-08 09:41:57 +01:00
blackhole WL#5665: Removal of the autotools-based build system 2010-11-20 12:47:50 -02:00
csv Bug #11755431 (former 47205) 2011-03-08 09:41:57 +01:00
example WL#5665: Removal of the autotools-based build system 2010-11-20 12:47:50 -02:00
federated Bug #11755431 (former 47205) 2011-03-08 09:41:57 +01:00
heap Remove configuration preprocessor symbols 'THREAD' 2011-01-11 10:07:37 +01:00
innobase Bug#60309 - Bug#12356829: MYSQL 5.5.9 FOR MAC OSX HAS BUG WITH FOREIGN KEY CONSTRAINTS 2011-04-26 12:55:52 -05:00
myisam Bug#11933945 REMOVE LGPL LICENSED FILES IN MYSQL 5.5 2011-03-29 14:43:49 +02:00
myisammrg Fix for BUG#59894 2011-02-11 15:00:09 +01:00
ndb BUG#57953 my_load_defaults return junk argument ----args-separator---- to caller 2011-01-17 15:44:37 +08:00
perfschema Bug#11830755 - UNIT TESTS PFS_INSTR AND PFS_INSTR_CLASS CRASH IN MUTEX CALLS ON WINDOWS 2011-03-08 13:42:00 +01:00