Commit b4d738e7 authored by unknown's avatar unknown

Correct merge error, warning ended up after new tests from 4.1


mysql-test/r/cast.result:
  Move the warning to corecct place
parent 69bfcd9c
...@@ -72,6 +72,8 @@ Warning 1292 Truncated incorrect CHAR(4) value: '2004-01-22 21:45:33' ...@@ -72,6 +72,8 @@ Warning 1292 Truncated incorrect CHAR(4) value: '2004-01-22 21:45:33'
select CAST(DATE "2004-01-22 21:45:33" AS BINARY(4)); select CAST(DATE "2004-01-22 21:45:33" AS BINARY(4));
CAST(DATE "2004-01-22 21:45:33" AS BINARY(4)) CAST(DATE "2004-01-22 21:45:33" AS BINARY(4))
2004 2004
Warnings:
Warning 1292 Truncated incorrect CHAR(4) value: '2004-01-22 21:45:33'
select CAST(0xb3 as signed); select CAST(0xb3 as signed);
CAST(0xb3 as signed) CAST(0xb3 as signed)
179 179
...@@ -84,8 +86,6 @@ CAST(0xffffffffffffffff as unsigned) ...@@ -84,8 +86,6 @@ CAST(0xffffffffffffffff as unsigned)
select CAST(0xfffffffffffffffe as signed); select CAST(0xfffffffffffffffe as signed);
CAST(0xfffffffffffffffe as signed) CAST(0xfffffffffffffffe as signed)
-2 -2
Warnings:
Warning 1292 Truncated incorrect CHAR(4) value: '2004-01-22 21:45:33'
select cast('-10a' as signed integer); select cast('-10a' as signed integer);
cast('-10a' as signed integer) cast('-10a' as signed integer)
-10 -10
......
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