question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New UUID DataType in the new MariaDB 10.7 series

See original GitHub issue

MariaDB has just introduced a UUID datatype in the 10.7 series .

Will there eventually be an update adding this to the MySqlGuidFormat supported formats?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ICanHazCodecommented, Aug 15, 2023

I think the question may be: If MariaDB supports sending a uuid in BINARY(16) over the wire and, if so, can MySqlConnector do requests for a uuid in BINARY(16)? This would be helpful for when the application using the database is doing a lot of requests and processing.

~ Just my 2 cents 😄

0reactions
bgraingercommented, Aug 15, 2023

My question: should MySqlGuidFormat have a new type, like NativeUuid or can I reuse one of the defined types from that?

AFAICT, Char36 is the correct type to use.

I’m planning to reopen my previous issue in Pomelo.EntityFrameworkCore.MySql

If that’s about using UUID as the column type for Guid values, that seems like a reasonable request (but out of the scope of MySqlConnector).

Read more comments on GitHub >

github_iconTop Results From Across the Web

UUID Data Type - MariaDB Knowledge Base
The UUID data type is intended for the storage of 128-bit UUID (Universally Unique Identifier) data. See the UUID function page for more...
Read more >
10.7 preview feature: UUID Data Type
We are pleased to announce the UUID data type in the 10.7 preview release of MariaDB Server. Please test it out and give...
Read more >
Support new UUID type in MariaDB 10.7 · Issue #8832
MariaDB starting with 10.7 supports UUID datatype. INSERT/SELECT just like varchar, but stored in 128-bit wich is better for indexes. Can you, ...
Read more >
33507 (Use native UUID data type on MariaDB 10.7+)
MariaDB 10.7 introduces UUID data type, see ​docs and ​blog post. We should correct the has_native_uuid_field feature flag and use uuid instead of...
Read more >
MariaDB UUID datatype not orders correctly
MariaDB UUID datatype not orders correctly ... As I understand it, MariaDB saves UUIDs as 128-bit integers, so I don't understand this behavior....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found