Issue #805858 by Pancho, Steven Jones, simg: Fixed Affected rows inconsistent across database engines.