mariadb/sql
Jon Olav Hauglid 5d06dddff3 Bug #56494 Segfault in upgrade_shared_lock_to_exclusive() for
REPAIR of merge table
Bug #56422 CHECK TABLE run when the table is locked reports
           corruption along with timeout

The crash happened if a table maintenance statement (ANALYZE TABLE,
REPAIR TABLE, etc.) was executed on a MERGE table and opening and 
locking a child table failed. This could for example happen if a child
table did not exist or if a lock timeout happened while waiting for
a conflicting metadata lock to disappear.

Since opening and locking the MERGE table and its children failed,
the tables would be closed and the metadata locks released.
However, TABLE_LIST::table for the MERGE table would still be set,
with its value invalid since the tables had been closed.
This caused the table maintenance statement to try to continue
and upgrade the metadata lock on the MERGE table. But since the lock
already had been released, this caused a segfault.

This patch fixes the problem by setting TABLE_LIST::table to NULL 
if open_and_lock_tables() fails. This prevents maintenance
statements from continuing and trying to upgrade the metadata lock.

The patch includes a 5.5 version of the fix for
Bug #46339 crash on REPAIR TABLE merge table USE_FRM.
This bug caused REPAIR TABLE ... USE_FRM to give an assert 
when used on merge tables.

The patch also enables the CHECK TABLE statement for log tables.
Before, CHECK TABLE for log tables gave ER_CANT_LOCK_LOG_TABLE,
yet still counted the statement as successfully executed.
With the changes to table maintenance statement error handling
in this patch, CHECK TABLE would no longer be considered as
successful in this case. This would have caused upgrade scripts
to mistakenly think that the general and slow logs are corrupted
and have to be repaired. Enabling CHECK TABLES for log tables
prevents this from happening.

Finally, the patch changes the error message from "Corrupt" to
"Operation failed" for a number of issues not related to table
corruption. For example "Lock wait timeout exceeded" and 
"Deadlock found trying to get lock".

