Export Fails when Gender Label is over 16 characters
We use a longer gender labels/desc. Some of these are over 16 characters. When CiviCRM creates the temporary export table it create the gender_id column as a varchar(16). This causes the export to crash. Looks like this may have been an issue with suffix_id and prefix_id at one point as they are accounted for in CRM/Export/BAO/Export.php.
Going to submit a pull request to fix this issue.