[sr-dev] htable key_value max length
marius.zbihlei at 1and1.ro
Thu Sep 20 10:24:25 CEST 2012
On 09/19/2012 05:56 PM, Jasmin Schnatterbeck wrote:
> when looking at the database structure description I noticed, that the
> htable module key_value has a max length of 128 characters.
> I need more characters for caching lua scripts - are there any concerns
> about increasing the max length in some tables to 1024 characters (or
> even more?) using MySQL TEXT field type?
> kind regards
After looking thru the code, it seems the only restriction is on key
size (of less than 256) but not on the actual value itself. Maybe
increasing the table size might be a problem, but I can't spot anything
in the module internal that might affect this.
> sr-dev mailing list
> sr-dev at lists.sip-router.org
Linux Development Services Romania
1&1 Internet Development srl Tel KA: 754-9152
Str Mircea Eliade 18 Tel RO: +40-31-223-9152
Sect 1, Bucuresti mailto: marius.zbihlei at 1and1.ro
More information about the sr-dev