Commit 5a7d6382 authored by Alexey Botchkov's avatar Alexey Botchkov

merging.

parents 58cb9641 fc570243
...@@ -1789,6 +1789,8 @@ int ha_myisam::extra(enum ha_extra_function operation) ...@@ -1789,6 +1789,8 @@ int ha_myisam::extra(enum ha_extra_function operation)
{ {
if ((specialflag & SPECIAL_SAFE_MODE) && operation == HA_EXTRA_KEYREAD) if ((specialflag & SPECIAL_SAFE_MODE) && operation == HA_EXTRA_KEYREAD)
return 0; return 0;
if (operation == HA_EXTRA_MMAP && !opt_myisam_use_mmap)
return 0;
return mi_extra(file, operation, 0); return mi_extra(file, operation, 0);
} }
......
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