~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/user_locks/barrier_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:
56
56
  while (iter != barrier_map.end())
57
57
  {
58
58
    // USER_BARRIER_NAME
59
 
    push((*iter).first.getLockName());
 
59
    push(iter->first.getLockName());
60
60
 
61
61
    // SESSION_ID
62
 
    push((*iter).second->getOwner());
 
62
    push(iter->second->getOwner());
63
63
     
64
64
    // USER_NAME
65
 
    push((*iter).first.getUser());
 
65
    push(iter->first.getUser());
66
66
    
67
67
    // WAITER_LIMIT
68
 
    push((*iter).second->getLimit());
 
68
    push(iter->second->getLimit());
69
69
    
70
70
    // GENERATION
71
 
    push((*iter).second->getGeneration());
 
71
    push(iter->second->getGeneration());
72
72
    
73
73
    // WAITERS
74
 
    push((*iter).second->sizeWaiters());
 
74
    push(iter->second->sizeWaiters());
75
75
    
76
76
    // OBSERVERS
77
 
    push((*iter).second->sizeObservers());
 
77
    push(iter->second->sizeObservers());
78
78
 
79
79
    iter++;
80
80
    return true;