~mordred/drizzle/fix-bell-bugs

« back to all changes in this revision

Viewing changes to drizzled/alter_drop.h

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLED_ALTER_DROP_H
21
21
#define DRIZZLED_ALTER_DROP_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 AlterDrop :public Sql_alloc {
 
28
class AlterDrop :public drizzled::memory::SqlAlloc {
29
29
public:
30
30
  enum drop_type
31
31
  {
43
43
    Used to make a clone of this object for ALTER/CREATE TABLE
44
44
    @sa comment for Key_part_spec::clone
45
45
  */
46
 
  AlterDrop *clone(MEM_ROOT *mem_root) const
 
46
  AlterDrop *clone(drizzled::memory::Root *mem_root) const
47
47
  {
48
48
    return new (mem_root) AlterDrop(*this);
49
49
  }