~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/cache_str.h

  • Committer: Brian Aker
  • Date: 2010-07-30 20:31:19 UTC
  • mto: This revision was merged to the branch mainline in revision 1679.
  • Revision ID: brian@gaz-20100730203119-89g2ye4zwnvcacxg
First pass in encapsulating row

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, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
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
37
37
  double val_real();
38
38
  int64_t val_int();
39
39
  String* val_str(String *) { assert(fixed == 1); return value; }
40
 
  type::Decimal *val_decimal(type::Decimal *);
 
40
  my_decimal *val_decimal(my_decimal *);
41
41
  enum Item_result result_type() const { return STRING_RESULT; }
42
42
  const CHARSET_INFO *charset() const { return value->charset(); };
43
43
  int save_in_field(Field *field, bool no_conversions);