You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It fails due to MySQL "feature" of silently defaulting CHAR(X) not null values to '' (empty string)
So on Distrib 5.5.35, it worked and inserted empty strings silently
and started failing on Distrib 5.7.13 with: Error query: SQLSTATE[HY000]: General error: 1364 Field 'location_country' doesn't have a default value
All other location_X fields are nullable so propably this one could be nullable as well (or with sane default) in order to avoid such errors.
NOTE: I think this is also possible with strict settings on older MySQL versions
The text was updated successfully, but these errors were encountered:
It fails due to MySQL "feature" of silently defaulting CHAR(X) not null values to '' (empty string)
So on Distrib 5.5.35, it worked and inserted empty strings silently
and started failing on Distrib 5.7.13 with:
Error query: SQLSTATE[HY000]: General error: 1364 Field 'location_country' doesn't have a default value
All other location_X fields are nullable so propably this one could be nullable as well (or with sane default) in order to avoid such errors.
NOTE: I think this is also possible with strict settings on older MySQL versions
The text was updated successfully, but these errors were encountered: