~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-04-12 19:59:09 UTC
  • mto: (971.1.73 mordred)
  • mto: This revision was merged to the branch mainline in revision 990.
  • Revision ID: osullivan.padraig@gmail.com-20090412195909-t8lz8tr2ficqhmzh
Forgot to include the negation of a condition in an if statement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
828
828
            table->next_number_field->val_int());
829
829
        info->touched++;
830
830
        if ((table->file->ha_table_flags() & HA_PARTIAL_COLUMN_READ &&
831
 
             ((*table->read_set & *table->write_set) == *table->write_set)) ||
 
831
             !((*table->read_set & *table->write_set) == *table->write_set)) ||
832
832
            table->compare_record())
833
833
        {
834
834
          if ((error=table->file->ha_update_row(table->record[1],