[POC] Prototyping - MySQL User Defined Types - #704
Closed
marcalff wants to merge 2 commits into
Closed
Conversation
Member
Author
|
Closing and re creating, should be in a git branch Closed in favor of #707 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proof Of Concepts - MySQL User Defined Types
Contributes to #674
Caution
Proof of concepts code, do not merge, do not use in production.
This code is dirty and to throw away.
The point of this PR is to do prototyping, to identify what needs to be changed in the server, to start a technical discussion.
Quick start
Build
Compile with
-DWITH_EXPERIMENTAL_UDT=ON -DWITH_DEBUG=ONinCMake.Run
Current progress
Declare a UDT and provide an implementation:
Declare a UDT variable, perform operations provided by the component:
Invoke the UDT implementation at runtime:
Cleanup:
Component implementation
Check files under
components/udt_example.Copyright (c) 2026, Oracle and/or its affiliates.
What does this change do?
Why is it needed?
How was it tested?
mysql-test/scripts/ci/mtr.shpasses locallyContributor checklist
scripts/ci/format.sh)AI assistance
If AI assistance was used, describe the tool(s) and extent of use:
Areas touched