~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/user_locks/user_locks_dictionary.cc

  • Committer: Olaf van der Spek
  • Date: 2011-02-24 13:19:47 UTC
  • mto: (2209.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2207.
  • Revision ID: olafvdspek@gmail.com-20110224131947-0fra5adn3kixp6v1
Use "iter->" instead of "(*iter)."

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
  while (iter != lock_map.end())
50
50
  {
51
51
    // USER_LOCK_NAME
52
 
    push((*iter).first.getLockName());
 
52
    push(iter->first.getLockName());
53
53
 
54
54
    // SESSION_ID
55
 
    push((*iter).second->id);
 
55
    push(iter->second->id);
56
56
    //
57
57
    // USERNAME
58
 
    push((*iter).first.getUser());
 
58
    push(iter->first.getUser());
59
59
 
60
60
    iter++;
61
61
    return true;