~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

Reverted changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
class Item_func_replace :public Item_str_func
29
29
{
30
 
  String tmp_value,tmp_value2;
 
30
  String tmp_value, tmp_value2;
 
31
  Session &session;
31
32
public:
32
 
  Item_func_replace(Item *org,Item *find,Item *replace)
33
 
    :Item_str_func(org,find,replace) {}
 
33
  Item_func_replace(Session &session_arg,
 
34
                    Item *org,
 
35
                    Item *find,
 
36
                    Item *replace) :
 
37
    Item_str_func(org, find, replace),
 
38
    session(session_arg)
 
39
  {}
34
40
  String *val_str(String *);
35
41
  void fix_length_and_dec();
36
42
  const char *func_name() const { return "replace"; }