~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/query_id.cc

  • Committer: Olaf van der Spek
  • Date: 2011-08-14 15:59:54 UTC
  • mto: This revision was merged to the branch mainline in revision 2407.
  • Revision ID: olafvdspek@gmail.com-20110814155954-zf2yu0ji8bwghnl9
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
namespace drizzled {
26
26
 
27
 
Query_id::Query_id()
28
 
{
29
 
  the_query_id= 1;
30
 
}
31
 
 
32
 
uint64_t Query_id::value() const
33
 
{
34
 
  return the_query_id;
35
 
}
36
 
 
37
 
uint64_t Query_id::next()
38
 
{
39
 
  return the_query_id.increment();
40
 
}
 
27
Query_id Query_id::the_id;
41
28
 
42
29
} /* namespace drizzled */