~stewart/drizzle/embedded-innodb-autoincrement

« back to all changes in this revision

Viewing changes to drizzled/item/sum.cc

merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
2724
2724
    */
2725
2725
    return tree->unique_add(table->record[0] + table->s->null_bytes);
2726
2726
  }
2727
 
  if ((error= table->cursor->ha_write_row(table->record[0])) &&
 
2727
  if ((error= table->cursor->insertRecord(table->record[0])) &&
2728
2728
      table->cursor->is_fatal_error(error, HA_CHECK_DUP))
2729
2729
    return true;
2730
2730
  return false;