3

I have a cross platform project where the client gets the code, but doesn't want to resolve any dependencies. The requirements are best solved with a relational database, so it seems I need to copy the source of an embeddable relational database into my program and compile the library directly into the executable or as part of the project.

Is there a relational embeddable database which has a permissive license so that I can copy the source directly into the project? Which one has the smallest code base? Ideally I'm thinking of one C source file and one header that I can copy into the program and start using immediately.

nurettin
  • 11,090
  • 5
  • 65
  • 85
  • 2
    and two seconds later I find SQLite 3 amalgamation source which is basically what I described. http://www.sqlite.org/download.html – nurettin Oct 26 '11 at 07:08

2 Answers2

13

SQLite

They have “amalgamation” source distribution which is one C source file, which can be included into a project and used right away.

hamstergene
  • 24,039
  • 5
  • 57
  • 72
3

SQLite comes to mind.

Some programmer dude
  • 400,186
  • 35
  • 402
  • 621