~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-08 04:50:51 UTC
  • mfrom: (2430.1.1 rf)
  • Revision ID: me@mark.atwood.name-20111008045051-6ha1qiy7k2a9c3jv
Tags: 2011.10.27
mergeĀ lp:~olafvdspek/drizzle/refactor2

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
  {}
35
35
  Key_part_spec(const char *name, const size_t name_len, uint32_t len)
36
36
    : length(len)
37
 
  { field_name.str= const_cast<char *>(name); field_name.length= name_len; }
 
37
  { field_name.assign(name, name_len); }
38
38
  bool operator==(const Key_part_spec& other) const;
39
39
  /**
40
40
    Construct a copy of this Key_part_spec. field_name is copied