~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/query_id.cc

  • Committer: Mark Atwood
  • Date: 2011-08-17 19:14:47 UTC
  • mfrom: (2385.3.17 rf)
  • Revision ID: me@mark.atwood.name-20110817191447-h86yzddvycd0xmof
mergeĀ lp:~olafvdspek/drizzle/refactor6

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 */