Skip to content

Latest commit

 

History

History
69 lines (45 loc) · 1.01 KB

File metadata and controls

69 lines (45 loc) · 1.01 KB

FormiDB

About

A very lightweight database engine implemented from scratch.


Build

Uses CMake for builds.

Creating a build directory (Recommended)

From the project root:

mkdir build
cd build

Configuring and building

Under the build directory

cmake ..
cmake --build .

After a successful build, two binaries should be generates as of now, one is the main application (formidb) and the other is for tests


Debug Builds, Testing, and Tooling

Building with CMake Debug configuration

To build FormiDB with debug symbols enabled:

mkdir build-debug
cd build-debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build .

(With debug flags enabled)


Debugging with gdb

Run the built executable under gdb:

gdb ./formidb

Leak checking with Valgrind

valgrind --leak-check=full --track-origins=yes ./formidb

In development

  1. Minimal SQL like interpreter to run in shell mode
  2. Thread safe pager (complete)