Hello,

i use The Qt Driver to connect to Firebird and we are trying  the 2.5
server, but i have encountered a problem with NULL value that we don't
have with the 2.1 server.

In fact after investigation the diffrence seems to be into the fbclient.

for exemple if a column accept a NULL value into the Qt Driver we do
"sqltype & 1 == 1" but on the same server with a 2.1 client and a 2.5
client we don' have the same result for a same column.

For exemple we use trigger to fill primary key so we pass a NULL value
for the primary key in the request and the "before insert trigger"
generate the key if the value is NULL.

Or our test "sqltype & 1 == 1" return different value :

WIth a primary key column on the same firebird server (2.5)

with fbclient 2.1  => sqltype & 1 return 1
with fbclient 2.5  => sqltype & 1 return 0

what do you tink about that ? the test in the driver is maybe wrong ?

thanks in advance.

------------------------------------------------------------------------------
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