~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Olaf van der Spek
  • Date: 2011-03-10 11:16:26 UTC
  • mto: This revision was merged to the branch mainline in revision 2233.
  • Revision ID: olafvdspek@gmail.com-20110310111626-o2ztahzlr63244mm
Remove unnecessary statement.h include

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
#include <drizzled/select_create.h>
36
36
#include <drizzled/table/shell.h>
37
37
#include <drizzled/alter_info.h>
 
38
#include <drizzled/sql_parse.h>
38
39
 
39
40
namespace drizzled
40
41
{
1004
1005
    {
1005
1006
      /*
1006
1007
       * However, if an actual NULL value was specified
1007
 
       * for the field and the field is a NOT NULL field, 
 
1008
       * for the field and the field is a NOT NULL field,
1008
1009
       * throw ER_BAD_NULL_ERROR.
1009
1010
       *
1010
1011
       * Per the SQL standard, inserting NULL into a NOT NULL
1385
1386
     (info.copied ? autoinc_value_of_last_inserted_row : 0));
1386
1387
  session->my_ok((ulong) session->rowCount(),
1387
1388
                 info.copied + info.deleted + info.touched, id, buff);
1388
 
  session->status_var.inserted_row_count+= session->rowCount(); 
 
1389
  session->status_var.inserted_row_count+= session->rowCount();
1389
1390
  DRIZZLE_INSERT_SELECT_DONE(0, session->rowCount());
1390
1391
  return 0;
1391
1392
}
1658
1659
  DrizzleLock *extra_lock= NULL;
1659
1660
  /*
1660
1661
    For replication, the CREATE-SELECT statement is written
1661
 
    in two pieces: the first transaction messsage contains 
 
1662
    in two pieces: the first transaction messsage contains
1662
1663
    the CREATE TABLE statement as a CreateTableStatement message
1663
1664
    necessary to create the table.
1664
 
    
 
1665
 
1665
1666
    The second transaction message contains all the InsertStatement
1666
1667
    and associated InsertRecords that should go into the table.
1667
1668
   */