~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.h

  • Committer: Brian Aker
  • Date: 2010-12-28 04:57:17 UTC
  • mfrom: (2035.2.2 bool)
  • Revision ID: brian@tangent.org-20101228045717-6ax27qw6122h50sf
Merge in boolean.

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
    ROW_ITEM, CACHE_ITEM,
112
112
    TYPE_HOLDER,
113
113
    PARAM_ITEM,
 
114
    BOOLEAN_ITEM,
114
115
    DECIMAL_ITEM
115
116
  };
116
117
  enum traverse_order
177
178
   * Alloc & destruct is done as start of select using memory::sql_alloc
178
179
   */
179
180
  Item();
 
181
 
180
182
  /**
181
183
   * Constructor used by Item_field, Item_ref & aggregate (sum) functions.
182
184
   *
191
193
  virtual ~Item()
192
194
  {
193
195
#ifdef EXTRA_DEBUG
194
 
    name=0;
 
196
    name= NULL;
195
197
#endif
196
198
  }
197
199
 
374
376
   *   If value is not null null_value flag will be reset to false.
375
377
   */
376
378
  virtual String *val_str(String *str)=0;
 
379
 
377
380
  /**
378
381
   * Return decimal representation of item with fixed point.
379
382
   *