~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/key_part_spec.h

  • Committer: Mark Atwood
  • Date: 2011-10-19 00:10:47 UTC
  • mfrom: (2440.2.13 rf)
  • Revision ID: me@mark.atwood.name-20111019001047-atj0u8gedphon1tb
mergeĀ lp:~olafvdspek/drizzle/refactor5

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
 
  lex_string_t field_name;
 
31
  str_ref field_name;
31
32
  uint32_t length;
32
 
  Key_part_spec(const lex_string_t &name, uint32_t len)
 
33
  Key_part_spec(str_ref 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)