36
36
wait_time= args[1]->val_int();
47
50
if (list) // To be compatible with MySQL, we will now release all other locks we might have.
56
result= user_locks::Locks::getInstance().lock(getSession().getSessionId(), Key(*user_identifier, res->c_str()), wait_time);
53
boost::tribool result= user_locks::Locks::getInstance().lock(getSession().getSessionId(), Key(getSession().getSecurityContext(), res->c_str()), wait_time);