Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

standalone sqld lib #485

Merged
merged 1 commit into from
Jul 6, 2023
Merged

standalone sqld lib #485

merged 1 commit into from
Jul 6, 2023

Conversation

MarinPostma
Copy link
Contributor

@MarinPostma MarinPostma commented Jun 29, 2023

This PR splits off the individual database components from sqld, and at the same time, makes it as portable as possible by exposing a blocking, single-threaded API.

The central moving part is the Database trait that allows the creation of database Connection.
Frame injection is possible on objects that implement InjectableDatabase.

Log compaction is external to the logging process: the logger calls the provided LogCompactor to decide if compaction should be performed and perform it.

I have added a bunch of tests as well.

@MarinPostma MarinPostma force-pushed the libsqlx branch 4 times, most recently from ae3d287 to f5a64ff Compare July 6, 2023 12:30
@MarinPostma MarinPostma changed the base branch from main to multi-tenancy July 6, 2023 12:33
@MarinPostma MarinPostma force-pushed the libsqlx branch 2 times, most recently from d7f754b to 71e5a13 Compare July 6, 2023 13:02
@MarinPostma MarinPostma marked this pull request as ready for review July 6, 2023 13:03
@MarinPostma MarinPostma merged commit ce02662 into multi-tenancy Jul 6, 2023
@MarinPostma MarinPostma mentioned this pull request Jul 6, 2023
21 tasks
@MarinPostma MarinPostma deleted the libsqlx branch August 25, 2023 13:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant