~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/lock.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-23 11:44:30 UTC
  • mto: This revision was merged to the branch mainline in revision 2348.
  • Revision ID: olafvdspek@gmail.com-20110623114430-no355yypk4y3icqb
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
4
 *  Copyright (C) 2010 Brian Aker
5
 
 *  Copyright (C) 2008 Sun Microsystems
 
5
 *  Copyright (C) 2008 Sun Microsystems, Inc.
6
6
 *
7
7
 *  This program is free software; you can redistribute it and/or modify
8
8
 *  it under the terms of the GNU General Public License as published by
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include "config.h"
22
 
#include "drizzled/lock.h"
23
 
 
24
 
namespace drizzled
25
 
{
26
 
 
27
 
void DrizzleLock::reset(void)
 
21
#include <config.h>
 
22
#include <drizzled/lock.h>
 
23
 
 
24
namespace drizzled {
 
25
 
 
26
void DrizzleLock::reset()
28
27
{
29
28
  for (std::vector<THR_LOCK_DATA *>::iterator iter= locks.begin(); iter != locks.begin() + sizeLock() and iter != locks.end(); iter++)
30
29
  {
32
31
  }
33
32
}
34
33
 
35
 
 
36
34
} /* namespace drizzled */