~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/key_part_spec.h

  • Committer: Lee Bieber
  • Date: 2010-01-30 23:42:02 UTC
  • mto: This revision was merged to the branch mainline in revision 1282.
  • Revision ID: lbieber@lee-biebers-macbook-pro.local-20100130234202-sxmqfteqwiq15ptg
add target to japanese tests

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