Subject Re: [firebird-support] another issue with blobs
Author Francesco Lamonica
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 29 August 2003 08:09, Dimitry Sibiryakov wrote:
> On 29 Aug 2003 at 4:58, Francesco Lamonica wrote:
> > in_sqlda = (XSQLDA *)malloc(XSQLDA_LENGTH(2));
> > in_sqlda->version=SQLDA_VERSION1;
> > in_sqlda->sqln=2;
>
> in_sqlda->sqld=2;
>
> SY, Dimitry Sibiryakov.

thanks dimitry but with ur changes i get:

Execution of INSERT INTO Allegati VALUES
(gen_id(GenID_Allegato,1),234,'/home/franci/20056.jpg',?) in progress...
execution done
SQL error
SQLCODE: -804
SQL ERROR:
An error was found in the application program input parameters for the SQL
statement.

ISC STATUS:
Dynamic SQL Error
- -SQL error code = -804
- -Incorrect values within SQLDA structure

besides... isnt sqln the indicator of the affected fields while sqld the
affected rows?

- --
Francesco Lamonica: f DOT lamonica AT tin DOT it

PGP Fingerprint: 5870 92BA 8DFF 1ACF DE2E B94D 46EC 5505 7C64 4EF1
Favourite quote: There's no spoon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/TywHRuxVBXxkTvERAvYmAJ9QElyTRDt4puJ3SPs9oORlW9boOgCg0jzf
YrVAYSTzP2og1xebWklHtNc=
=b0+A
-----END PGP SIGNATURE-----