mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
After merge fix
This commit is contained in:
parent
a9b83df104
commit
3e5d75c4e3
1 changed files with 3 additions and 3 deletions
|
@ -3394,19 +3394,19 @@ CREATE TABLE t1 (i TINYINT UNSIGNED NOT NULL);
|
|||
INSERT t1 SET i = 0;
|
||||
UPDATE t1 SET i = -1;
|
||||
Warnings:
|
||||
Warning 1264 Out of range value adjusted for column 'i' at row 1
|
||||
Warning 1264 Out of range value for column 'i' at row 1
|
||||
SELECT * FROM t1;
|
||||
i
|
||||
0
|
||||
UPDATE t1 SET i = CAST(i - 1 AS SIGNED);
|
||||
Warnings:
|
||||
Warning 1264 Out of range value adjusted for column 'i' at row 1
|
||||
Warning 1264 Out of range value for column 'i' at row 1
|
||||
SELECT * FROM t1;
|
||||
i
|
||||
0
|
||||
UPDATE t1 SET i = i - 1;
|
||||
Warnings:
|
||||
Warning 1264 Out of range value adjusted for column 'i' at row 1
|
||||
Warning 1264 Out of range value for column 'i' at row 1
|
||||
SELECT * FROM t1;
|
||||
i
|
||||
255
|
||||
|
|
Loading…
Add table
Reference in a new issue