~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/user_locks/release_lock.cc

Merge includes branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
  default:
58
58
  case locks::SUCCESS:
59
59
    {
60
 
      user_locks::Storable *list= static_cast<user_locks::Storable *>(getSession().getProperty("user_locks"));
 
60
      user_locks::Storable *list= getSession().getProperty<user_locks::Storable>("user_locks");
61
61
      assert(list);
62
62
      if (list) // Just in case we ever blow the assert
63
63
        list->erase(Key(*user_identifier, res->c_str()));