23 #include <drizzled/session.h>
24 #include <drizzled/lock.h>
25 #include <drizzled/statement/unlock_tables.h>
38 if (session().isGlobalReadLock())
40 session().unlockGlobalReadLock();
45 my_error(ER_NO_LOCK_HELD, MYF(0));
void my_ok(ha_rows affected_rows=0, ha_rows found_rows_arg=0, uint64_t passed_id=0, const char *message=NULL)
TODO: Rename this file - func.h is stupid.