~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/subselect.h

  • Committer: Brian Aker
  • Date: 2009-02-07 22:33:25 UTC
  • Revision ID: brian@tangent.org-20090207223325-5ipgldvw1pkghboq
typdef class removal (just... use the name of the class).

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include <drizzled/item/field.h>
29
29
 
30
30
class Select_Lex;
31
 
class Select_Lex_unit;
 
31
class Select_Lex_Unit;
32
32
class JOIN;
33
33
class select_result_interceptor;
34
34
class subselect_engine;
52
52
  Item *substitution;
53
53
  /* unit of subquery */
54
54
public:
55
 
  Select_Lex_unit *unit;
 
55
  Select_Lex_Unit *unit;
56
56
protected:
57
57
  /* engine that perform execution of subselect (single select or union) */
58
58
  subselect_engine *engine;
360
360
  bool val_bool();
361
361
  void top_level_item() { abort_on_null=1; }
362
362
  inline bool is_top_level_item() { return abort_on_null; }
363
 
  bool test_limit(Select_Lex_unit *unit);
 
363
  bool test_limit(Select_Lex_Unit *unit);
364
364
  virtual void print(String *str, enum_query_type query_type);
365
365
  bool fix_fields(Session *session, Item **ref);
366
366
  bool setup_engine();
505
505
 
506
506
class subselect_union_engine: public subselect_engine
507
507
{
508
 
  Select_Lex_unit *unit;  /* corresponding unit structure */
 
508
  Select_Lex_Unit *unit;  /* corresponding unit structure */
509
509
public:
510
 
  subselect_union_engine(Select_Lex_unit *u,
 
510
  subselect_union_engine(Select_Lex_Unit *u,
511
511
                         select_result_interceptor *result,
512
512
                         Item_subselect *item);
513
513
  void cleanup();