bug #129: Check correct execution status instead of affected rows,