~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_strfunc.h

  • Committer: Monty Taylor
  • Date: 2008-11-16 05:36:13 UTC
  • mto: (584.1.9 devel)
  • mto: This revision was merged to the branch mainline in revision 589.
  • Revision ID: monty@inaugust.com-20081116053613-bld4rqxhlkb49c02
Split out cache_row and type_holder.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
 
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
 
3
 *
 
4
 *  Copyright (C) 2008 Sun Microsystems
 
5
 *
 
6
 *  This program is free software; you can redistribute it and/or modify
 
7
 *  it under the terms of the GNU General Public License as published by
 
8
 *  the Free Software Foundation; version 2 of the License.
 
9
 *
 
10
 *  This program is distributed in the hope that it will be useful,
 
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 *  GNU General Public License for more details.
 
14
 *
 
15
 *  You should have received a copy of the GNU General Public License
 
16
 *  along with this program; if not, write to the Free Software
 
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
18
 */
 
19
 
 
20
#ifndef DRIZZLED_ITEM_STRFUNC_H
 
21
#define DRIZZLED_ITEM_STRFUNC_H
 
22
 
 
23
#include <drizzled/functions/str/sysconst.h>
 
24
#include <drizzled/functions/str/alloc_buffer.h>
 
25
#include <drizzled/functions/str/binary.h>
 
26
#include <drizzled/functions/str/char.h>
 
27
#include <drizzled/functions/str/charset.h>
 
28
#include <drizzled/functions/str/collation.h>
 
29
#include <drizzled/functions/str/concat.h>
 
30
#include <drizzled/functions/str/conv.h>
 
31
#include <drizzled/functions/str/conv_charset.h>
 
32
#include <drizzled/functions/str/database.h>
 
33
#include <drizzled/functions/str/elt.h>
 
34
#include <drizzled/functions/str/export_set.h>
 
35
#include <drizzled/functions/str/format.h>
 
36
#include <drizzled/functions/str/hex.h>
 
37
#include <drizzled/functions/str/insert.h>
 
38
#include <drizzled/functions/str/left.h>
 
39
#include <drizzled/functions/str/make_set.h>
 
40
#include <drizzled/functions/str/pad.h>
 
41
#include <drizzled/functions/str/repeat.h>
 
42
#include <drizzled/functions/str/replace.h>
 
43
#include <drizzled/functions/str/reverse.h>
 
44
#include <drizzled/functions/str/right.h>
 
45
#include <drizzled/functions/str/set_collation.h>
 
46
#include <drizzled/functions/str/str_conv.h>
 
47
#include <drizzled/functions/str/substr.h>
 
48
#include <drizzled/functions/str/trim.h>
 
49
#include <drizzled/functions/str/user.h>
 
50
#include <drizzled/functions/str/uuid.h>
 
51
#include <drizzled/functions/str/weight_string.h>
 
52
 
 
53
class Item_load_file :public Item_str_func
 
54
{
 
55
  String tmp_value;
 
56
public:
 
57
  Item_load_file(Item *a) :Item_str_func(a) {}
 
58
  String *val_str(String *);
 
59
  const char *func_name() const { return "load_file"; }
 
60
  void fix_length_and_dec()
 
61
  {
 
62
    collation.set(&my_charset_bin, DERIVATION_COERCIBLE);
 
63
    maybe_null=1;
 
64
    max_length=MAX_BLOB_WIDTH;
 
65
  }
 
66
  bool check_vcol_func_processor(unsigned char *int_arg __attribute__((unused)))
 
67
  { return true; }
 
68
};
 
69
 
 
70
#endif /* DRIZZLED_ITEM_STRFUNC_H */