~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/subselect.h

  • Committer: Nathan Williams
  • Date: 2009-07-16 21:19:14 UTC
  • mto: (1101.1.2 merge)
  • mto: This revision was merged to the branch mainline in revision 1106.
  • Revision ID: nathanlws@gmail.com-20090716211914-b158g12ivqsdrafk
Converted the 3 instances of List<Cached_item> to vector<Cache_item*>.

Changed from push_front to push_back at the usage locations as it wasn't required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include <drizzled/comp_creator.h>
27
27
#include <drizzled/item/ref.h>
28
28
#include <drizzled/item/field.h>
 
29
#include <vector>
29
30
 
30
31
class Select_Lex;
31
32
class Select_Lex_Unit;
282
283
    Cache of the left operand of the subquery predicate. Allocated in the
283
284
    runtime memory root, for each execution, thus need not be freed.
284
285
  */
285
 
  List<Cached_item> *left_expr_cache;
 
286
  std::vector<Cached_item*> left_expr_cache;
286
287
  bool first_execution;
287
288
 
288
289
  /*
332
333
 
333
334
  Item_in_subselect(Item * left_expr, Select_Lex *select_lex);
334
335
  Item_in_subselect()
335
 
    :Item_exists_subselect(), left_expr_cache(0), first_execution(true),
 
336
    :Item_exists_subselect(), first_execution(true),
336
337
    optimizer(0), abort_on_null(0), pushed_cond_guards(NULL),
337
338
    exec_method(NOT_TRANSFORMED), upper_item(0)
338
339
  {}