~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.h

  • Committer: Stewart Smith
  • Date: 2011-03-03 08:29:06 UTC
  • mto: (2216.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2217.
  • Revision ID: stewart@flamingspork.com-20110303082906-5zhmxub1j7au038u
remove enum_query_type which was effectively unused. It was set to one value once, compared to it once (i.e. always true) and passed around everywhere doing nothing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
378
378
  inline void unclean() { cleaned= 0; }
379
379
  void reinit_exec_mechanism();
380
380
 
381
 
  void print(String *str, enum_query_type query_type);
 
381
  void print(String *str);
382
382
 
383
383
  bool add_fake_select_lex(Session *session);
384
384
  void init_prepare_fake_select_lex(Session *session);
646
646
    init_select();
647
647
  }
648
648
  bool setup_ref_array(Session *session, uint32_t order_group_num);
649
 
  void print(Session *session, String *str, enum_query_type query_type);
650
 
  static void print_order(String *str,
651
 
                          Order *order,
652
 
                          enum_query_type query_type);
653
 
  void print_limit(Session *session, String *str, enum_query_type query_type);
 
649
  void print(Session *session, String *str);
 
650
  static void print_order(String *str, Order *order);
 
651
 
 
652
  void print_limit(Session *session, String *str);
654
653
  void fix_prepare_information(Session *session, Item **conds, Item **having_conds);
655
654
  /*
656
655
    Destroy the used execution plan (JOIN) of this subtree (this