Add sp_set_affinity.
Fix warning with UnionTest.