[sr-dev] htable key_value max length
Marius Zbihlei
marius.zbihlei at 1and1.ro
Thu Sep 20 10:24:25 CEST 2012
On 09/19/2012 05:56 PM, Jasmin Schnatterbeck wrote:
> Hello,
>
> 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
> jasmin
>
Hello,
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.
Cheers,
M.
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>
--
Zbihlei Marius
Head of
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
71295, Romania
More information about the sr-dev
mailing list