~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Stewart Smith
  • Date: 2010-07-27 00:49:32 UTC
  • mto: (1720.1.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 1721.
  • Revision ID: stewart@flamingspork.com-20100727004932-basq3vx9szmmbswm
fix storing and manipulating foreign keys in the proto around ALTER TABLE, CREATE TABLE and ALTER TABLE ADD/DROP FOREIGN KEY. We also (mostly) emulate the naming of innodb foreign keys in the upper layer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
class Item_load_file :public Item_str_func
27
27
{
 
28
  Session &session;
28
29
  String tmp_value;
29
30
public:
30
 
  Item_load_file(Item *a) :Item_str_func(a) {}
 
31
  Item_load_file(Session &session_arg, Item *a) :
 
32
    Item_str_func(a),
 
33
    session(session_arg)
 
34
  {}
31
35
  String *val_str(String *);
32
36
  const char *func_name() const { return "load_file"; }
33
37
  void fix_length_and_dec()