-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
Cleanup sqlite #1139
base: main
Are you sure you want to change the base?
Cleanup sqlite #1139
Conversation
@@ -28,7 +28,7 @@ impl Pool { | |||
#[cfg_attr(feature = "redb", allow(unused))] | |||
pub async fn new(db_dir: Option<&Path>) -> Result<Self, SqlDbError> { | |||
let opts = if let Some(db_dir) = db_dir { | |||
let file = db_dir.join("freenet.db"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you try running with sqlite to see things initialise properly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to use sqlx with sqlite only in standalone project, and find that this only a file. But not try it with the freenet cli.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Compile and install locally freenet to use SQLite and not Redb, install and try run ping contract to see everything works correctly before merging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iduartgomez @al8n Still relevant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please leave this open
No description provided.