Replace Berkeley DB with SQLite 3
There were some bugs in the very ancient version of Berkeley DB that Asterisk used. Instead of spending the time tracking down the bugs in the Berkeley code we move to the much better documented SQLite 3. Conversion of the old astdb happens at runtime by running the included astdb2sqlite3 utility. The ast_db API with SQLite 3 backend should behave identically to the old Berkeley backend, but in the future we could offer a much more robust interface. We do not include the SQLite 3 library in the source tree, but instead rely upon the distribution-provided libraries. SQLite is so ubiquitous that this should not place undue burden on administrators. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@326589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- CHANGES 8 additions, 0 deletionsCHANGES
- Makefile 1 addition, 0 deletionsMakefile
- UPGRADE.txt 7 additions, 0 deletionsUPGRADE.txt
- configure 424 additions, 500 deletionsconfigure
- configure.ac 6 additions, 0 deletionsconfigure.ac
- main/Makefile 7 additions, 9 deletionsmain/Makefile
- main/asterisk.c 5 additions, 5 deletionsmain/asterisk.c
- main/db.c 377 additions, 241 deletionsmain/db.c
- tests/test_db.c 28 additions, 0 deletionstests/test_db.c
- utils/Makefile 10 additions, 0 deletionsutils/Makefile
- utils/astdb2sqlite3.c 231 additions, 0 deletionsutils/astdb2sqlite3.c
- utils/db1-ast/Makefile 0 additions, 0 deletionsutils/db1-ast/Makefile
- utils/db1-ast/btree/bt_close.c 0 additions, 0 deletionsutils/db1-ast/btree/bt_close.c
- utils/db1-ast/btree/bt_conv.c 0 additions, 0 deletionsutils/db1-ast/btree/bt_conv.c
- utils/db1-ast/btree/bt_debug.c 0 additions, 0 deletionsutils/db1-ast/btree/bt_debug.c
- utils/db1-ast/btree/bt_delete.c 0 additions, 0 deletionsutils/db1-ast/btree/bt_delete.c
- utils/db1-ast/btree/bt_get.c 0 additions, 0 deletionsutils/db1-ast/btree/bt_get.c
- utils/db1-ast/btree/bt_open.c 0 additions, 0 deletionsutils/db1-ast/btree/bt_open.c
- utils/db1-ast/btree/bt_overflow.c 0 additions, 0 deletionsutils/db1-ast/btree/bt_overflow.c
- utils/db1-ast/btree/bt_page.c 0 additions, 0 deletionsutils/db1-ast/btree/bt_page.c
Loading
Please register or sign in to comment