mariadb/sql
Jon Olav Hauglid 5e03579061 Bug #42230 during add index, cannot do queries on storage engines
that implement add_index

The problem was that ALTER TABLE blocked reads on an InnoDB table
while adding a secondary index, even if this was not needed. It is
only needed for the final step where the .frm file is updated.

The reason queries were blocked, was that ALTER TABLE upgraded the
metadata lock from MDL_SHARED_NO_WRITE (which blocks writes) to
MDL_EXCLUSIVE (which blocks all accesses) before index creation.

The way the server handles index creation, is that storage engines
publish their capabilities to the server and the server determines
which of the following three ways this can be handled: 1) build a
new version of the table; 2) change the existing table but with
exclusive metadata lock; 3) change the existing table but without
metadata lock upgrade.

For InnoDB and secondary index creation, option 3) should have been
selected. However this failed for two reasons. First, InnoDB did
not publish this capability properly.

Second, the ALTER TABLE code failed to made proper use of the
information supplied by the storage engine. A variable
need_lock_for_indexes was set accordingly, but was not later used.
This patch fixes this problem by only doing metadata lock upgrade
before index creation/deletion if this variable has been set.

This patch also changes some of the related terminology used 
in the code. Specifically the use of "fast" and "online" with
respect to ALTER TABLE. "Fast" was used to indicate that an
ALTER TABLE operation could be done without involving a
temporary table. "Fast" has been renamed "in-place" to more
accurately describe the behavior.

"Online" meant that the operation could be done without taking
a table lock. However, in the current implementation writes
are always prohibited during ALTER TABLE and an exclusive
metadata lock is held while updating the .frm, so ALTER TABLE
is not completely online. This patch replaces "online" with 
"in-place", with additional comments indicating if concurrent
reads are allowed during index creation/deletion or not.

An important part of this update of terminology is renaming
of the handler flags used by handlers to indicate if index
creation/deletion can be done in-place and if concurrent reads
are allowed. For example, the HA_ONLINE_ADD_INDEX_NO_WRITES
flag has been renamed to HA_INPLACE_ADD_INDEX_NO_READ_WRITE,
while HA_ONLINE_ADD_INDEX is now HA_INPLACE_ADD_INDEX_NO_WRITE.
Note that this is a rename to clarify current behavior, the
flag values have not changed and no flags have been removed or
added.