Test cases added to merge.test and check.test.
2010-09-22 10:15:41 +02:00
..
examples Patch for Bug#55854 (MySQL AB should not be AUTHOR, copyright incorrect). 2010-08-12 19:19:57 +04:00
share Patch for Bug#55854 (MySQL AB should not be AUTHOR, copyright incorrect). 2010-08-12 19:19:57 +04:00
add_errmsg WL#751 Error message construction, backport 2009-10-15 17:23:43 +05:00
authors.h Merging with mysql-5.5-stage. 2010-08-16 14:50:27 +02:00
client_settings.h Backport of WL#798 (MySQL IPv6 support) from 6.0. 2009-11-25 13:53:23 +03:00
CMakeLists.txt Small fixes in CMake: 2010-09-03 00:17:08 +02:00
contributors.h WL#5016: Fix header file include guards 2009-09-23 23:32:31 +02:00
custom_conf.h
datadict.cc Manual merge from mysql-5.5-bugfixing to mysql-5.5-runtime. 2010-08-18 13:29:04 +02:00
datadict.h Bug#49907: ALTER TABLE ... TRUNCATE PARTITION does not wait for 2010-08-16 14:53:30 +02:00
debug_sync.cc Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabled 2010-07-08 18:20:08 -03:00
debug_sync.h Bug #51648 DBUG_SYNC_POINT is not defined on all platforms and mtr cant pre-check that 2010-03-19 11:06:40 +02:00
derror.cc Bug#53251 mysql_library_init fails on second execution with embedded library 2010-09-02 23:37:04 +05:00
derror.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
des_key_file.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
des_key_file.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
discover.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
discover.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
event_data_objects.cc A pre-requisite patch for the fix for Bug#52044. 2010-07-27 14:25:53 +04:00
event_data_objects.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
event_db_repository.cc Bug #54105 assert in MDL_context::release_locks_stored_before 2010-08-13 10:02:37 +02:00
event_db_repository.h A pre-requisite patch for the fix for Bug#52044. 2010-07-27 14:25:53 +04:00
event_parse_data.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
event_parse_data.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
event_queue.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
event_queue.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
event_scheduler.cc Merge of mysql-trunk-bugfixing into mysql-trunk-merge. 2010-07-15 10:47:50 -03:00
event_scheduler.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
events.cc Bug #44171 KILL ALTER EVENT can crash the server 2010-08-26 12:01:43 +02:00
events.h Bug #44171 KILL ALTER EVENT can crash the server 2010-08-26 12:01:43 +02:00
field.cc Bug#52121 partition by key on utf32 enum field cause debug assertion: (length % 4) == 0 2010-08-23 13:56:21 +04:00
field.h WL#5498: Remove dead and unused source code 2010-07-23 17:17:55 -03:00
field_conv.cc WL#5498: Remove dead and unused source code 2010-07-23 17:17:55 -03:00
filesort.cc WL#5498: Remove dead and unused source code 2010-07-23 17:17:55 -03:00
filesort.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
frm_crypt.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
frm_crypt.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
gen_lex_hash.cc Cleanup after bild team push. 2010-07-25 19:30:18 +02:00
gstream.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
gstream.h Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabled 2010-07-08 18:20:08 -03:00
ha_ndbcluster.cc Commit on behalf of Dmitry Lenev. 2010-08-12 17:50:23 +04:00
ha_ndbcluster.h Merge of bug#51851. 2010-05-24 14:51:59 +02:00
ha_ndbcluster_binlog.cc Commit on behalf of Dmitry Lenev. 2010-08-12 17:50:23 +04:00
ha_ndbcluster_binlog.h A fix for Bug#41158 "DROP TABLE holds LOCK_open during unlink()". 2010-08-09 22:33:47 +04:00
ha_ndbcluster_cond.cc Bug#49746: Const expression caching led to NDB not using engine condition 2010-08-14 13:11:33 +04:00
ha_ndbcluster_cond.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
ha_ndbcluster_tables.h WL#5016: Fix header file include guards 2009-09-23 23:32:31 +02:00
ha_partition.cc merge 2010-08-19 10:22:23 +02:00
ha_partition.h WL#5498: Remove dead and unused source code 2010-07-23 17:09:27 -03:00
handler.cc A fix for Bug#41158 "DROP TABLE holds LOCK_open during unlink()". 2010-08-09 22:33:47 +04:00
handler.h Merge from mysql-5.5-bugfixing to mysql-5.5-runtime 2010-08-18 13:55:37 +02:00
hash_filo.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
hash_filo.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
hostname.cc WL#5498: Remove dead and unused source code 2010-07-23 17:17:55 -03:00
hostname.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
init.cc Backport: remove dead code. 2010-05-28 19:53:26 -03:00
init.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
item.cc Revert patch for Bug#56120 temporarily. 2010-08-25 13:17:45 +04:00
item.h Bug#54916 GROUP_CONCAT + IFNULL truncates output 2010-08-19 15:55:35 +04:00
item_buff.cc merge 2010-07-30 16:56:57 +03:00
item_cmpfunc.cc Bug#54916 GROUP_CONCAT + IFNULL truncates output 2010-08-19 15:55:35 +04:00
item_cmpfunc.h WL#5498: Remove dead and unused source code 2010-07-23 17:16:29 -03:00
item_create.cc Merge of mysql-5.1-bugteam into mysql-trunk-merge. 2010-07-02 16:38:04 -03:00
item_create.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
item_func.cc Auto-merge from mysql-5.5-merge. 2010-08-25 14:22:34 +04:00
item_func.h Bug#51571 load xml infile causes server crash 2010-05-05 14:34:20 +04:00
item_geofunc.cc WL#5498: Remove dead and unused source code 2010-07-23 17:13:36 -03:00
item_geofunc.h WL#2649 Number-to-string conversions 2010-02-11 08:17:25 +04:00
item_row.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
item_row.h Manual merge of mysql-5.1-bugteam to mysql-trunk-merge. 2010-03-20 23:23:42 +03:00
item_strfunc.cc Bug#55912 FORMAT with locale set fails for numbers < 1000 2010-08-20 15:14:11 +04:00
item_strfunc.h Bug#55912 FORMAT with locale set fails for numbers < 1000 2010-08-20 15:14:11 +04:00
item_subselect.cc Merge of mysql-5.1-bugteam into mysql-trunk-merge. 2010-06-10 22:30:49 -03:00
item_subselect.h WL#5498: Remove dead and unused source code 2010-07-23 17:16:29 -03:00
item_sum.cc Automerge. 2010-08-30 11:36:04 +04:00
item_sum.h Automerge. 2010-08-30 11:36:04 +04:00
item_timefunc.cc Bug#56271: Wrong comparison result with STR_TO_DATE function 2010-09-07 10:45:00 +04:00
item_timefunc.h Bug#56271: Wrong comparison result with STR_TO_DATE function 2010-09-07 10:45:00 +04:00
item_xmlfunc.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
item_xmlfunc.h WL#5016: Fix header file include guards 2009-09-23 23:32:31 +02:00
key.cc Bug#52430 Incorrect key in the error message for duplicate key error involving BINARY type 2010-05-27 20:01:43 +04:00
key.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
keycaches.cc Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabled 2010-07-08 18:20:08 -03:00
keycaches.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
lex.h Auto-merge from mysql-next-mr. 2010-02-20 12:40:21 +03:00
lex_symbol.h
lock.cc Commit on behalf of Dmitry Lenev. 2010-08-12 17:50:23 +04:00
lock.h Extract reload_acl_and_cache() and flush_tables_with_read_lock() 2010-08-13 13:51:48 +04:00
log.cc Auto-merge from mysql-5.5. 2010-08-30 12:36:02 +04:00
log.h merge 2010-08-20 14:22:46 +03:00
log_event.cc Post-fix push for BUG#53452. 2010-08-23 23:31:12 +01:00
log_event.h Merge of mysql-trunk-bugfixing into mysql-trunk-merge. 2010-07-15 10:47:50 -03:00
log_event_old.cc Merge of mysql-trunk-bugfixing into mysql-trunk-merge. 2010-07-15 10:47:50 -03:00
log_event_old.h
main.cc Introduce a workaround for Solaris' inability to deal with dtrace in static libraries. 2009-12-11 15:51:39 +01:00
Makefile.am Manual merge from mysql-5.5-bugfixing to mysql-5.5-runtime. 2010-08-18 13:29:04 +02:00
mdl.cc Commit on behalf of Dmitry Lenev. 2010-08-12 17:50:23 +04:00
mdl.h Commit on behalf of Dmitry Lenev. 2010-08-12 17:50:23 +04:00
message.h WL#5016: Fix header file include guards 2009-09-23 23:32:31 +02:00
message.mc
message.rc
mf_iocache.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
MSG00001.bin
my_decimal.cc Merge of mysql-5.1-bugteam into mysql-trunk-merge. 2010-07-09 09:28:51 -03:00
my_decimal.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
mysqld.cc Local merge 2010-09-14 15:40:50 -06:00
mysqld.h Auto-merge from mysql-5.5-merge. 2010-08-30 18:07:40 +04:00
mysqld_suffix.h WL#5016: Fix header file include guards 2009-09-23 23:32:31 +02:00
net_serv.cc WL#5486: Remove code for unsupported platforms 2010-07-15 08:13:30 -03:00
nt_servc.cc WL#5498: Remove dead and unused source code 2010-07-23 17:09:27 -03:00
nt_servc.h WL#5016: Fix header file include guards 2009-09-23 23:32:31 +02:00
opt_range.cc Automerge. 2010-08-26 16:35:38 +04:00
opt_range.h manual merge from mysql-5.1-bugteam 2010-07-19 11:21:24 +02:00
opt_sum.cc Merge of fix for bug#53859. 2010-06-11 10:15:55 +02:00
parse_file.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
parse_file.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
partition_element.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
partition_info.cc Merge of mysql-5.1-bugteam into mysql-trunk-merge. 2010-07-20 16:30:10 -03:00
partition_info.h Bug#51851: Server with SBR locks mutex twice on LOAD DATA 2010-03-30 22:52:45 +02:00
password.c WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
procedure.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
procedure.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
protocol.cc Auto-merge from mysql-trunk-merge. 2010-07-29 16:32:11 +04:00
protocol.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
records.cc Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabled 2010-07-08 18:20:08 -03:00
records.h Bug #30584: delete with order by and limit clauses does not 2010-06-23 00:32:29 +04:00
repl_failsafe.cc WL#5498: Remove dead and unused source code 2010-07-23 17:13:36 -03:00
repl_failsafe.h WL#5498: Remove dead and unused source code 2010-07-23 17:13:36 -03:00
replication.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
rpl_constants.h BUG#40482: server/mysqlbinlog crashes when reading invalid Incident_log_event 2008-12-29 17:04:10 +01:00
rpl_filter.cc Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabled 2010-07-08 18:20:08 -03:00
rpl_filter.h A post-fix patch for WL#4877/WL#5030: 2010-04-12 17:17:37 +04:00
rpl_handler.cc Bug#42733: Type-punning warnings when compiling MySQL -- strict aliasing violations. 2010-07-15 16:29:25 -03:00
rpl_handler.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
rpl_injector.cc Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabled 2010-07-08 18:20:08 -03:00
rpl_injector.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
rpl_mi.cc Merge of mysql-trunk-bugfixing into mysql-trunk-merge. 2010-07-15 10:47:50 -03:00
rpl_mi.h BUG#53657: Slave crashed with error 22 when trying to lock mutex 2010-05-24 17:43:27 +01:00
rpl_record.cc Add a maintainer target to the warning-mode of the build scripts. 2010-07-24 10:31:48 -03:00
rpl_record.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
rpl_record_old.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
rpl_record_old.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
rpl_reporting.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
rpl_reporting.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
rpl_rli.cc A pre-requisite patch for the fix for Bug#52044. 2010-07-27 14:25:53 +04:00
rpl_rli.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
rpl_tblmap.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
rpl_tblmap.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
rpl_utility.cc Merge of mysql-trunk-bugfixing into mysql-trunk-merge. 2010-07-15 10:47:50 -03:00
rpl_utility.h Bug#53445: Build with -Wall and fix warnings that it generates 2010-05-31 12:29:54 -03:00
scheduler.cc WL#5363: Thread Pool Service Interface 2010-06-15 09:44:26 +02:00
scheduler.h WL#5363: Thread Pool Service Interface 2010-06-07 16:01:39 +02:00
set_var.cc Bug#53251 mysql_library_init fails on second execution with embedded library 2010-09-02 23:37:04 +05:00
set_var.h Bug#53251: mysql_library_init fails on second execution with embedded library 2010-09-09 09:37:09 -03:00
sha2.cc Backport of: 2010-04-13 19:04:45 +04:00
slave.cc Auto-merge from mysql-trunk-merge. 2010-07-29 16:32:11 +04:00
slave.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sp.cc Bug #56137 "Assertion `thd->lock == 0' failed on upgrading 2010-08-31 13:04:19 +04:00
sp.h Merge of mysql-5.1-bugteam into mysql-trunk-merge. 2010-06-10 22:30:49 -03:00
sp_cache.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sp_cache.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sp_head.cc Fix use of uninitialized variable. 2010-08-12 16:51:46 +04:00
sp_head.h A pre-requisite patch for the fix for Bug#52044. 2010-07-27 14:25:53 +04:00
sp_pcontext.cc Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabled 2010-07-08 18:20:08 -03:00
sp_pcontext.h Auto-merge from mysql-trunk-bugfixing. 2010-07-30 19:28:36 +04:00
sp_rcontext.cc Auto-merge from mysql-trunk-bugfixing. 2010-07-30 19:28:36 +04:00
sp_rcontext.h Auto-merge from mysql-trunk-bugfixing. 2010-07-30 19:28:36 +04:00
spatial.cc Merge of mysql-5.1-bugteam into mysql-trunk-merge. 2010-07-20 16:30:10 -03:00
spatial.h Bug#42733: Type-punning warnings when compiling MySQL -- 2010-07-14 16:39:40 -03:00
sql_acl.cc Polish check_grant(): name TABLE_LIST instance "tl", not "table". 2010-08-31 13:55:32 +04:00
sql_acl.h WL#5030: Splitting mysql_priv.h 2010-04-07 13:58:40 +02:00
sql_admin.cc Bug #56494 Segfault in upgrade_shared_lock_to_exclusive() for 2010-09-22 10:15:41 +02:00
sql_admin.h Rename of sql_alter_table -> sql_alter and sql_table_maintenance -> sql_admin 2010-08-16 16:25:23 +02:00
sql_alter.cc Remove check_merge_table_access(). 2010-08-31 13:59:51 +04:00
sql_alter.h Rename of sql_alter_table -> sql_alter and sql_table_maintenance -> sql_admin 2010-08-16 16:25:23 +02:00
sql_analyse.cc Merge of mysql-5.1-bugteam into mysql-trunk-merge. 2010-07-09 09:28:51 -03:00
sql_analyse.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_array.h WL#5016: Fix header file include guards 2009-09-23 23:32:31 +02:00
sql_audit.cc BUG#54989 - With null_audit installed, server hangs on an 2010-08-20 13:58:28 +04:00
sql_audit.h BUG#54989 - With null_audit installed, server hangs on an 2010-08-20 13:58:28 +04:00
sql_base.cc Fix for bug #56251 "Deadlock with INSERT DELAYED and MERGE 2010-09-15 18:15:31 +04:00
sql_base.h Fix for bug #56251 "Deadlock with INSERT DELAYED and MERGE 2010-09-15 18:15:31 +04:00
sql_binlog.cc Merge of mysql-trunk-bugfixing into mysql-trunk-merge. 2010-07-15 10:47:50 -03:00
sql_binlog.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_bitmap.h WL#5486: Remove code for unsupported platforms 2010-07-15 08:13:30 -03:00
sql_builtin.cc.in merge 2009-12-25 16:49:21 +01:00
sql_cache.cc Merge of mysql-5.1-bugteam into mysql-trunk-merge. 2010-07-23 22:36:21 -03:00
sql_cache.h A post-fix patch for WL#4877/WL#5030: 2010-04-12 17:17:37 +04:00
sql_callback.h WL#5363: Thread Pool Service Interface 2010-06-07 16:01:39 +02:00
sql_class.cc Auto-merge from mysql-5.5-merge. 2010-08-30 18:07:40 +04:00
sql_class.h Auto-merge from mysql-5.5-merge. 2010-08-30 18:07:40 +04:00
sql_client.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_connect.cc Merging with mysql-5.5-stage. 2010-08-16 14:50:27 +02:00
sql_connect.h WL#5363: Thread Pool Service Interface 2010-06-07 16:01:39 +02:00
sql_const.h Backport: Remove unused and ancient files, functions, and facilities. 2010-05-28 19:13:31 -03:00
sql_crypt.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_crypt.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_cursor.cc Auto-merge from mysql-trunk-merge. 2010-07-29 16:32:11 +04:00
sql_cursor.h Implement WL#5502 Remove dead 5.0 class Sensitive_cursor. 2010-07-27 16:42:36 +04:00
sql_db.cc merge from mysql-trunk-bugfixing 2010-07-13 10:39:24 +02:00
sql_db.h A 5.5 version of the fix for Bug #54360 "Deadlock DROP/ALTER/CREATE 2010-07-01 15:53:46 +02:00
sql_delete.cc Rename select_send::abort() to select_send::abort_result_set() 2010-07-28 15:17:19 +04:00
sql_delete.h Merge trunk-bugfixing -> trunk-runtime 2010-06-17 17:31:51 +04:00
sql_derived.cc Merge of mysql-5.1-bugteam into mysql-trunk-merge. 2010-06-10 22:30:49 -03:00
sql_derived.h A post-fix patch for WL#4877/WL#5030: 2010-04-12 17:17:37 +04:00
sql_do.cc A pre-requisite patch for the fix for Bug#52044. 2010-07-27 14:25:53 +04:00
sql_do.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_error.cc Auto-merge from mysql-trunk-bugfixing. 2010-07-30 19:28:36 +04:00
sql_error.h Auto-merge from mysql-trunk-bugfixing. 2010-07-30 19:28:36 +04:00
sql_handler.cc Commit on behalf of Dmitry Lenev. 2010-08-12 17:50:23 +04:00
sql_handler.h A review comment for WL#4441 " LOCK_open: Remove requirement of 2010-06-09 12:39:09 +04:00
sql_help.cc A 5.5 version of the fix for Bug #54360 "Deadlock DROP/ALTER/CREATE 2010-07-01 15:53:46 +02:00
sql_help.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_hset.h Another follow-up for 5.5 version of fix for bug#54360 2010-07-01 19:48:56 +04:00
sql_insert.cc Fix for bug #56251 "Deadlock with INSERT DELAYED and MERGE 2010-09-15 18:15:31 +04:00
sql_insert.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_lex.cc BUG#53452 Inconsistent behavior of binlog_direct_non_transactional_updates with 2010-08-20 03:59:58 +01:00
sql_lex.h Bug #54579 Wrong unsafe warning for INSERT DELAYED in SBR 2010-08-30 14:03:28 +08:00
sql_list.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_list.h Merge of mysql-trunk-bugfixing into mysql-trunk-merge. 2010-07-15 10:47:50 -03:00
sql_load.cc Bug #34283 mysqlbinlog leaves tmpfile after termination if binlog contains load data infile 2010-08-03 11:49:14 +08:00
sql_load.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_locale.cc Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabled 2010-07-08 18:20:08 -03:00
sql_locale.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_manager.cc Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabled 2010-07-08 18:20:08 -03:00
sql_manager.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_parse.cc Bug #56494 Segfault in upgrade_shared_lock_to_exclusive() for 2010-09-22 10:15:41 +02:00
sql_parse.h Remove check_merge_table_access(). 2010-08-31 13:59:51 +04:00
sql_partition.cc Bug#54747: Deadlock between REORGANIZE PARTITION and SELECT is not detected 2010-08-20 19:15:48 +02:00
sql_partition.h Manual merge 2010-07-29 11:24:35 +08:00
sql_partition_admin.cc Rename of sql_alter_table -> sql_alter and sql_table_maintenance -> sql_admin 2010-08-16 16:25:23 +02:00
sql_partition_admin.h Bug#49907: ALTER TABLE ... TRUNCATE PARTITION does not wait for 2010-08-16 14:53:30 +02:00
sql_plist.h Follow-up for bug#52289 "performance regression 2010-06-07 17:40:52 +04:00
sql_plugin.cc Merge fix for BUG#54989 to mysql-5.5-bugfixing. 2010-08-23 13:38:10 +04:00
sql_plugin.h Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabled 2010-07-08 18:20:08 -03:00
sql_plugin_services.h WL#5363: Thread Pool Service Interface 2010-06-07 16:01:39 +02:00
sql_prepare.cc WL#5370 Keep forward-compatibility when changing 2010-08-18 17:35:41 +08:00
sql_prepare.h Backport of revno 2630.28.10, 2630.28.31, 2630.28.26, 2630.33.1, 2009-10-22 00:02:06 +04:00
sql_priv.h Merge trunk-bugfixing -> trunk-runtime. 2010-07-27 18:32:42 +04:00
sql_profile.cc Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabled 2010-07-08 18:20:08 -03:00
sql_profile.h Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabled 2010-07-08 18:20:08 -03:00
sql_reload.cc Fix for bug #55273 "FLUSH TABLE tm WITH READ LOCK for Merge 2010-09-09 18:29:14 +04:00
sql_reload.h Extract reload_acl_and_cache() and flush_tables_with_read_lock() 2010-08-13 13:51:48 +04:00
sql_rename.cc Bug #56595 RENAME TABLE causes assert on OS X 2010-09-16 11:11:13 +02:00
sql_rename.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_repl.cc merged BUG#55322 from 5.1-bugteam to trunk-merge 2010-07-26 12:52:59 +02:00
sql_repl.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_select.cc Merge 5.1-bugteam to 5.5-merge. 2010-08-27 15:33:32 +04:00
sql_select.h merge 2010-08-17 15:12:52 +03:00
sql_servers.cc Remove dead code. 2010-08-12 20:44:41 +04:00
sql_servers.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_show.cc Auto-merge from mysql-5.5-merge. 2010-08-30 18:07:40 +04:00
sql_show.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_signal.cc Auto-merge from mysql-trunk-bugfixing. 2010-07-30 19:28:36 +04:00
sql_signal.h WL#2110 (SIGNAL) 2009-09-10 03:18:29 -06:00
sql_sort.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_state.c
sql_string.cc Bug#45288: pb2 returns a lot of compilation warnings on linux 2010-07-09 09:00:17 -03:00
sql_string.h Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabled 2010-07-08 18:20:08 -03:00
sql_table.cc Bug #56595 RENAME TABLE causes assert on OS X 2010-09-16 11:11:13 +02:00
sql_table.h Bug#54747: Deadlock between REORGANIZE PARTITION and SELECT is not detected 2010-08-20 19:15:48 +02:00
sql_tablespace.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_tablespace.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_test.cc Cleanup: remove unused declarations from sql_base.h. 2010-08-04 20:29:13 +04:00
sql_test.h Bug#53445: Build with -Wall and fix warnings that it generates 2010-05-31 12:29:54 -03:00
sql_time.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_time.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_trigger.cc Bug #56595 RENAME TABLE causes assert on OS X 2010-09-16 11:11:13 +02:00
sql_trigger.h Bug #56595 RENAME TABLE causes assert on OS X 2010-09-16 11:11:13 +02:00
sql_truncate.cc Bug#27480 (Extend CREATE TEMPORARY TABLES privilege 2010-08-31 14:03:36 +04:00
sql_truncate.h Bug#49907: ALTER TABLE ... TRUNCATE PARTITION does not wait for 2010-08-16 14:53:30 +02:00
sql_udf.cc A pre-requisite patch for the fix for Bug#52044. 2010-07-27 14:25:53 +04:00
sql_udf.h WL#5016: Fix header file include guards 2009-09-23 23:32:31 +02:00
sql_union.cc Implement WL#5502 Remove dead 5.0 class Sensitive_cursor. 2010-07-27 16:42:36 +04:00
sql_union.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_update.cc manual merge from mysql-5.1-bugteam 2010-08-09 14:11:29 +02:00
sql_update.h A post-fix patch for WL#4877/WL#5030: 2010-04-12 17:17:37 +04:00
sql_view.cc Merge from mysql-5.5-bugfixing to mysql-5.5-runtime 2010-08-18 13:55:37 +02:00
sql_view.h Bug#42643: InnoDB does not support replication of TRUNCATE TABLE 2010-05-25 17:01:38 -03:00
sql_yacc.yy Fix for bug #55273 "FLUSH TABLE tm WITH READ LOCK for Merge 2010-09-09 18:29:14 +04:00
strfunc.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
strfunc.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
structs.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sys_vars.cc Auto-merge from mysql-5.5-merge. 2010-08-30 18:07:40 +04:00
sys_vars.h Bug#53251 mysql_library_init fails on second execution with embedded library 2010-09-02 23:37:04 +05:00
sys_vars_shared.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
table.cc Fix TABLE::init() comment. 2010-08-31 13:49:48 +04:00
table.h Merge from mysql-5.5-bugfixing to mysql-5.5-runtime. 2010-09-03 09:42:51 +02:00
thr_malloc.cc Manual merge from mysql-5.1-bugteam to mysql-trunk-merge. 2010-06-11 17:48:24 +04:00
thr_malloc.h Backport: Remove unused and ancient files, functions, and facilities. 2010-05-28 19:13:31 -03:00
transaction.cc Bug #56448 Assertion failed: ! is_set() with second xa end 2010-09-13 13:31:22 +02:00
transaction.h Backport of: 2009-12-03 21:37:38 +03:00
tzfile.h WL#5016: Fix header file include guards 2009-09-23 23:32:31 +02:00
tztime.cc A pre-requisite patch for the fix for Bug#52044. 2010-07-27 14:25:53 +04:00
tztime.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
udf_example.c Auto-merge from mysql-trunk-merge. 2010-07-29 16:32:11 +04:00
udf_example.def
uniques.cc Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabled 2010-07-08 18:20:08 -03:00
unireg.cc Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabled 2010-07-08 18:20:08 -03:00
unireg.h Merge of mysql-5.1-bugteam into mysql-trunk-merge. 2010-07-02 16:38:04 -03:00