Am Mittwoch, 5. September 2012, 14:00:58 schrieb Daniel-Constantin Mierla:
> Hi,
I've experimented column size isues (too small) when trying to
> store a double Path header in the location table. It seems that
> current size is:
[...]
512 sounds a bit too large to me, this size is
not used in any other
fields in the database definitions. What about setting it to 255?
Replacing the uri_len part with
<size>&hf_len;</size>
should do the trick. Then just run make dbschema, and commit also the
updated database definitions.
dialog module uses 512 for each route set (caller/callee side), so
perhaps it should be used here the same, eventually defining a variable
for it and use it everywhere is stored a path/route set.
Besides regeneration of db creation scripts (with make dbschema), a
safety check has to be done to registrar/usrloc module to be sure it
does not use some static buffer of a lower size for handling the path.
Hello Daniel,
I've added the 512 size definition as "long_hf_len" to the schema defs and
changed the dialog xml files. If Inaki wants to do his change he could also use
this.
Cheers,
Henning