Juha Heinanen wrote:
i "solved" the unsigned int db problem by the
following change in
modules/mysql/val.c, function str2int:
replace line
*_v = atoi(_s);
with
*_v = (int)atoll(_s);
it namely turned out that atoi does not work with large unsigned ints.
jan, since you seem to be the author of mysql module, could you commit
the above change? it should not cause any trouble for signed ints, but
of course using atoll must be somewhat slower than atoi.
the other option i guess is to add unsigned int as a new datatype to ser
db interface, which would be lot of work.
Thanks Juha. That worked. We will test it over the next couple of
weeks with some of our gateways and let you know the results.
-- juha
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
--
Andres
Network Admin
http://www.telesip.net