Re: [firebird-python] fdb smallint ranges fails

2016-04-11 Thread Pavel Cisar pci...@ibphoenix.cz [firebird-python]
Hi, Dne 11.4.2016 v 13:16 Maxi maxiroba...@gmail.com [firebird-python] napsal(a): > > BTW, Are you taking into consideration add fdb project into FirebirdSQL > github repos [1] ? > Would be great for a better contribution. Eventually yes, but not in next few months. best regards Pavel Cisar IBP

Re: [firebird-python] fdb smallint ranges fails

2016-04-11 Thread Maxi maxiroba...@gmail.com [firebird-python]
2016-04-11 7:07 GMT-03:00 Pavel Cisar pci...@ibphoenix.cz [firebird-python] : > > > Hi, > > Dne 10.4.2016 v 17:01 Maximiliano Robaina maxi_roba...@yahoo.com.ar > [firebird-python] napsal(a): > > Why in fdb.ibase.py smaillint min range is defined as SHRT_MIN = -32767 > ? > > It's a bug, sorry. Fix

Re: [firebird-python] fdb smallint ranges fails

2016-04-11 Thread Pavel Cisar pci...@ibphoenix.cz [firebird-python]
Hi, Dne 10.4.2016 v 17:01 Maximiliano Robaina maxi_roba...@yahoo.com.ar [firebird-python] napsal(a): > Why in fdb.ibase.py smaillint min range is defined as SHRT_MIN = -32767 ? It's a bug, sorry. Fix committed, will appear in next version. You can fix it manually for now. see http://tracker.fi

[firebird-python] fdb smallint ranges fails

2016-04-10 Thread Maximiliano Robaina maxi_roba...@yahoo.com.ar [firebird-python]
Hi, I'm doing some tests on django-firebird (firebird backend for django) [1] and I see that inserting smallint data just on limit of the range fails In Firebird technical specifications [2] the smallint range is -2^15 to 2^15-1 (-32768 to 32767). but insert fails if I try to insert a record