Database Documentation wrong

Discussion of open issues, suggestions and bugs regarding database management and administration tools for MySQL
Post Reply
Jens168
Posts: 9
Joined: Wed 10 Jul 2019 09:11

Database Documentation wrong

Post by Jens168 » Tue 06 Aug 2019 08:14

In an exportet documentation for a database function I get this code for a function:

Code: Select all

DELIMITER $$
CREATE FUNCTION UUID2BIN(_uuid CHAR(36))
  RETURNS BINARY(16)
  DETERMINISTIC
  SQL SECURITY INVOKER
RETURN
        UNHEX(CONCAT(
            SUBSTR(, 15, 4),
            SUBSTR(, 10, 4),
            SUBSTR(,  1, 8),
            SUBSTR(, 20, 4),
            SUBSTR(, 25) ))
$$
DELIMITER ;
(SUBSTR is missing the first parameter.)

"SHOW CREATE FUNCTION UUID2BIN;" shows this:

Code: Select all

CREATE DEFINER=`root`@`%` FUNCTION `UUID2BIN`(_uuid CHAR(36)) RETURNS binary(16)
    DETERMINISTIC
    SQL SECURITY INVOKER
RETURN
        UNHEX(CONCAT(
            SUBSTR(_uuid, 15, 4),
            SUBSTR(_uuid, 10, 4),
            SUBSTR(_uuid,  1, 8),
            SUBSTR(_uuid, 20, 4),
            SUBSTR(_uuid, 25) ))

alexa

Re: Database Documentation wrong

Post by alexa » Tue 06 Aug 2019 10:05

We will fix this issue in one of the next product builds and will notify you once it's available for downloading.

Post Reply