Bug#13635833: MULTIPLE CRASHES IN FOREIGN KEY CODE WITH CONCURRENT DDL/DML
Annamalai Gurusami authored
      
There are two threads.  In one thread, dml operation is going on 
involving cascaded update operation.  In another thread, alter 
table add foreign key constraint is happening.  Under these 
circumstances, it is possible for the dml thread to access a 
dict_foreign_t object that has been freed by the ddl thread.  
The debug sync test case provides the sequence of operations.  
Without fix, the test case will crash the server (because of 
newly added assert).  With fix, the alter table stmt will return 
an error message.  
      
rb:947
approved by Jimmy Yang
2069f506
Name Last commit Last update
examples Patch for Bug#55854 (MySQL AB should not be AUTHOR, copyright incorrect).
share Bug#13635833: MULTIPLE CRASHES IN FOREIGN KEY CODE WITH CONCURRENT DDL/DML
CMakeLists.txt Bug#11761576 54082: HANDLE_SEGFAULT MAKES USE OF UNSAFE FUNCTIONS
MSG00001.bin Bug#40280: Message compiler(mc.exe) needed to compile MySQL on windows.
add_errmsg WL#751 Error message construction, backport
authors.h Updated/added copyright headers
client_settings.h Bug#12897501 REPLICATION DOES NOT SUPPORT WINDOWS AUTH PLUG-IN
contributors.h Updated/added copyright headers
custom_conf.h my_strtoll10-x86.s:
datadict.cc Manual merge from mysql-5.5-bugfixing to mysql-5.5-runtime.
datadict.h Bug#49907: ALTER TABLE ... TRUNCATE PARTITION does not wait for
debug_sync.cc Updated/added copyright headers
debug_sync.h Updated/added copyright headers
derror.cc Merge from 5.1.
derror.h Updated/added copyright headers
des_key_file.cc Updated/added copyright headers
des_key_file.h Updated/added copyright headers
discover.cc Updated/added copyright headers
discover.h Updated/added copyright headers
event_data_objects.cc Updated/added copyright headers
event_data_objects.h Updated/added copyright headers
event_db_repository.cc Updated/added copyright headers
event_db_repository.h Updated/added copyright headers
event_parse_data.cc Updated/added copyright headers
event_parse_data.h Updated/added copyright headers
event_queue.cc
event_queue.h
event_scheduler.cc
event_scheduler.h
events.cc
events.h
field.cc
field.h
field_conv.cc
filesort.cc
filesort.h
frm_crypt.cc
frm_crypt.h
gen_lex_hash.cc
gstream.cc
gstream.h
ha_ndbcluster.cc
ha_ndbcluster.h
ha_ndbcluster_binlog.cc
ha_ndbcluster_binlog.h
ha_ndbcluster_cond.cc
ha_ndbcluster_cond.h
ha_ndbcluster_tables.h
ha_partition.cc
ha_partition.h
handler.cc
handler.h
hash_filo.cc
hash_filo.h
hostname.cc
hostname.h
init.cc
init.h
item.cc
item.h
item_buff.cc
item_cmpfunc.cc
item_cmpfunc.h
item_create.cc
item_create.h
item_func.cc
item_func.h
item_geofunc.cc
item_geofunc.h
item_row.cc
item_row.h
item_strfunc.cc
item_strfunc.h
item_subselect.cc
item_subselect.h
item_sum.cc
item_sum.h
item_timefunc.cc
item_timefunc.h
item_xmlfunc.cc
item_xmlfunc.h
key.cc
key.h
keycaches.cc
keycaches.h
lex.h
lex_symbol.h
lock.cc
lock.h
log.cc
log.h
log_event.cc
log_event.h
log_event_old.cc
log_event_old.h
main.cc
mdl.cc
mdl.h
message.h
message.mc
message.rc
mf_iocache.cc