Skip to content
Snippets Groups Projects
Verified Commit 790f1202 authored by Kevin Cristiano's avatar Kevin Cristiano :earth_americas:
Browse files

dev/core#2784 Export PRIMARY fields Fails on CiviCRM 5.40.2 and MariaDB 10.3 with row size issue

PR 21239
parent d4f63d04
Branches
No related tags found
No related merge requests found
...@@ -1469,7 +1469,7 @@ class CRM_Export_BAO_ExportProcessor { ...@@ -1469,7 +1469,7 @@ class CRM_Export_BAO_ExportProcessor {
// @see https://lab.civicrm.org/dev/core/-/issues/2645 // @see https://lab.civicrm.org/dev/core/-/issues/2645
switch ($fieldName) { switch ($fieldName) {
case 'preferred_mail_format': case 'preferred_mail_format':
return "`$fieldName` varchar(16)"; return "`$fieldName` text(16)";
default: default:
return "`$fieldName` varchar({$fieldSpec['maxlength']})"; return "`$fieldName` varchar({$fieldSpec['maxlength']})";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment