~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/subselect.h

fixes for the installing from source doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
  inline bool get_const_item_cache() { return const_item_cache; }
124
124
  Item *get_tmp_table_item(Session *session);
125
125
  void update_used_tables();
126
 
  virtual void print(String *str, enum_query_type query_type);
 
126
  virtual void print(String *str);
127
127
  virtual bool have_guarded_conds() { return false; }
128
128
  bool change_engine(subselect_engine *eng)
129
129
  {
222
222
public:
223
223
  Item_maxmin_subselect(Session *session, Item_subselect *parent,
224
224
                        Select_Lex *select_lex, bool max);
225
 
  virtual void print(String *str, enum_query_type query_type);
 
225
  virtual void print(String *str);
226
226
  void cleanup();
227
227
  bool any_value() { return was_values; }
228
228
  void register_value() { was_values= true; }
253
253
  type::Decimal *val_decimal(type::Decimal *);
254
254
  bool val_bool();
255
255
  void fix_length_and_dec();
256
 
  virtual void print(String *str, enum_query_type query_type);
 
256
  virtual void print(String *str);
257
257
 
258
258
  friend class select_exists_subselect;
259
259
  friend class subselect_uniquesubquery_engine;
373
373
  void top_level_item() { abort_on_null=1; }
374
374
  inline bool is_top_level_item() { return abort_on_null; }
375
375
  bool test_limit(Select_Lex_Unit *unit);
376
 
  virtual void print(String *str, enum_query_type query_type);
 
376
  virtual void print(String *str);
377
377
  bool fix_fields(Session *session, Item **ref);
378
378
  bool setup_engine();
379
379
  bool init_left_expr_cache();
401
401
  // only ALL subquery has upper not
402
402
  subs_type substype() { return all?ALL_SUBS:ANY_SUBS; }
403
403
  trans_res select_transformer(Join *join);
404
 
  virtual void print(String *str, enum_query_type query_type);
 
404
  virtual void print(String *str);
405
405
};
406
406
 
407
407
 
470
470
  virtual bool may_be_null() { return maybe_null; }
471
471
  virtual table_map upper_select_const_tables()= 0;
472
472
  static table_map calc_const_tables(TableList *);
473
 
  virtual void print(String *str, enum_query_type query_type)= 0;
 
473
  virtual void print(String *str)= 0;
474
474
  virtual bool change_result(Item_subselect *si,
475
475
                             select_result_interceptor *result)= 0;
476
476
  virtual bool no_tables()= 0;
504
504
  bool uncacheable(uint32_t bit_pos);
505
505
  void exclude();
506
506
  table_map upper_select_const_tables();
507
 
  virtual void print (String *str, enum_query_type query_type);
 
507
  virtual void print (String *str);
508
508
  bool change_result(Item_subselect *si, select_result_interceptor *result);
509
509
  bool no_tables();
510
510
  bool may_be_null();
534
534
  bool uncacheable(uint32_t bit_pos);
535
535
  void exclude();
536
536
  table_map upper_select_const_tables();
537
 
  virtual void print (String *str, enum_query_type query_type);
 
537
  virtual void print (String *str);
538
538
  bool change_result(Item_subselect *si, select_result_interceptor *result);
539
539
  bool no_tables();
540
540
  bool is_executed() const;
592
592
  bool uncacheable(uint32_t) { return true; }
593
593
  void exclude();
594
594
  table_map upper_select_const_tables() { return 0; }
595
 
  virtual void print (String *str, enum_query_type query_type);
 
595
  virtual void print (String *str);
596
596
  bool change_result(Item_subselect *si, select_result_interceptor *result);
597
597
  bool no_tables();
598
598
  int scan_table();
647
647
     having(having_arg)
648
648
  {}
649
649
  int exec();
650
 
  virtual void print (String *str, enum_query_type query_type);
 
650
  virtual void print (String *str);
651
651
  virtual enum_engine_type engine_type() { return INDEXSUBQUERY_ENGINE; }
652
652
};
653
653
 
704
704
  void cleanup();
705
705
  int prepare() { return 0; }
706
706
  int exec();
707
 
  virtual void print (String *str, enum_query_type query_type);
 
707
  virtual void print (String *str);
708
708
  uint32_t cols()
709
709
  {
710
710
    return materialize_engine->cols();