[Kamailio-Devel] RFC: big int support in core and db modules

Henning Westerholt henning.westerholt at 1und1.de
Wed Sep 24 13:02:12 CEST 2008


On Tuesday 16 September 2008, Henning Westerholt wrote:
> i just commited an initial support for reading and writing BIGINT values (8
> byte integer) to the core and the three SQL based DB modules. The other
> database access modules don't have support for this at the moment, as i
> don't use them at all. I don't want to move our some core tables to this
> type, support for this is merely useful to be able to query bigger custom
> tables.
>
> I want to ask if there is any interest also enabling this for the other DB
> modules? Perhaps this don't make much sense, or is not possible because of
> library constraints?
>
> If this is also wanted for the other databases, help with testing and also
> implementation would be appreciated. If there is no huge interest, an
> alternative would be to just map this to normal integers as fallback.
> Another issue that needs to be discussed how we handle this with
> avp_db_query|load(), as normal AVPs are only 32 bit.

Ok, i disabled the big integer support for now in the respective modules, as i 
don't want to introduce bugs in them. If there is interest, this should be 
not that hard to implement later  (if the underlying library support this).

Cheers,

Henning



More information about the Devel mailing list