bugfix: delay_key_write=ALL cannot be turned off
This commit is contained in:
parent
42b8235788
commit
69e076ec78
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user