~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Jay Pipes
  • Date: 2010-04-20 18:33:21 UTC
  • mto: This revision was merged to the branch mainline in revision 1501.
  • Revision ID: jpipes@serialcoder-20100420183321-v1glb8qm3l88gv1j
Cursor::update_row() changed to doUpdateRecord() and updateRecord()

Show diffs side-by-side

added added

removed removed

Lines of Context:
820
820
             !bitmap_is_subset(table->write_set, table->read_set)) ||
821
821
            table->compare_record())
822
822
        {
823
 
          if ((error=table->cursor->ha_update_row(table->record[1],
 
823
          if ((error=table->cursor->updateRecord(table->record[1],
824
824
                                                table->record[0])) &&
825
825
              error != HA_ERR_RECORD_IS_THE_SAME)
826
826
          {
875
875
            (table->timestamp_field_type == TIMESTAMP_NO_AUTO_SET ||
876
876
             table->timestamp_field_type == TIMESTAMP_AUTO_SET_ON_BOTH))
877
877
        {
878
 
          if ((error=table->cursor->ha_update_row(table->record[1],
 
878
          if ((error=table->cursor->updateRecord(table->record[1],
879
879
                                                table->record[0])) &&
880
880
              error != HA_ERR_RECORD_IS_THE_SAME)
881
881
            goto err;