~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Mark Atwood
  • Date: 2011-06-25 15:38:53 UTC
  • mfrom: (2318.6.78 refactor16)
  • Revision ID: me@mark.atwood.name-20110625153853-za5fjiwd3z0aykdd
mergeĀ lp:~olafvdspek/drizzle/refactor16

Show diffs side-by-side

added added

removed removed

Lines of Context:
988
988
 
989
989
  for (Field **field=entry->getFields() ; *field ; field++)
990
990
  {
991
 
    if (((*field)->isWriteSet()) == false)
 
991
    if (not (*field)->isWriteSet())
992
992
    {
993
993
      /*
994
994
       * If the field doesn't have any default value
1171
1171
 
1172
1172
  session->lex().current_select= lex_current_select_save;
1173
1173
  if (res)
1174
 
    return(1);
 
1174
    return 1;
1175
1175
  /*
1176
1176
    if it is INSERT into join view then check_insert_fields already found
1177
1177
    real table for insert
1724
1724
  table->cursor->ha_start_bulk_insert((ha_rows) 0);
1725
1725
  session->setAbortOnWarning(not info.ignore);
1726
1726
  if (check_that_all_fields_are_given_values(session, table, table_list))
1727
 
    return(1);
 
1727
    return 1;
1728
1728
 
1729
1729
  table->mark_columns_needed_for_insert();
1730
1730
  table->cursor->extra(HA_EXTRA_WRITE_CACHE);