I have a simple insert to the table with a smallint(6). Now on our newest schema, the table structure gives an overload error when inserting a value over 32767 into that field.
At the same time on the same instance and with the same table structure inserted values are truncated to 32767 when getting over that max. limit.
My question is, what setting or flag might cause this behaviour? I know there are SQL modes and so on, but those are global settings. We have the same environment for both of those.
Are there some user-specific settings about this?
Mysql version 5.7.39
I have tried to find if there is user or schema based settings somewhere.