~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/cache_int.h

  • Committer: Patrick Crews
  • Date: 2011-01-29 14:17:35 UTC
  • mto: (2126.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2127.
  • Revision ID: gleebix@gmail.com-20110129141735-3y2658vt5ur0a33o
Fixes to make test-dbqp

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems
 
4
 *  Copyright (C) 2008 Sun Microsystems, Inc.
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
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
};