~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/alter_column.h

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLED_ALTER_COLUMN_H
21
21
#define DRIZZLED_ALTER_COLUMN_H
22
22
 
23
 
#include <drizzled/sql_alloc.h>
 
23
#include "drizzled/memory/sql_alloc.h"
24
24
 
25
25
class Item;
26
 
typedef struct st_mem_root MEM_ROOT;
 
26
namespace drizzled { namespace memory { class Root; } }
27
27
 
28
 
class AlterColumn :public Sql_alloc {
 
28
class AlterColumn :public drizzled::memory::SqlAlloc {
29
29
public:
30
30
  const char *name;
31
31
  Item *def;
38
38
    Used to make a clone of this object for ALTER/CREATE TABLE
39
39
    @sa comment for Key_part_spec::clone
40
40
  */
41
 
  AlterColumn *clone(MEM_ROOT *mem_root) const
 
41
  AlterColumn *clone(drizzled::memory::Root *mem_root) const
42
42
  {
43
43
    return new (mem_root) AlterColumn(*this);
44
44
  }