~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.h

  • 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:
24
24
  @defgroup Semantic_Analysis Semantic Analysis
25
25
*/
26
26
#include <drizzled/message/table.pb.h>
27
 
#include <drizzled/message/alter_table.pb.h>
28
27
 
29
28
#include <drizzled/plugin/function.h>
30
29
#include <drizzled/name_resolution_context.h>
42
41
namespace drizzled
43
42
{
44
43
 
 
44
  namespace message
 
45
  {
 
46
    class AlterTable;
 
47
  }
 
48
 
45
49
class st_lex_symbol;
46
50
class select_result_interceptor;
47
51
 
1017
1021
    return _create_table;
1018
1022
  }
1019
1023
 
1020
 
  message::AlterTable *alter_table()
1021
 
  {
1022
 
    if (not _alter_table)
1023
 
      _alter_table= new message::AlterTable;
1024
 
 
1025
 
    return _alter_table;
1026
 
  }
 
1024
  message::AlterTable *alter_table();
1027
1025
 
1028
1026
  message::Table::Field *field()
1029
1027
  {