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