Module: sip-router
Branch: janakj/bdb
Commit: 4921fa7934feb93395ccfdd62b8711f7458a82c5
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4921fa7…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Mon Nov 26 13:22:51 2007 +0000
- improve error msg on startup like in commit r3205 for dbtext
git-svn-id:
https://openser.svn.sourceforge.net/svnroot/openser/trunk@3207
689a6050-402a-0410-94f2-e92a70836424
---
modules/db_berkeley/bdb_lib.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/db_berkeley/bdb_lib.c b/modules/db_berkeley/bdb_lib.c
index 571ee09..54ee975 100644
--- a/modules/db_berkeley/bdb_lib.c
+++ b/modules/db_berkeley/bdb_lib.c
@@ -366,7 +366,8 @@ database_p bdblib_get_db(str *_s)
if( !_cachedb)
{
- LM_ERR("_cachedb is not initialized!\n");
+ LM_ERR("db_berkeley cache is not initialized! Check if you loaded db_berkeley
"
+ "before any other module that uses it.\n");
return NULL;
}