Question

Do you know some open-source very tiny SQL server implementation possibly in 1 *.c (or several) file without external dependencies ? Implementation should be very basic - support of most simple forms of select/insert/delete/update... No DDL is needed (albeit it would be good to have). Only basic 1 user at-a-timer operations - (no multi-user mode or resolving db locks is needed). Simply operates on some 1 db file (possibly in text mode). ?? Sources must be in standard portable C.

Very thanks !

Was it helpful?

Solution

The obvious choice is SQLite.

You can add "-DSQLITE_THREADSAFE=0 -DSQLITE_OMIT_LOAD_EXTENSION" to avoid external dependencies.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top