Skip to content

Commit

Permalink
Merge pull request #97 from mleczakm/patch-1
Browse files Browse the repository at this point in the history
Fix uuid_to_ouuid function definition
  • Loading branch information
ramsey committed Apr 25, 2020
2 parents a8d5d33 + a4782bc commit eccf4f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -211,8 +211,8 @@ You can use this format in mysql cli with this two functions:

``` sql
CREATE
FUNCTION `uuid_to_ouuid`(uuid BINARY(36))
RETURNS binary(16) DETERMINISTIC
FUNCTION `uuid_to_ouuid`(uuid VARCHAR(36))
RETURNS BINARY(16) DETERMINISTIC
RETURN UNHEX(CONCAT(
SUBSTR(uuid, 15, 4),
SUBSTR(uuid, 10, 4),
Expand Down

0 comments on commit eccf4f1

Please sign in to comment.