47
47
if (list) // To be compatible with MySQL, we will now release all other locks we might have.
51
50
drizzled::identifier::User::const_shared_ptr user_identifier(getSession().user());
53
52
boost::this_thread::restore_interruption dl(getSession().getThreadInterupt());
56
result= user_locks::Locks::getInstance().lock(getSession().getSessionId(), Key(*user_identifier, res->c_str()), wait_time);
56
if (not user_locks::Locks::getInstance().lock(getSession().getSessionId(), Key(*user_identifier, res->c_str()), wait_time))
60
61
my_error(drizzled::ER_QUERY_INTERRUPTED, MYF(0));
80
72
} /* namespace user_locks */