~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-06-05 00:15:57 UTC
  • mfrom: (1589.1.1 drizzle_events)
  • Revision ID: brian@gaz-20100605001557-j1k41ni5k9mis891
Merge in Barry.

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
25
25
 
26
26
class Item_load_file :public Item_str_func
27
27
{
28
 
  Session &session;
29
28
  String tmp_value;
30
29
public:
31
 
  Item_load_file(Session &session_arg, Item *a) :
32
 
    Item_str_func(a),
33
 
    session(session_arg)
34
 
  {}
 
30
  Item_load_file(Item *a) :Item_str_func(a) {}
35
31
  String *val_str(String *);
36
32
  const char *func_name() const { return "load_file"; }
37
33
  void fix_length_and_dec()