- Patch #797680 by lyricnz, jbrown: drupal_write_record() unnecessarily sets primary keys while updating.