Bug #99573 Converting UUID (String) to binary with before insert trigger fails
| Submitted: | 14 May 2020 13:42 | Modified: | 14 May 2020 14:12 |
|---|---|---|---|
| Reporter: | Stephan Rupp | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 8.0 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | trigger, UUID, UUID_TO_BIN | ||
[14 May 2020 13:42]
Stephan Rupp
[14 May 2020 14:12]
MySQL Verification Team
Hi Mr. Rupe, Thank you for your bug report. However, this is not a bug. Simply, UUID() returns a 64-bit or 48-bit integer and not BINARY or string. Hence, you can not use functions that convert between UUID and (binary) string on the string, even if it is BINARY. This is all explained in our Reference Manual, chapter on "Miscellaneous Functions". Not a bug.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.068 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.