find($where, null, 0, 0, "update nowait"))) { throw new \UnexpectedValueException("Failed to select a single row"); } if ($rowset->current()->getData() != $row->getData()) { throw new \UnexpectedValueException("Row has already been modified"); } } } }