~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.h

  • Committer: Brian Aker
  • Date: 2010-12-24 21:27:54 UTC
  • mto: (2035.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2037.
  • Revision ID: brian@tangent.org-20101224212754-85xvjullymvhibr9
Merge in cast() for BOOLEAN.

Show diffs side-by-side

added added

removed removed

Lines of Context:
362
362
   *   If value is not null null_value flag will be reset to false.
363
363
   */
364
364
  virtual String *val_str(String *str)=0;
 
365
 
365
366
  /**
366
367
   * Return decimal representation of item with fixed point.
367
368
   *
381
382
   * to true.
382
383
   */
383
384
  virtual my_decimal *val_decimal(my_decimal *decimal_buffer)= 0;
 
385
 
384
386
  /**
385
387
   * Return boolean value of item.
386
388
   *
390
392
   * true value is true (not equal to 0)
391
393
   */
392
394
  virtual bool val_bool();
 
395
 
393
396
  /* Helper functions, see item_sum.cc */
394
397
  String *val_string_from_real(String *str);
395
398
  String *val_string_from_int(String *str);