macro_rules! static_table_lock {
(LOCK TABLE $table:literal$(,)? $($tables:literal),*) => { ... };
(LOCK TABLE ONLY $table:literal) => { ... };
(LOCK TABLE $table:literal$(,)? $($tables:literal),* NOWAIT) => { ... };
(LOCK TABLE ONLY $table:literal NOWAIT) => { ... };
(LOCK TABLE $table:literal$(,)? $($tables:literal),* IN $mode:tt MODE) => { ... };
(LOCK TABLE ONLY $table:literal IN $mode:tt MODE) => { ... };
(LOCK TABLE $table:literal$(,)? $($tables:literal),* IN $mode:tt MODE NOWAIT) => { ... };
(LOCK TABLE ONLY $table:literal IN $mode:tt MODE NOWAIT) => { ... };
}
Expand description
LOCK sql command