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

libsql: add skip_safety_assert builder option #1906

Merged
merged 1 commit into from
Jan 6, 2025
Merged

Conversation

LucioFranco
Copy link
Contributor

This adds a skip_saftey_assert builder option that will allow uses to unsafely opt-out of the safety checks that libsql has built in. The inline doc comments for this function explain more.

This adds a `skip_saftey_assert` builder option that will allow uses to
unsafely opt-out of the safety checks that libsql has built in. The
inline doc comments for this function explain more.
@jeremywrowe
Copy link
Contributor

Looks good to me!

@LucioFranco LucioFranco added this pull request to the merge queue Jan 6, 2025
Merged via the queue into main with commit 5b8934e Jan 6, 2025
19 checks passed
@LucioFranco LucioFranco deleted the lucio/build-unsafe branch January 6, 2025 20:15
@@ -74,6 +74,7 @@ enum DbType {
path: String,
flags: OpenFlags,
encryption_config: Option<EncryptionConfig>,
skip_saftey_assert: bool,
Copy link

@Laerte Laerte Jan 9, 2025

Choose a reason for hiding this comment

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

Is this a typo? Title says skip_safety_assert but variable is defined as skip_saftey_assert.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah this is def a typo, but its a private type so we can fix it without worry.

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.

3 participants