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

Expose SQLite VFS option in connection string #34864

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arontsang
Copy link

Simple PR to expose the VFS option in the connection string.

@arontsang arontsang changed the base branch from release/8.0-rc2 to release/8.0 October 9, 2024 13:29
@arontsang arontsang force-pushed the master branch 2 times, most recently from db442e9 to 27747aa Compare October 9, 2024 13:35
@cincuranet cincuranet self-requested a review October 9, 2024 21:21
@cincuranet
Copy link
Contributor

@arontsang This needs to be updated to target main branch.

@arontsang arontsang changed the base branch from release/8.0 to main October 10, 2024 13:48
@arontsang arontsang force-pushed the master branch 2 times, most recently from 0bd8307 to cfd4ada Compare October 11, 2024 19:53
@arontsang
Copy link
Author

@cincuranet Updated

Copy link
Contributor

@cincuranet cincuranet left a comment

Choose a reason for hiding this comment

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

Some small questions/comments. Otherwise LGTM.

@@ -55,10 +57,11 @@ private enum Keywords
private bool _recursiveTriggers;
private int _defaultTimeout = 30;
private bool _pooling = true;
private string? _vfs = string.Empty;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the default value should be null. Any reason for string.Empty?

@@ -269,6 +285,9 @@ public override object? this[string keyword]
case Keywords.Pooling:
Pooling = Convert.ToBoolean(value, CultureInfo.InvariantCulture);
return;
case Keywords.Vfs:
Vfs = Convert.ToString(value, CultureInfo.InvariantCulture);;
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Two semicolons at the end.

@@ -458,6 +477,9 @@ private void Reset(Keywords index)
case Keywords.Pooling:
_pooling = true;
return;
case Keywords.Vfs:
_vfs = string.Empty;
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above. null?

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.

2 participants