Re: sqlops module, int signed/unsigned bug? (Re: Is a kamailio integer signed or unsigned?)

Daniel-Constantin Mierla via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <[email protected]>
Hello,

it should be signed int (older versions) or long (newer versions). Can
you give the snippet of the kamailio.cfg where you do the query and use
the result that prints the unsigned value?

Cheers,
Daniel

On 02.09.25 15:02, Benoit Panizzon via sr-users wrote:
> Hi
>
> I wonder if I shall open a bugreport or if this is just a documentation
> issue of the sqlops module.
>
> After also re-testing with Kamailio 5.7 I can confirm that there a
> MySQL integer of value -1 is also being "converted" by sqlops from
> signed to unsigned and results in the variable having value 4294967295
> which shows that 5.7 works with 32 bit unsigned int while 5.8 works
> with 64 bit unsigned int.
>
> Is this intentional or a bug?
>
> Mit freundlichen Grüssen
>
> -Benoît Panizzon-
> -- 
> I m p r o W a r e   A G    -    Leiter Commerce Kunden
> ______________________________________________________
>
> Zurlindenstrasse 29             Tel  +41 61 826 93 00
> CH-4133 Pratteln                Fax  +41 61 826 93 01
> Schweiz                         Web  http://www.imp.ch
> ______________________________________________________
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
> To unsubscribe send an email to [email protected]
> Important: keep the mailing list in the recipients, do not reply only to the sender!

-- 
Daniel-Constantin Mierla (@ asipto.com)
twitter.com/miconda -- linkedin.com/in/miconda
Kamailio Consultancy, Training and Development Services -- asipto.com

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.