~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/str/strfunc.h

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

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
27
27
 
28
28
/* This file defines all string functions */
29
29
 
30
 
class Item_str_func :public Item_func
 
30
class DRIZZLED_API Item_str_func :
 
31
  public Item_func
31
32
{
32
33
public:
33
34
  Item_str_func() :Item_func() { decimals=NOT_FIXED_DEC; }
40
41
  virtual ~Item_str_func();
41
42
  int64_t val_int();
42
43
  double val_real();
43
 
  my_decimal *val_decimal(my_decimal *);
 
44
  type::Decimal *val_decimal(type::Decimal *);
44
45
  enum Item_result result_type () const { return STRING_RESULT; }
45
46
  void left_right_max_length();
46
47
  bool fix_fields(Session *session, Item **ref);