Skip to content

Commit

Permalink
Disable defragmentation support for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Lindström committed May 8, 2017
1 parent f0eb8f1 commit 8773f14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion storage/innobase/handler/ha_innodb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15295,7 +15295,8 @@ ha_innobase::optimize(
This works OK otherwise, but MySQL locks the entire table during
calls to OPTIMIZE, which is undesirable. */

if (srv_defragment) {
/* TODO: Defragment is disabled for now */
if (0) {
int err;

err = defragment_table(m_prebuilt->table->name.m_name, NULL, false);
Expand Down

0 comments on commit 8773f14

Please sign in to comment.