~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

  • Committer: Stewart Smith
  • Date: 2011-03-01 10:40:51 UTC
  • mto: (2241.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2242.
  • Revision ID: stewart@flamingspork.com-20110301104051-b64ih1fl3yoj9sg0
move the message::AlterTable header include into sql_lex.cc so we can just have a forward declaration in sql_lex.h - greatly speeding compile time

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
#include <cstdio>
35
35
#include <ctype.h>
36
36
 
 
37
#include <drizzled/message/alter_table.pb.h>
 
38
 
37
39
union ParserType;
38
40
 
39
41
using namespace std;
2176
2178
  return false;
2177
2179
}
2178
2180
 
 
2181
message::AlterTable *LEX::alter_table()
 
2182
{
 
2183
  if (not _alter_table)
 
2184
    _alter_table= new message::AlterTable;
 
2185
 
 
2186
  return _alter_table;
 
2187
}
2179
2188
 
2180
2189
} /* namespace drizzled */