[asterisk-dev] [Code Review] Replace Berkeley DB astdb with SQLite3
Russell Bryant
reviewboard at asterisk.org
Tue Jun 14 11:52:53 CDT 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1269/#review3723
-----------------------------------------------------------
I think I'd like to have the conversion handling in a separate application entirely. There may be cases where someone wants to run it manually to test out the migration. We also want to do this in such a way that eventually we will not build and install this tool by default, which will give us one less library we bundle and build into asterisk.
- Russell
On 2011-06-14 11:26:02, Terry Wilson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1269/
> -----------------------------------------------------------
>
> (Updated 2011-06-14 11:26:02)
>
>
> Review request for Asterisk Developers.
>
>
> Summary
> -------
>
> There have been a couple of bugs reported lately against the Berkeley DB version that Asterisk uses for its internal database. These bugs have been tracked to the actual Berkeley code Asterisk uses, which is very very old and unmaintained. This patch replaces the Berkeley code with SQLite3 while maintaining exactly the same API. If there is no sqlite3 version of the database already and there is a Berkeley DB version, it automatically converts the old database to the new format.
>
> If this goes in, I would then like to update Olle's patch for Realtime support for astdb as well and get that in.
>
>
> Diffs
> -----
>
> /configure UNKNOWN
> /trunk/configure.ac 323369
> /trunk/main/Makefile 323369
> /trunk/main/db.c 323369
> /trunk/tests/test_db.c 323369
>
> Diff: https://reviewboard.asterisk.org/r/1269/diff
>
>
> Testing
> -------
>
> All astdb tests pass and I have tested converting several astdb databases.
>
>
> Thanks,
>
> Terry
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110614/f95f4e8d/attachment.htm>
More information about the asterisk-dev
mailing list