~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/user_locks/is_used_lock.cc

  • Committer: Brian Aker
  • Date: 2010-12-18 10:14:05 UTC
  • mfrom: (2008.1.3 clean)
  • Revision ID: brian@tangent.org-20101218101405-qjbse29shi9coklg
Merge of user identifier work

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
  null_value= false;
38
38
 
39
39
  drizzled::session_id_t id;
40
 
  bool result= user_locks::Locks::getInstance().isUsed(Key(getSession().getSecurityContext(), res->c_str()), id);
 
40
  bool result= user_locks::Locks::getInstance().isUsed(Key(*getSession().user(), res->c_str()), id);
41
41
 
42
42
  if (not result)
43
43
  {