Skip to content
/ server Public

Add uuid_version() to uuid type#4732

Open
lefred wants to merge 5 commits intoMariaDB:mainfrom
lefred:uuid_version
Open

Add uuid_version() to uuid type#4732
lefred wants to merge 5 commits intoMariaDB:mainfrom
lefred:uuid_version

Conversation

@lefred
Copy link

@lefred lefred commented Mar 4, 2026

This patch adds uuid_version() function to uuid type

Signed-off-by: Frederic Descamps <lefred@mariadb.org>
@CLAassistant
Copy link

CLAassistant commented Mar 4, 2026

CLA assistant check
All committers have signed the CLA.

@grooverdan grooverdan added the MariaDB Foundation Pull requests created by MariaDB Foundation label Mar 5, 2026
Copy link
Member

@grooverdan grooverdan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome @lefred.

Lets get a MDEV written, and some additional strictness with the UUID standards for a UUID_VERSION (which is pretty close to to what user's might expect a UUID_VALID function to perform).

"uuid_version", // plugin name
"lefred", // plugin author
"Function UUID_VERSION()", // the plugin description
PLUGIN_LICENSE_GPL, // the plugin license (see include/mysql/plugin.h)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sigh, not your fault, but we should fix the fact that "GPL" isn't a license.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really know what to use there then?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leave it for now, it needs to be addressed at a higher level.

@grooverdan
Copy link
Member

And correct Windows compiling error

lefred added 2 commits March 5, 2026 11:22
Signed-off-by: Frederic Descamps <lefred@mariadb.org>
Signed-off-by: Frederic Descamps <lefred@mariadb.org>
@lefred lefred requested a review from grooverdan March 5, 2026 12:17
Signed-off-by: Frederic Descamps <lefred@mariadb.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MariaDB Foundation Pull requests created by MariaDB Foundation

Development

Successfully merging this pull request may close these issues.

3 participants