Issue Details (XML | Word | Printable)

Key: CORE-3961
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Lorenzo Iania
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Firebird Core

sqlind wrong segnalation of null value

Created: 25/Oct/12 06:35 PM   Updated: 25/Oct/12 06:53 PM
Component/s: API / Client Library
Affects Version/s: 2.5.0, 2.5.1, 2.1.5
Fix Version/s: None

Environment: client windows, server freebsd or windows


 Description  « Hide
Sometimes, in unpredictable situation, using a query involving more fields , it happens that the first field (and only the first one) in the sqlda structure, returns null value (sqlind= -1) when the data is not null and also when the field has not null property. I cannot explain it clearly because it happens only sometimes, but when it happens, if you repeat the same query, the behaviour is always the same. Sometimes, to resolve the problem, i had to ignore the sqlind flag, because the data is correctly inserted in the sqldata pointer. Furthermore, using the same client library and the same application from different clients, it happens that the behaviour is different: on the first client the problem is always the same, but on the second the result is perfect. The error involves always the first field in the query.


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Adriano dos Santos Fernandes added a comment - 25/Oct/12 06:53 PM
There is nothing to do without further info or test.