Oracle is distributing its BerkeleyDB including an interesting fusion
where they take all from SQLite except the final storage engine b-tree
and pager included.
As a product it is possible to obtain a dbsql binary that is a clone of
sqlite3 command line
but working with BDB databases.
yes, you are right, I actually have the same version, two years old anyway
The feature I was missing is "savefile and writefile" functions for blob
fields which comes I think in 2014-06
So for that problem, probably it is enough adding fileio.c to the code
and build again dbsql
And for getting benefit from sqlite bugfixes in this period I guess the
only way is to merge
manually the versions. I have compared the original code of sqlite
184.108.40.206 with the adapted for berkeley
and fortunately the changes are minimal.