~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Stewart Smith
  • Date: 2010-11-03 03:27:09 UTC
  • mto: (1902.1.1 build) (1910.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1903.
  • Revision ID: stewart@flamingspork.com-20101103032709-oyvfrc6eb8fzj0mr
fix docs warning: docs/unlock.rst:2: (WARNING/2) Title underline too short.

Show diffs side-by-side

added added

removed removed

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