~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/subselect.h

  • Committer: lbieber at stabletransit
  • Date: 2010-10-18 20:26:50 UTC
  • mfrom: (1859.1.4 build)
  • Revision ID: lbieber@drizzle-build-n02.wc1.dfw1.stabletransit.com-20101018202650-hcvsp7yuaf1xy04s
Merge Monty - Adds support for a const std::string sys_var type.
Merge Monty - Make it possible to use sys_var directly from plugins.
Merge Padraig - Replaced a few unit8_t types that were being used as bitmaps with std::bitset

Show diffs side-by-side

added added

removed removed

Lines of Context:
463
463
  */
464
464
  virtual int exec()= 0;
465
465
  virtual uint32_t cols()= 0; /* return number of columns in select */
466
 
  virtual uint8_t uncacheable()= 0; /* query is uncacheable */
 
466
  virtual bool uncacheable()= 0; /* query is uncacheable */
 
467
  virtual bool uncacheable(uint32_t bit_pos)= 0; /* query is uncacheable */
467
468
  enum Item_result type() { return res_type; }
468
469
  enum_field_types field_type() { return res_field_type; }
469
470
  virtual void exclude()= 0;
500
501
  void fix_length_and_dec(Item_cache** row);
501
502
  int exec();
502
503
  uint32_t cols();
503
 
  uint8_t uncacheable();
 
504
  bool uncacheable();
 
505
  bool uncacheable(uint32_t bit_pos);
504
506
  void exclude();
505
507
  table_map upper_select_const_tables();
506
508
  virtual void print (String *str, enum_query_type query_type);
528
530
  void fix_length_and_dec(Item_cache** row);
529
531
  int exec();
530
532
  uint32_t cols();
531
 
  uint8_t uncacheable();
 
533
  bool uncacheable();
 
534
  bool uncacheable(uint32_t bit_pos);
532
535
  void exclude();
533
536
  table_map upper_select_const_tables();
534
537
  virtual void print (String *str, enum_query_type query_type);
585
588
  void fix_length_and_dec(Item_cache** row);
586
589
  int exec();
587
590
  uint32_t cols() { return 1; }
588
 
  uint8_t uncacheable() { return UNCACHEABLE_DEPENDENT; }
 
591
  bool uncacheable() { return true; }
 
592
  bool uncacheable(uint32_t) { return true; }
589
593
  void exclude();
590
594
  table_map upper_select_const_tables() { return 0; }
591
595
  virtual void print (String *str, enum_query_type query_type);