Le 25/07/2012 11:50, Dimitry Sibiryakov a écrit :
> 25.07.2012 11:42, arnaud but wrote:
>> but effectively if it's not normarl to have sqltype & 1 == 0 on a
>> primary key column (in fact i have this result since the beginning with
>> the Qt driver) this is strange
>
>     Yes, this is strange, because it would mean that PK field is not 
> non-nullable.
>
>> SQLDA DUMP :
>>
>> prepare: INSERT INTO SYS_CONF_PRMVAL ("IDSYSCONFPRMVAL", "REFPARAM",
>> "REFNODE", "REFID", "FOREIGNID", "PRMVAL_VALUE", "REFSITE") VALUES (?,
>> ?, ?, ?, ?, ?, ?)
>>
>> DUMP :
>>
>> sqld : 7
>> sqldabc -842150451
>> sqlaid : ÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
>> sqln : 7
>> sqlversion : 1
>> XSQLVAR : (for the primary key)
>> sqltype : 448
>
>     So, the field is not nullable and SQLDA complies. No bug here.
>

i agree with you : no bug.

and for me
sqltype & 1 == 0 means field is not nullable
sqltype & 1 == 1 means field is  nullable

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to