~stewart/drizzle/docs-improvements-1

« back to all changes in this revision

Viewing changes to plugin/user_locks/wait_for_lock.cc

merged with up to date trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 
44
44
  while (not found)
45
45
  {
46
 
    found= user_locks::Locks::getInstance().isUsed(Key(getSession().getSecurityContext(), res->c_str()), id);
 
46
    found= user_locks::Locks::getInstance().isUsed(Key(*getSession().user(), res->c_str()), id);
47
47
    if (not found)
48
48
    {
49
49
      boost::this_thread::restore_interruption dl(getSession().getThreadInterupt());