| 686 | */ |
| 687 | |
| 688 | static void disable_checkpoints(THD *thd) |
| 689 | { |
| 690 | if (!thd->global_disable_checkpoint) |
| 691 | { |
| 692 | thd->global_disable_checkpoint= 1; |
| 693 | if (!global_disable_checkpoint++) |
| 694 | ha_disable_internal_writes(1); // Disable checkpoints |
| 695 | } |
| 696 | } |
no test coverage detected