~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 12:15:09 UTC
  • mto: This revision was merged to the branch mainline in revision 2443.
  • Revision ID: olafvdspek@gmail.com-20111018121509-e1n40yvkevkwswxb
Use str_ref

Show diffs side-by-side

added added

removed removed

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