~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/dtcollation.h

  • Committer: Brian Aker
  • Date: 2009-01-24 09:43:35 UTC
  • Revision ID: brian@gir-3.local-20090124094335-6qdtvc35gl5fvivz
Adding in an example singe thread scheduler

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLED_DTCOLLATION_H
21
21
#define DRIZZLED_DTCOLLATION_H
22
22
 
 
23
#include <stdint.h>
 
24
 
23
25
#include <drizzled/definitions.h>
24
26
 
25
 
namespace drizzled
26
 
{
27
 
 
28
27
class Item;
29
28
typedef struct charset_info_st CHARSET_INFO;
30
29
 
33
32
public:
34
33
  const CHARSET_INFO *collation;
35
34
  enum Derivation derivation;
 
35
  uint32_t repertoire;
 
36
 
 
37
  void set_repertoire_from_charset(const CHARSET_INFO * const cs);
36
38
 
37
39
  DTCollation();
38
40
  DTCollation(const CHARSET_INFO * const collation_arg,
40
42
  void set(DTCollation &dt);
41
43
  void set(const CHARSET_INFO * const collation_arg,
42
44
           Derivation derivation_arg);
 
45
  void set(const CHARSET_INFO * const collation_arg,
 
46
           Derivation derivation_arg,
 
47
           uint32_t repertoire_arg);
43
48
  void set(const CHARSET_INFO * const collation_arg);
44
49
  void set(Derivation derivation_arg);
45
50
  bool set(DTCollation &dt1, DTCollation &dt2, uint32_t flags= 0);
135
140
void my_coll_agg_error(Item** args, uint32_t count, const char *fname,
136
141
                       int item_sep);
137
142
 
138
 
} /* namespace drizzled */
139
 
 
140
143
#endif /* DRIZZLED_DTCOLLATION_H */