[MDEV-30272] trigger sql_mode set to 'NO_UNSIGNED_SUBTRACTION' has no effect after upgrade from 10.3.37 to 10.4.27 Created: 2022-12-19 Updated: 2022-12-26 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data Manipulation - Update, Triggers |
| Affects Version/s: | 10.4.27 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Daniel Gavrila | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux 4.19.0-22-amd64 #1 SMP Debian 4.19.260-1 (2022-09-29) x86_64 GNU/Linux |
||
| Description |
|
After upgrading from 10.3.37 to 10.4.27 a trigger stopped working. The trigger relied on sql_mode: NO_UNSIGNED_SUBTRACTION to set a temporary negative value out of subtraction from two BIGINT UNSIGNED values. Code that is working on 10.3 and stopped working on 10.4.27
|