~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/key_part_spec.h

  • Committer: Monty Taylor
  • Date: 2010-02-05 08:11:15 UTC
  • mfrom: (1283 build)
  • mto: (1273.13.43 fix_is)
  • mto: This revision was merged to the branch mainline in revision 1300.
  • Revision ID: mordred@inaugust.com-20100205081115-dr82nvrwv4lvw7sd
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include "drizzled/memory/sql_alloc.h"
25
25
#include "drizzled/lex_string.h"
26
26
 
 
27
namespace drizzled
 
28
{
 
29
 
 
30
namespace memory { class Root; }
 
31
 
27
32
class Item;
28
 
namespace drizzled { namespace memory { class Root; } }
29
33
 
30
 
class Key_part_spec :public drizzled::memory::SqlAlloc {
 
34
class Key_part_spec :public memory::SqlAlloc {
31
35
public:
32
36
  LEX_STRING field_name;
33
37
  uint32_t length;
47
51
    @return If out of memory, 0 is returned and an error is set in
48
52
    Session.
49
53
  */
50
 
  Key_part_spec *clone(drizzled::memory::Root *mem_root) const
51
 
  { return new (mem_root) Key_part_spec(*this); }
 
54
  Key_part_spec *clone(memory::Root *mem_root) const
 
55
  {
 
56
    return new (mem_root) Key_part_spec(*this);
 
57
  }
52
58
};
53
59
 
 
60
} /* namespace drizzled */
 
61
 
54
62
#endif /* DRIZZLED_KEY_PART_SPEC_H */