Export merge to household - fix DB error relating to fields too long for table.
authoreileen <emcnaughton@wikimedia.org>
Fri, 21 Dec 2018 03:35:57 +0000 (16:35 +1300)
committereileen <emcnaughton@wikimedia.org>
Mon, 31 Dec 2018 20:00:36 +0000 (09:00 +1300)
commit136f69a86deb1823e0874c4950c76b6a5180e039
tree4c35827fc66089a526d127a6c8086dff41906dbd
parenta0e6219398e44373b2d1d2c2463dff862df51869
Export merge to household - fix DB error relating to fields too long for table.

The key fix here is that the fields for merging to household are no longer added to the temporary table.

They are fully loaded in php anyway so there is no performance gain using a temp table.
Instead we iterate them in php as we process each row
CRM/Export/BAO/Export.php
CRM/Export/BAO/ExportProcessor.php
tests/phpunit/CRM/Export/BAO/ExportTest.php