~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_subselect.h

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
  /* cache of used external tables */
54
54
  table_map used_tables_cache;
55
55
  /* allowed number of columns (1 for single value subqueries) */
56
 
  uint max_columns;
 
56
  uint32_t max_columns;
57
57
  /* where subquery is placed */
58
58
  enum_parsing_place parsing_place;
59
59
  /* work with 'substitution' */
167
167
 
168
168
  void reset();
169
169
  trans_res select_transformer(JOIN *join);
170
 
  void store(uint i, Item* item);
 
170
  void store(uint32_t i, Item* item);
171
171
  double val_real();
172
172
  int64_t val_int ();
173
173
  String *val_str (String *);
177
177
  enum_field_types field_type() const;
178
178
  void fix_length_and_dec();
179
179
 
180
 
  uint cols();
181
 
  Item* element_index(uint i) { return reinterpret_cast<Item*>(row[i]); }
182
 
  Item** addr(uint i) { return (Item**)row + i; }
183
 
  bool check_cols(uint c);
 
180
  uint32_t cols();
 
181
  Item* element_index(uint32_t i) { return reinterpret_cast<Item*>(row[i]); }
 
182
  Item** addr(uint32_t i) { return (Item**)row + i; }
 
183
  bool check_cols(uint32_t c);
184
184
  bool null_inside();
185
185
  void bring_value();
186
186
 
441
441
          caller should call exec() again for the new engine.
442
442
  */
443
443
  virtual int exec()= 0;
444
 
  virtual uint cols()= 0; /* return number of columns in select */
 
444
  virtual uint32_t cols()= 0; /* return number of columns in select */
445
445
  virtual uint8_t uncacheable()= 0; /* query is uncacheable */
446
446
  enum Item_result type() { return res_type; }
447
447
  enum_field_types field_type() { return res_field_type; }
478
478
  int prepare();
479
479
  void fix_length_and_dec(Item_cache** row);
480
480
  int exec();
481
 
  uint cols();
 
481
  uint32_t cols();
482
482
  uint8_t uncacheable();
483
483
  void exclude();
484
484
  table_map upper_select_const_tables();
506
506
  int prepare();
507
507
  void fix_length_and_dec(Item_cache** row);
508
508
  int exec();
509
 
  uint cols();
 
509
  uint32_t cols();
510
510
  uint8_t uncacheable();
511
511
  void exclude();
512
512
  table_map upper_select_const_tables();
563
563
  int prepare();
564
564
  void fix_length_and_dec(Item_cache** row);
565
565
  int exec();
566
 
  uint cols() { return 1; }
 
566
  uint32_t cols() { return 1; }
567
567
  uint8_t uncacheable() { return UNCACHEABLE_DEPENDENT; }
568
568
  void exclude();
569
569
  table_map upper_select_const_tables() { return 0; }
680
680
  int prepare() { return 0; }
681
681
  int exec();
682
682
  virtual void print (String *str, enum_query_type query_type);
683
 
  uint cols()
 
683
  uint32_t cols()
684
684
  {
685
685
    return materialize_engine->cols();
686
686
  }