~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/subselect.h

  • Committer: Monty Taylor
  • Date: 2010-12-24 02:13:05 UTC
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101224021305-e3slv1cyjczqorij
Changed the bzrignore file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
/* subselect Item */
24
24
 
25
25
 
26
 
#include <drizzled/comp_creator.h>
27
 
#include <drizzled/item/ref.h>
28
 
#include <drizzled/item/field.h>
29
 
#include <drizzled/item/bin_string.h>
30
 
#include <drizzled/util/test.h>
 
26
#include "drizzled/comp_creator.h"
 
27
#include "drizzled/item/ref.h"
 
28
#include "drizzled/item/field.h"
 
29
#include "drizzled/item/bin_string.h"
 
30
#include "drizzled/util/test.h"
31
31
 
32
32
namespace drizzled
33
33
{
183
183
  double val_real();
184
184
  int64_t val_int ();
185
185
  String *val_str (String *);
186
 
  type::Decimal *val_decimal(type::Decimal *);
 
186
  my_decimal *val_decimal(my_decimal *);
187
187
  bool val_bool();
188
188
  enum Item_result result_type() const;
189
189
  enum_field_types field_type() const;
214
214
};
215
215
 
216
216
/* used in static ALL/ANY optimization */
 
217
class select_max_min_finder_subselect;
217
218
class Item_maxmin_subselect :public Item_singlerow_subselect
218
219
{
219
220
protected:
250
251
  int64_t val_int();
251
252
  double val_real();
252
253
  String *val_str(String*);
253
 
  type::Decimal *val_decimal(type::Decimal *);
 
254
  my_decimal *val_decimal(my_decimal *);
254
255
  bool val_bool();
255
256
  void fix_length_and_dec();
256
257
  virtual void print(String *str, enum_query_type query_type);
367
368
  int64_t val_int();
368
369
  double val_real();
369
370
  String *val_str(String*);
370
 
  type::Decimal *val_decimal(type::Decimal *);
 
371
  my_decimal *val_decimal(my_decimal *);
371
372
  void update_null_value () { (void) val_bool(); }
372
373
  bool val_bool();
373
374
  void top_level_item() { abort_on_null=1; }
511
512
  bool is_executed() const { return executed; }
512
513
  bool no_rows();
513
514
  virtual enum_engine_type engine_type() { return SINGLE_SELECT_ENGINE; }
514
 
  bool save_join_if_explain();
515
515
 
516
516
  friend class subselect_hash_sj_engine;
517
517
  friend class Item_in_subselect;