Commit 9535b127 authored by unknown's avatar unknown

After merge fix

parent 54849724
...@@ -3394,19 +3394,19 @@ CREATE TABLE t1 (i TINYINT UNSIGNED NOT NULL); ...@@ -3394,19 +3394,19 @@ CREATE TABLE t1 (i TINYINT UNSIGNED NOT NULL);
INSERT t1 SET i = 0; INSERT t1 SET i = 0;
UPDATE t1 SET i = -1; UPDATE t1 SET i = -1;
Warnings: 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; SELECT * FROM t1;
i i
0 0
UPDATE t1 SET i = CAST(i - 1 AS SIGNED); UPDATE t1 SET i = CAST(i - 1 AS SIGNED);
Warnings: 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; SELECT * FROM t1;
i i
0 0
UPDATE t1 SET i = i - 1; UPDATE t1 SET i = i - 1;
Warnings: 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; SELECT * FROM t1;
i i
255 255
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment