~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2009-10-15 00:22:33 UTC
  • mto: (1183.1.11 merge)
  • mto: This revision was merged to the branch mainline in revision 1198.
  • Revision ID: brian@gaz-20091015002233-fa4ao2mbc67wls91
First pass of information engine. OMG, ponies... is it so much easier to
deal with creating and engine.

The list table iterator though... its ass, needs to go. We should also
abstract out share. Very few engines need a custom one. Just say'in

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLED_FUNCTION_STR_LOAD_FILE_H
21
21
#define DRIZZLED_FUNCTION_STR_LOAD_FILE_H
22
22
 
23
 
namespace drizzled
24
 
{
25
 
 
26
23
class Item_load_file :public Item_str_func
27
24
{
28
 
  Session &session;
29
25
  String tmp_value;
30
26
public:
31
 
  Item_load_file(Session &session_arg, Item *a) :
32
 
    Item_str_func(a),
33
 
    session(session_arg)
34
 
  {}
 
27
  Item_load_file(Item *a) :Item_str_func(a) {}
35
28
  String *val_str(String *);
36
29
  const char *func_name() const { return "load_file"; }
37
30
  void fix_length_and_dec()
42
35
  }
43
36
};
44
37
 
45
 
} /* namespace drizzled */
46
 
 
47
38
#endif /* DRIZZLED_FUNCTION_STR_LOAD_FILE_H */