Hi,
I'm just noticing
warning: ‘dbi_initialize’ is deprecated (declared at /usr/include/dbi/dbi.h:169)
called from
openbsc/openbsc/src/libmsc/db.c:db_init()
(and a couple more dbi deprecations)
Should we do something about it? ...rather: who and when? ;)
~Neels
On 18 Jan 2016, at 12:47, Neels Hofmeyr nhofmeyr@sysmocom.de wrote:
Should we do something about it? ...rather: who and when? ;)
replace libdbi with direct calls to sqlite3. The "new" libdbi has severy memory corruption issues and seems to be unmaintained.
Another option would be to migrate to http://www.tildeslash.com/libzdb/
It's GPL, thread-safe and allows trivial migration between database engines in case we would like to use something more advanced than sqlite in future (if I'm not mistake this been discussed several times in ML before).
cheers, Max.
On Mon, Jan 18, 2016 at 03:02:58PM +0100, Max (☭) wrote:
Another option would be to migrate to http://www.tildeslash.com/libzdb/
It's GPL, thread-safe and allows trivial migration between database engines in case we would like to use something more advanced than sqlite in future (if I'm not mistake this been discussed several times in ML before).
So I take it the priority for this is relatively low? Should I spend time on this now, or rather let it gather dust for a bit longer?
My mind _is_ quite occupied by Iu-CS, and according to Douglas Adams, as soon as one tries to add an 8th thought, another would drop out of your head unnoticed...
~Neels
cheers, Max.