Commit 8773f146 authored by Jan Lindström's avatar Jan Lindström

Disable defragmentation support for now.

parent f0eb8f15
...@@ -15295,7 +15295,8 @@ ha_innobase::optimize( ...@@ -15295,7 +15295,8 @@ ha_innobase::optimize(
This works OK otherwise, but MySQL locks the entire table during This works OK otherwise, but MySQL locks the entire table during
calls to OPTIMIZE, which is undesirable. */ calls to OPTIMIZE, which is undesirable. */
if (srv_defragment) { /* TODO: Defragment is disabled for now */
if (0) {
int err; int err;
err = defragment_table(m_prebuilt->table->name.m_name, NULL, false); err = defragment_table(m_prebuilt->table->name.m_name, NULL, false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment