most simple SQL implementation in standard C to be used in linux-based ARM terminals

StackOverflow https://stackoverflow.com/questions/7926708

  •  15-02-2021
  •  | 
  •  

Pregunta

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 !

¿Fue útil?

Solución

The obvious choice is SQLite.

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top