48
46
user_locks::Storable *list= static_cast<user_locks::Storable *>(getSession().getProperty("user_locks"));
49
47
if (list) // To be compatible with MySQL, we will now release all other locks we might have.
54
53
boost::this_thread::restore_interruption dl(getSession().getThreadInterupt());
57
result= user_locks::Locks::getInstance().lock(getSession().getSessionId(), Key(getSession().getSecurityContext(), res->c_str()), wait_time);
56
result= user_locks::Locks::getInstance().lock(getSession().getSessionId(), Key(*user_identifier, res->c_str()), wait_time);
59
58
catch(boost::thread_interrupted const& error)