~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/key_part_spec.h

  • Committer: Olaf van der Spek
  • Date: 2011-10-18 11:01:40 UTC
  • mto: This revision was merged to the branch mainline in revision 2443.
  • Revision ID: olafvdspek@gmail.com-20111018110140-5kiyo83d27p56orh
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
namespace drizzled {
27
27
 
28
 
class Key_part_spec :public memory::SqlAlloc {
 
28
class Key_part_spec : public memory::SqlAlloc 
 
29
{
29
30
public:
30
31
  lex_string_t field_name;
31
32
  uint32_t length;
32
 
  Key_part_spec(const lex_string_t &name, uint32_t len)
 
33
  Key_part_spec(lex_string_t name, uint32_t len)
33
34
    : field_name(name), length(len)
34
35
  {}
35
36
  Key_part_spec(const char *name, const size_t name_len, uint32_t len)