739
739
_global_read_lock= arg;
742
DrizzleLock *mysql_lock_tables(Table **tables, uint32_t count, uint32_t flags, bool *need_reopen);
742
DrizzleLock *lockTables(Table **tables, uint32_t count, uint32_t flags, bool *need_reopen);
743
743
bool lockGlobalReadLock();
744
744
bool lock_table_names(TableList *table_list);
745
745
bool lock_table_names_exclusively(TableList *table_list);
746
746
bool makeGlobalReadLockBlockCommit();
747
bool mysql_lock_abort_for_thread(Table *table);
747
bool abortLockForThread(Table *table);
748
748
bool wait_if_global_read_lock(bool abort_on_refresh, bool is_not_commit);
749
749
int lock_table_name(TableList *table_list);
750
void mysql_lock_abort(Table *table);
751
void mysql_lock_remove(Table *table);
752
void mysql_unlock_read_tables(DrizzleLock *sql_lock);
753
void mysql_unlock_some_tables(Table **table, uint32_t count);
754
void mysql_unlock_tables(DrizzleLock *sql_lock);
750
void abortLock(Table *table);
751
void removeLock(Table *table);
752
void unlockReadTables(DrizzleLock *sql_lock);
753
void unlockSomeTables(Table **table, uint32_t count);
754
void unlockTables(DrizzleLock *sql_lock);
755
755
void startWaitingGlobalReadLock();
756
756
void unlockGlobalReadLock();