~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/insert.h

  • Committer: Lee Bieber
  • Date: 2011-02-23 23:22:48 UTC
  • mfrom: (2183.2.20 list2)
  • mto: This revision was merged to the branch mainline in revision 2197.
  • Revision ID: kalebral@gmail.com-20110223232248-ev4y8pyt16b806o0
Merge Olaf - Use List::size()

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
class Insert : public Statement
34
34
{
35
35
public:
36
 
  Insert(Session *in_session)
37
 
    :
38
 
      Statement(in_session)
39
 
  {}
 
36
  Insert(Session *in_session) :
 
37
    Statement(in_session)
 
38
  {
 
39
    getSession()->getLex()->sql_command= SQLCOM_INSERT;
 
40
  }
40
41
 
41
42
  bool execute();
 
43
  bool isTransactional()
 
44
  {
 
45
    return true;
 
46
  }
42
47
};
43
48
 
44
49
} /* namespace statement */