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

vendored/sqlite3-parser: support RANDOM ROWID #570

Merged
merged 2 commits into from
Nov 7, 2023
Merged

Conversation

psarna
Copy link
Collaborator

@psarna psarna commented Nov 5, 2023

It's done in a hacky way, similarly to how "STRICT" is already handled. Sad, but I tried making it work properly with a registered RANDOM keyword and it failed. There's precedence in using this runtime string comparisons (like in STRICT case), so I guess it's here for a reason.

Tested locally, properly activates random rowid.

Fixes #333

It's done in a hacky way, similarly to how "STRICT"
is already handled. Sad, but I tried making it work properly
with a registered RANDOM keyword and it failed. There's precedence
in using this runtime string comparisons (like in STRICT case),
so I guess it's here for a reason.

Tested locally, properly activates random rowid.

Fixes #333
@LucioFranco LucioFranco added this pull request to the merge queue Nov 7, 2023
Merged via the queue into main with commit 3ef74dc Nov 7, 2023
7 checks passed
@LucioFranco LucioFranco deleted the sqldrandomrowid branch November 7, 2023 21:05
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.

Random rowid not working
2 participants