Subject | Re: [firebird-support] strange error message with SQLDA |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2005-04-27T05:09:31Z |
On 26 Apr 2005 at 18:58, benedicte_asselin wrote:
point to variable with right value (0)?
--
SY, Dimitry Sibiryakov.
>I found something strange in the DSQL engine, reporting an error in aNever mind, DSQL error reports always were misterious.
>strange way.
> if I feed the SQLDA structure telling: type=SQL_SHORT,At first, sqllen must be 2. Then pointer to 16 bit integer is good.
>sqllen=4 and sqldata with a good pointer(i made an error giving a 32
>bit rather than a 16 bit),
> the next field gets a "validation error forDid you provide valid pointer for sqlind? And did this pointer
>column COL2, value "*** null ***" " the next field is itself well
>crafted (with obviously a non-null value inside) and there is really a
>'not null' column constraint on it in the table declaration.
point to variable with right value (0)?
--
SY, Dimitry Sibiryakov.