~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/query_id.h

Merged remove-dead-find_field_in_table_sef into remove-dead-Item-save_in_field_no_warnings.

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
 
26
29
typedef uint64_t query_id_t;
27
30
 
28
31
class Query_id
41
44
  query_id_t next();
42
45
 
43
46
private:
44
 
  drizzled::atomic<uint64_t> the_query_id;
 
47
  atomic<uint64_t> the_query_id;
45
48
 
46
49
  Query_id();
47
50
  Query_id(Query_id const&);
48
51
  Query_id& operator=(Query_id const&);
49
52
};
50
53
 
 
54
} /* namespace drizzled */
 
55
 
51
56
#endif /* DRIZZLED_QUERY_ID_H */