Re: Buffer lengths in 'odsc' call.
From: Paul Beardsell <paul_at_hoxton.demon.co.uk>
Date: Wed, 25 May 1994 00:49:17 +0000
Message-ID: <769826957snz_at_hoxton.demon.co.uk>
Date: Wed, 25 May 1994 00:49:17 +0000
Message-ID: <769826957snz_at_hoxton.demon.co.uk>
In article <2rtv9u$57n_at_masala.cc.uh.edu>
andrzej_at_picasso.cs.uh.edu "Andrzej Cichocki" writes:
> Anyone out there could give me a hint, why the 'odsc' call of dynamic
> SQL gives 'ORA-03100: insufficient memory' error when the length of
> a buffer allocated (in the main program) for the column name exceeds
> 455 bytes?
> ^^^(four hundred and something)
>
> (ORACLE RDBMS V6.0.36.5.0 (6.2), on VMS).
>
> Thanks a lot,
>
> Andrzej.
> andrzej_at_cs.uh.edu
Perhaps you're passing the buffer length by value and not be reference.
-- Paul Beardsell SAM Business Systems Ltd ~~~~~~~~~~~~~~ 21 Finn House, Bevenden St, HOXTON, pbeardsell_at_cix.compulink.co.uk Hackney, London, N1-6BN, UK. paul_at_hoxton.demon.co.uk (+44 or 0)71 608-2391Received on Wed May 25 1994 - 02:49:17 CEST