Details
Description
Steps to reproduce the issue:
1) Go to Search Builder and use EMPTY and/or NOT EMPTY operator on any the attribute w/o search fields then click 'Search'.
2) Select contacts and choose 'New Smart Group' action
3) Give title to Smart group and then submit.
DB Error: unknown error
Database Error Code: Data truncated for column 'operator' at row 1, 1265
Issue is occurring because we are trying to insert 'IS NOT EMPTY' or 'IS EMPTY' value for operator column of civicrm_mapping_field. Since 'operator' column is of type enum doesn't have the entry for these two operator so it result into this error.