[SR-Dev] DB decisions

Andrei Pelinescu-Onciul andrei at iptel.org
Fri Nov 21 19:02:53 CET 2008


On Nov 21, 2008 at 04:34, Jan Janak <jan at iptel.org> wrote:
[...]

>   Unless nobody objects, I would suggest we do the following:
> 
>   1) Convert both API versions into libraries. Here I would suggest some
>      simpler name, sr_dbk sounds is cryptic, how about using just db1 and db2
> 	 possibly prefixed with sr (libsrdb1, libsrdb2)?

Do we go for libsrdb[12] or somebody has a better ideea?

Do I keep the kamailio db history or we use directly Jan's version (no
history)?


> 
>   2) Rename conflicting identifiers in both libraries, i.e. db_con1, db_con2,
>      db_res1, db_res2.

I think we would have to rename the DB_* macros too:
DB1_STR DB1_INT DB1_BLOB DB1_BIGINT DB1_DOUBLE DB1_STRING DB1_DATETIME
DB1_BITMAP



More information about the sr-dev mailing list