Skip to main content

HTON_CAN_RECREATE

Constant HTON_CAN_RECREATE 

Source
pub const HTON_CAN_RECREATE: u32 = _; // 4u32
Expand description

HTON_CAN_RECREATE from sql/handler.h: the engine implements TRUNCATE by recreating the table. This is the flag the zero-config handlerton sets, so it backs HtonFlags::CAN_RECREATE. Hand-written as u32 because sql/handler.h is not a bindgen input; shim/binding.cc static-asserts the value to catch upstream drift.