Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stored procedures can use params as LIMIT,OFFSET #2315

Merged
merged 2 commits into from
Feb 6, 2024

Conversation

max-hoffman
Copy link
Contributor

@max-hoffman max-hoffman commented Feb 5, 2024

fixes: dolthub/dolt#7458

Fixes procedure param types in the process.

Testing against mysql it doesn't seem like subqueries or regular column types are valid as LIMIT values in any case other than procedure parameters. I still need to test whether trigger columns can be used in LIMIT,OFFSET, but that seems like a separate problem.

Copy link
Contributor

@fulghum fulghum left a comment

Choose a reason for hiding this comment

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

Looks good!

@max-hoffman max-hoffman merged commit 33cd2ef into main Feb 6, 2024
7 checks passed
@Hydrocharged Hydrocharged deleted the max/issue-7458-limit-proc-param branch February 7, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Any chance to get dynamic parameters for user procedures?
2 participants