~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/query_id.h

  • Committer: Brian Aker
  • Date: 2009-11-18 22:58:22 UTC
  • mto: (1223.1.1 push) (1226.1.2 push)
  • mto: This revision was merged to the branch mainline in revision 1224.
  • Revision ID: brian@gaz-20091118225822-4ryr9rviir23o0kr
Second pass through bugs related to CREATE TABLE LIKE

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <pthread.h>
24
24
#include <drizzled/atomics.h>
25
25
 
26
 
namespace drizzled
27
 
{
28
 
 
29
 
typedef uint64_t query_id_t;
30
 
 
31
26
class Query_id
32
27
{
33
28
public:
44
39
  query_id_t next();
45
40
 
46
41
private:
47
 
  atomic<uint64_t> the_query_id;
 
42
  drizzled::atomic<uint64_t> the_query_id;
48
43
 
49
44
  Query_id();
50
45
  Query_id(Query_id const&);
51
46
  Query_id& operator=(Query_id const&);
52
47
};
53
48
 
54
 
} /* namespace drizzled */
55
 
 
56
49
#endif /* DRIZZLED_QUERY_ID_H */