Subject Re: Problem with Not null colum indicator
Author Roman Rokytskyy
Hi,

> For obtain a value indicating if a column allow null values the GDS
> implementation make this in isc_dsql_fetch:
>
> xsqlda.sqlvar[i].sqlind = (row[i] == null ? -1 : 0);
>
>
> This is not a correct way for doing this, only if you have luck you
> will obtain the correct value.

Why not? row[i] is null only when sqlind was -1. If sqlind was 0,
then row[i] is not null. Code seems to be a little bit strange, but I
do not see problem there. Can you explain in details what you mean?

How did you solve it in your .Net provider?

Best regards,
Roman Rokytskyy