DBAL-634: Add support for mysql uuid_short guid expression #1852

Closed
doctrinebot opened this Issue Oct 17, 2013 · 4 comments

2 participants

@doctrinebot

Jira issue originally created by user hlgrrnhrdt:

UUID_SHORT() is available since MySQL version 5.1

http://dev.mysql.com/doc/refman/5.1/en/miscellaneous-functions.html#function_uuid-short

@doctrinebot

Comment created by @ocramius:

[~hlgrrnhrdt] what's the compatibility with other platforms? Because if this is just a MySQL thing, then you'd better PR against https://github.com/beberlei/DoctrineExtensions/tree/master/lib/DoctrineExtensions/Query/Mysql

@doctrinebot

Comment created by hlgrrnhrdt:

I believe it is MySQL specific.

I guess it won't be an option to replace UUID() with UUID_SHORT() in the MySqlPlatform in future versions of Doctrine DBAL. It is much better (performance vice) for primary keys.

@doctrinebot

Comment created by @ocramius:

As stated before, I suggest handling this in DoctrineExtensions.

Since you confirming that it's MySQL specific, I'm marking this as "won't fix"

@doctrinebot

Issue was closed with resolution "Won't Fix"

@Ocramius Ocramius was assigned by doctrinebot Dec 7, 2015
@doctrinebot doctrinebot closed this Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment