Details
Description
This MTR test:
SELECT CAST(-1e0 AS UNSIGNED); |
fails when executed with --view-protocol with this diff:
@@ -1,5 +1,5 @@
|
SELECT CAST(-1e0 AS UNSIGNED);
|
CAST(-1e0 AS UNSIGNED)
|
-0
|
+18446744073709551615
|
Warnings:
|
-Note 1916 Got overflow when converting '-1' to UNSIGNED BIGINT. Value truncated
|
+Note 1105 Cast to unsigned converted negative integer to it's positive complement
|
Attachments
Issue Links
- relates to
-
MDEV-32461 types changed in view protocol in cast.test
- Closed