Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.6.23
-
None
-
Unexpected results
Description
TITLE |
While testing HEX() for string values, getting error seen in below example.
|
Test Case:
let $hx1 = $(hex("abc"));
|
-- echo hex("abc") -> $hx1; # 616263
|
mysqltest output:
main.hex
mysqltest: At line 1: invalid number 'abc' for base 10
Server output:
MariaDB [(none)]> select hex("abc");
|
+------------+
|
| hex("abc") |
|
+------------+
|
| 616263 |
|
+------------+
|
1 row in set (0.001 sec)
|
Attachments
Issue Links
- relates to
-
MDEV-36107 expressions in mysqltest
-
- Open
-