Patches in the upgrade scripts:
- comment out "ALTER TABLE civicrm_domain ADD locale_custom_strings [...]" from sites/all/modules/CRM/Upgrade/Incremental/sql/3.2.alpha3.mysql.tpl
- Comment out: Incremental/sql/3.1.beta2.mysql.tpl (towards the end, creation of civicrm_option_value.domain_id),
-- ALTER TABLE `civicrm_option_value` -- ADD `domain_id` INT(10) UNSIGNED DEFAULT NULL COMMENT 'Which Domain is this option value for' AFTER `component_id`;