Module: sip-router
Branch: janakj/flatstore
Commit: 26dc46eff209d7d53a21e5701fd60c8bae12e08c
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=26dc46e…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Wed Sep 24 11:02:42 2008 +0000
- disable big integer (DB_BIGINT) support for non SQL DB modules for now
- if such a value is used, an error will be returned and also logged
git-svn-id:
https://openser.svn.sourceforge.net/svnroot/openser/trunk@4986
689a6050-402a-0410-94f2-e92a70836424
---
modules/db_flatstore/km_flatstore.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/db_flatstore/km_flatstore.c b/modules/db_flatstore/km_flatstore.c
index 47725f6..e6e96b9 100644
--- a/modules/db_flatstore/km_flatstore.c
+++ b/modules/db_flatstore/km_flatstore.c
@@ -174,6 +174,10 @@ int flat_db_insert(const db_con_t* h, const db_key_t* k, const
db_val_t* v,
fprintf(f, "%d", VAL_INT(v + i));
break;
+ case DB_BIGINT:
+ LM_ERR("BIGINT not supported");
+ return -1;
+
case DB_DOUBLE:
fprintf(f, "%f", VAL_DOUBLE(v + i));
break;