23 #include <drizzled/thr_lock.h>
24 #include <drizzled/locking/global.h>
41 size_t sizeTable()
const
46 void resizeTable(
size_t arg)
51 size_t sizeLock()
const
61 void setLock(
size_t arg)
67 void unlock(uint32_t count);
71 table.resize(table_count_arg);
72 lock_count= table_count_arg * 2;
73 locks.resize(lock_count);
79 std::vector<Table *> table;
80 std::vector<THR_LOCK_DATA *> locks;
81 std::vector<THR_LOCK_DATA *> copy_of;
85 #define DRIZZLE_LOCK_IGNORE_GLOBAL_READ_LOCK 0x0001
86 #define DRIZZLE_LOCK_IGNORE_FLUSH 0x0002
87 #define DRIZZLE_LOCK_NOTIFY_IF_NEED_REOPEN 0x0004
88 #define DRIZZLE_OPEN_TEMPORARY_ONLY 0x0008