~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-07-04 19:11:47 UTC
  • mto: This revision was merged to the branch mainline in revision 2367.
  • Revision ID: olafvdspek@gmail.com-20110704191147-s99ojek811zi1fzj
RemoveĀ unusedĀ Name_resolution_context::error_reporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include "config.h"
 
21
#include <config.h>
22
22
 
23
 
#include "plugin/user_locks/module.h"
 
23
#include <plugin/user_locks/module.h>
24
24
 
25
25
#include <drizzled/atomics.h>
26
26
#include <drizzled/session.h>
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;