Commit 69e076ec authored by Sergei Golubchik's avatar Sergei Golubchik

bugfix: delay_key_write=ALL cannot be turned off

parent 42b82357
......@@ -581,9 +581,11 @@ export bool fix_delay_key_write(sys_var *self, THD *thd, enum_var_type type)
switch (delay_key_write_options) {
case DELAY_KEY_WRITE_NONE:
myisam_delay_key_write=0;
ha_open_options&= ~HA_OPEN_DELAY_KEY_WRITE;
break;
case DELAY_KEY_WRITE_ON:
myisam_delay_key_write=1;
ha_open_options&= ~HA_OPEN_DELAY_KEY_WRITE;
break;
case DELAY_KEY_WRITE_ALL:
myisam_delay_key_write=1;
......
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