~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/cache_int.h

  • Committer: Stewart Smith
  • Date: 2011-02-24 07:46:16 UTC
  • mto: (2200.1.2 drizzle-staging)
  • mto: This revision was merged to the branch mainline in revision 2201.
  • Revision ID: stewart@flamingspork.com-20110224074616-l2rmp406vf78x71q
add ER_NO_LOCK_HELD error code, and expect it in case of UNLOCK TABLES without any locks held.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
  double val_real() { assert(fixed == 1); return (double) value; }
40
40
  int64_t val_int() { assert(fixed == 1); return value; }
41
41
  String* val_str(String *str);
42
 
  my_decimal *val_decimal(my_decimal *);
 
42
  type::Decimal *val_decimal(type::Decimal *);
43
43
  enum Item_result result_type() const { return INT_RESULT; }
44
44
  bool result_as_int64_t() { return true; }
45
45
};