~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/alter_column.h

  • Committer: Monty Taylor
  • Date: 2010-02-04 08:14:46 UTC
  • mfrom: (1277.2.1 build) (1280.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 1283.
  • Revision ID: mordred@inaugust.com-20100204081446-ldh9m486va30uap6
Put everything in drizzled into drizzled namespace.
Put internal stuff into drizzled::internal namespace.
Removed some cruft.
Now every symbol that is shipped in a header is in the drizzled namespace
and everything in the server that's not shipped is labeled internal. woot. 
Removed a lot of the extra extern "C" stuff that was in there. Less ugliness for
internal callbacks now for Sun Studio.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include "drizzled/memory/sql_alloc.h"
24
24
 
 
25
namespace drizzled
 
26
{
 
27
 
 
28
namespace memory { class Root; }
 
29
 
25
30
class Item;
26
 
namespace drizzled { namespace memory { class Root; } }
27
31
 
28
 
class AlterColumn :public drizzled::memory::SqlAlloc {
 
32
class AlterColumn :public memory::SqlAlloc {
29
33
public:
30
34
  const char *name;
31
35
  Item *def;
38
42
    Used to make a clone of this object for ALTER/CREATE TABLE
39
43
    @sa comment for Key_part_spec::clone
40
44
  */
41
 
  AlterColumn *clone(drizzled::memory::Root *mem_root) const
 
45
  AlterColumn *clone(memory::Root *mem_root) const
42
46
  {
43
47
    return new (mem_root) AlterColumn(*this);
44
48
  }
45
49
};
46
50
 
 
51
} /* namespace drizzled */
 
52
 
47
53
#endif /* DRIZZLED_ALTER_COLUMN_H */