Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.3(EOL), 10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL)
Description
Query:
SELECT CONVERT(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' using ucs2)), UNSIGNED); |
gives result:
SELECT CONVERT(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' using ucs2)), UNSIGNED); |
CONVERT(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' using ucs2)), UNSIGNED) |
0
|
Warnings:
|
Warning 1292 Truncated incorrect INTEGER value: 'test' |
Query ('FF' is absent at the beginning of the value ):
SELECT CONVERT(DES_DECRYPT(0x0dc9fc9537ca75f4, CHAR('1' using ucs2)), UNSIGNED); |
gives result:
SELECT CONVERT(DES_DECRYPT(0x0dc9fc9537ca75f4, CHAR('1' using ucs2)), UNSIGNED); |
CONVERT(DES_DECRYPT(0x0dc9fc9537ca75f4, CHAR('1' using ucs2)), UNSIGNED) |
0
|
Warnings:
|
Warning 1292 Truncated incorrect INTEGER value: '\x0D\xC9\xFC\x957\xCAu\xF4' |
The view (like first 'select'):
CREATE VIEW v1 AS SELECT CONVERT(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' using ucs2)), UNSIGNED); |
SELECT * FROM v1; |
DROP VIEW v1; |
gives text in warning as second query not like first:
CREATE VIEW v1 AS SELECT CONVERT(DES_DECRYPT(0xFF0DC9FC9537CA75F4, CHAR('1' using ucs2)), UNSIGNED); |
SELECT * FROM v1; |
Name_exp_1
|
0
|
Warnings:
|
Warning 1292 Truncated incorrect INTEGER value: '\x0D\xC9\xFC\x957\xCAu\xF4' |
Attachments
Issue Links
- is part of
-
MDEV-27691 make working view-protocol
- Open