Test case added to innodb_mysql_sync.test.
2011-01-26 14:23:29 +01:00
..
examples Patch for Bug#55854 (MySQL AB should not be AUTHOR, copyright incorrect). 2010-08-12 19:19:57 +04:00
share Merge 2010-12-29 01:26:31 +01: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 Remove configuration preprocessor symbols 'THREAD' 2011-01-11 10:07:37 +01:00
CMakeLists.txt Add mysys to mysqld dependencies, trying to un-break the build on debian 2011-01-03 14:08:48 +01: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 Merge of mysql-5.1-bugteam into mysql-5.5-bugteam. 2010-11-16 07:45:07 -02: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 Merge from mysql-5.5-runtime to mysql-5.5-bugteam 2010-11-18 16:01:58 +01:00
event_data_objects.h Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03:00
event_db_repository.cc Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03:00
event_db_repository.h Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03: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 Suppress false-positive uninitialized variable use 2010-11-19 10:41:09 +03: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 Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03:00
events.h Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03:00
field.cc Merge 2010-12-29 01:26:31 +01:00
field.h Bug#58190 BETWEEN no longer uses indexes for date or datetime fields 2010-11-19 20:15:47 +03:00
field_conv.cc merge of 5.1-bugteam 2010-11-22 10:13:46 +01:00
filesort.cc Remove configuration preprocessor symbols 'THREAD' 2011-01-11 10:07:37 +01: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 Merge 2010-12-29 01:26:31 +01: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 Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03:00
ha_ndbcluster.h Merge of bug#51851. 2010-05-24 14:51:59 +02:00
ha_ndbcluster_binlog.cc merge of mysql-5.5 into mysql-5.5-wl1054 2010-09-20 17:17:32 +03: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 Bug #42230 during add index, cannot do queries on storage engines 2011-01-26 14:23:29 +01:00
ha_partition.h merge of bug#58147, including rename of the new argument, 2010-12-03 10:33:29 +01:00
handler.cc Merge of fix for bug#58553, "Queries with pushed conditions causes 'explain 2011-01-11 12:33:28 +01:00
handler.h Bug #42230 during add index, cannot do queries on storage engines 2011-01-26 14:23:29 +01: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 Bug#59330: Incorrect result when comparing an aggregate function with 2011-01-12 15:58:47 +03:00
item.h Manual merge from 5.1 2011-01-10 15:08:31 +01:00
item_buff.cc merge 2010-07-30 16:56:57 +03:00
item_cmpfunc.cc Merge of fix for Bug#59173. 2011-01-19 15:12:43 +01:00
item_cmpfunc.h Merge 2010-12-29 01:26:31 +01:00
item_create.cc Bug#57737 Character sets: search fails with like, contraction, index 2010-11-26 13:44:39 +03:00
item_create.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
item_func.cc Bug #59498 div function broken in mysql-trunk 2011-01-14 15:03:37 +01:00
item_func.h Manual merge from 5.1 2011-01-10 15:08:31 +01:00
item_geofunc.cc WL#5498: Remove dead and unused source code 2010-07-23 17:13:36 -03:00
item_geofunc.h merging. 2011-01-12 17:11:31 +04:00
item_row.cc 5.1-bugteam->5.5-bugteam merge 2010-12-14 13:46:00 +03: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 Merging from 5.1. 2011-01-17 15:26:13 +03:00
item_strfunc.h Merging from 5.1. 2011-01-17 15:26:13 +03:00
item_subselect.cc Fix for bug#58818: Incorrect result for IN/ANY subquery 2011-01-12 13:15:22 +01:00
item_subselect.h 5.1-bugteam->5.5-bugteam merge 2010-12-14 13:46:00 +03:00
item_sum.cc Merge 2010-12-29 01:26:31 +01:00
item_sum.h Merging from mysql-5.1 2011-01-17 12:39:59 +03:00
item_timefunc.cc Auto-merge from mysql-5.5.7-rc-release. 2010-11-25 13:46:18 +03:00
item_timefunc.h Manual merge from 5.1 2011-01-10 15:08:31 +01:00
item_xmlfunc.cc Merging from mysql-5.1-security 2010-11-11 13:31:17 +03:00
item_xmlfunc.h WL#5016: Fix header file include guards 2009-09-23 23:32:31 +02:00
key.cc Bug#57687 crash when reporting duplicate group_key error and utf8 2010-11-11 11:08:53 +03: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 WL#1054: Pluggable authentication support 2010-08-09 11:32:50 +03:00
lex_symbol.h
lock.cc Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03:00
lock.h Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03:00
log.cc Merge of mysql-5.1 into mysql-5.5. 2011-01-07 17:30:52 -02:00
log.h BUG#46166 2010-12-07 16:11:13 +00:00
log_event.cc Bug #50914 mysqlbinlog not handling drop of current default database 2010-12-29 13:22:52 +08:00
log_event.h Bug #56662 Assertion failed: next_insert_id == 0, file .\handler.cc 2010-12-21 18:23:20 +08: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
mdl.cc Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03:00
mdl.h This patch fixes the bug which caused the funcs_1.storedproc 2010-11-22 11:50:20 +01:00
message.h Merge 2010-12-29 01:26:31 +01: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 Bug #58699 cannot build with gcc dbg on solaris 2010-12-21 13:00:26 +01:00
my_decimal.h Bug #59241 invalid memory read in do_div_mod with doubly assigned variables 2011-01-14 10:05:14 +01:00
mysqld.cc BUG#57953 my_load_defaults return junk argument ----args-separator---- to caller 2011-01-17 15:44:37 +08:00
mysqld.h Fix for BUG#59432 "--autocommit=on does not work (@@global.autocommit is 0)" 2011-01-14 14:21:46 +01:00
mysqld_suffix.h WL#5016: Fix header file include guards 2009-09-23 23:32:31 +02:00
net_serv.cc Auto-merge mysql-5.1 -> mysql-5.5 for bug#58887. 2011-01-11 21:26:31 +06: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 Merge 2010-12-29 01:26:31 +01:00
opt_range.h BUG#58985: Assertion tab->quick->index != 64 failed in make_join_select() 2010-12-17 13:52:39 +01:00
opt_sum.cc Bug #57954: BIT_AND function returns incorrect results 2010-12-08 14:28:06 +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 removed a comment according to the review 2010-10-01 15:30:16 +02:00
partition_info.h Bug#50036: Inconsistent errors when using TIMESTAMP columns/expressions 2010-08-30 17:33:55 +02:00
password.c WL#1054: Pluggable authentication support 2010-08-09 11:32:50 +03: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 Implement a fix for Bug#57058 -- send SERVER_QUERY_WAS_SLOW over 2010-11-12 15:56:21 +03:00
protocol.h WL#1054: Pluggable authentication support 2010-08-09 11:32:50 +03:00
records.cc 5.1-bugteam->5.5-bugteam merge 2010-11-23 13:47:35 +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 Fix for crash in mysqld --verbose --help while initializing option 2010-10-11 15:50:14 +01:00
repl_failsafe.h Fix for crash in mysqld --verbose --help while initializing option 2010-10-11 15:50:14 +01: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#47027 delegates_init() failure is not user friendly (usability issue) 2010-11-04 13:29:16 +08:00
rpl_handler.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
rpl_injector.cc BUG#46166 2010-12-07 16:11:13 +00: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 Bug #56662 Assertion failed: next_insert_id == 0, file .\handler.cc 2010-12-21 18:23:20 +08:00
rpl_record.h Bug #56662 Assertion failed: next_insert_id == 0, file .\handler.cc 2010-12-21 18:23:20 +08: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 Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03:00
rpl_rli.h Automerge from mysql-5.1-bugteam into mysql-5.5-bugteam. 2010-10-13 11:08:39 +01: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-10-08 14:44:57 +02:00
set_var.cc Merge 2010-12-29 01:26:31 +01:00
set_var.h Merge 2010-12-29 01:26:31 +01:00
sha2.cc Backport of: 2010-04-13 19:04:45 +04:00
slave.cc Manual Merge. 2011-01-24 11:52:29 +08:00
slave.h BUG#46166 2010-12-07 16:11:13 +00:00
sp.cc Bug #58414 mysql_upgrade fails on dump upgrade between 5.1.53 -> 5.5.8 2010-11-30 18:52:38 +01:00
sp.h Bug #57663 Concurrent statement using stored function and DROP DATABASE 2010-11-17 15:37:23 +01: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 Manual merge from mysql-5.5. 2010-12-16 21:43:21 +03:00
sp_head.h Patch for Bug#55850 (Trigger warnings not cleared). 2010-10-26 15:48:08 +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 Fix for Bug#56934 (mysql_stmt_fetch() incorrectly fills MYSQL_TIME 2010-11-13 18:05:02 +03:00
spatial.cc merge 2010-09-06 17:04:32 +02:00
spatial.h Bug#42733: Type-punning warnings when compiling MySQL -- 2010-07-14 16:39:40 -03:00
sql_acl.cc Bug #59453: Non-ASCIIZ string kills protocol extensibility in MySQL 5.5 2011-01-14 17:48:11 +02:00
sql_acl.h WL#1054: Pluggable authentication support 2010-08-09 11:32:50 +03:00
sql_admin.cc Bug #58933 Assertion `thd- >is_error()' fails on shutdown with ongoing 2011-01-10 14:12:23 +01: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 Bug #59241 invalid memory read in do_div_mod with doubly assigned variables 2011-01-14 10:05:14 +01: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 WL#5571 - Audit interface: MYSQL_AUDIT_GENERAL_STATUS event 2010-12-14 17:34:23 +03:00
sql_audit.h Bug #58699 cannot build with gcc dbg on solaris 2010-12-21 13:00:26 +01:00
sql_base.cc Merge of fix for bug#58553, "Queries with pushed conditions causes 'explain 2011-01-11 12:33:28 +01:00
sql_base.h Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03:00
sql_binlog.cc Manual merge 2010-11-28 18:06:02 +08: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 WL#1054: Pluggable authentication support 2010-08-09 11:32:50 +03:00
sql_cache.cc Fix compilation warnings. 2010-10-12 14:07:13 +04: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 BUG#58948 - Valgrind warning in do_handle_one_connection() 2010-12-17 11:56:43 +03:00
sql_class.h Merge 2010-12-29 01:26:31 +01:00
sql_client.cc WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_connect.cc Bug#58136: Crash in vio_close at concurrent disconnect and KILL 2010-12-15 20:59:21 -02:00
sql_connect.h merge of mysql-5.5 into mysql-5.5-wl1054 2010-09-20 17:17:32 +03: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 Bug #58350: 5.5.7-rc compile failed at sp_head.cc 2010-12-08 18:47:21 +02: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 Manual merge from mysql-5.1-bugteam for bug#54486. 2010-12-10 17:32:58 +06: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 Bug #51099 Assertion in mysql_multi_delete_prepare() 2010-10-04 10:25:04 +02:00
sql_delete.h Merge trunk-bugfixing -> trunk-runtime 2010-06-17 17:31:51 +04:00
sql_derived.cc Bug #58730 Assertion failed: table->key_read == 0 in close_thread_table, 2010-12-16 10:55:23 +01:00
sql_derived.h Bug #58730 Assertion failed: table->key_read == 0 in close_thread_table, 2010-12-16 10:55:23 +01: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 Fix a compilation failure of non-debug build introduced 2010-11-12 17:20:12 +03:00
sql_error.h Implement a fix for Bug#57058 -- send SERVER_QUERY_WAS_SLOW over 2010-11-12 15:56:21 +03:00
sql_handler.cc Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03:00
sql_handler.h Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03:00
sql_help.cc Merge of mysql-5.1-bugteam into mysql-5.5-bugteam. 2010-10-20 17:02:59 -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 Bug #57666 Unclear warning with broken text in error log on INSERT DELAYED 2010-11-29 11:04:16 +08:00
sql_insert.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_lex.cc 5.1-bugteam->5.5-bugteam merge 2010-12-14 13:46:00 +03:00
sql_lex.h 5.1-bugteam->5.5-bugteam merge 2010-12-14 13:46:00 +03: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#46166 2010-12-07 16:11:13 +00: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 Merge 2010-12-29 01:26:31 +01:00
sql_parse.h Remove check_merge_table_access(). 2010-08-31 13:59:51 +04:00
sql_partition.cc Manual merge from 5.1 2011-01-10 15:08:31 +01:00
sql_partition.h Bug#56172: Server crashes in ha_partition::reset on 2010-10-01 13:22:11 +02:00
sql_partition_admin.cc merge of bug#58147, including rename of the new argument, 2010-12-03 10:33:29 +01:00
sql_partition_admin.h Bug#49938: Failing assertion: inode or deadlock in fsp/fsp0fsp.c 2010-10-06 11:34:28 -03:00
sql_plist.h Follow-up for bug#52289 "performance regression 2010-06-07 17:40:52 +04:00
sql_plugin.cc merge from 5.1-bugteam 2010-12-02 08:16:26 +01:00
sql_plugin.h Bug #58699 cannot build with gcc dbg on solaris 2010-12-21 13:00:26 +01:00
sql_plugin_services.h WL#5363: Thread Pool Service Interface 2010-06-07 16:01:39 +02:00
sql_prepare.cc Merge 2010-12-29 01:26:31 +01: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 5.1-bugteam->5.5-bugteam merge 2010-12-14 13:46:00 +03: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 BUG#46166 2010-12-07 16:11:13 +00:00
sql_reload.h BUG#46166 2010-12-07 16:11:13 +00:00
sql_rename.cc Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03:00
sql_rename.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_repl.cc Manual Merge. 2011-01-24 11:52:29 +08:00
sql_repl.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_select.cc Fix for #58422: Incorrect result when OUTER JOIN'ing with an empty table. 2011-01-13 11:42:48 +01:00
sql_select.h Merge 2010-12-29 01:26:31 +01: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 Bug #59275: SHOW PRIVILEGES doesn't have an entry for the PROXY privilege 2011-01-14 16:57:13 +02:00
sql_show.h Fix Bug#56443 remove last 'mysqld_show_column_type' remains 2010-10-13 12:48:08 +04: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 Merge of fix for Bug#58165. 2011-01-13 09:07:21 +01:00
sql_string.h Merge of fix for Bug#58165. 2011-01-13 09:07:21 +01:00
sql_table.cc Bug #42230 during add index, cannot do queries on storage engines 2011-01-26 14:23:29 +01:00
sql_table.h Fix Bug#57739 Scary messages in error log 2010-11-22 16:08:51 +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 Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03: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 #57659 Segfault in Query_cache::invalidate_data for TRUNCATE TABLE 2010-10-29 16:10:53 +02:00
sql_truncate.h Bug#49938: Failing assertion: inode or deadlock in fsp/fsp0fsp.c 2010-10-06 11:34:28 -03:00
sql_udf.cc Merging patch for BUG#58246 into mysql-5.5-bugteam. 2010-12-01 23:15:14 +01:00
sql_udf.h WL#5016: Fix header file include guards 2009-09-23 23:32:31 +02:00
sql_union.cc Bug#57704 Cleanup code dies with void TABLE::set_keyread(bool): Assertion `file' failed. 2010-11-10 15:48:29 +01:00
sql_union.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
sql_update.cc Merge 2010-12-29 01:26:31 +01:00
sql_update.h Bug#56423: Different count with SELECT and CREATE SELECT queries 2010-10-07 12:01:51 +02:00
sql_view.cc Merged fix for bug #58499 "DEFINER-security view selecting from 2011-01-12 16:28:33 +03: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 Bug#58970 Problem Subquery (without referencing a table) 2011-01-10 13:43:12 +01: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#1054: Pluggable authentication support 2010-08-09 11:32:50 +03:00
sys_vars.cc Fix for bug #58669: read_only not enforced on 5.5.x 2010-12-07 20:08:54 +03:00
sys_vars.h Bug #58699 cannot build with gcc dbg on solaris 2010-12-21 13:00:26 +01:00
sys_vars_shared.h WL#5030: Split and remove mysql_priv.h 2010-03-31 16:05:33 +02:00
table.cc Manual merge from 5.1 2011-01-10 15:08:31 +01:00
table.h Merge 2010-12-29 01:26:31 +01: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 Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03: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 automerge 5.1-security --> 5.5-security (bug 55424) 2010-08-15 11:56:14 +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