Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: malloc problem after FETCH operation
what about the block information, is think this is 12 bytes.
On 5 Aug 1998 07:36:53 GMT, "peckle" <ngpl_at_cyberway.com.sg> wrote:
>
>I have encountered a strange problem. Can anyone offer an explanation?
>
>After I have executed the following statement:
> EXEC SQL FOR :array_size FETCH MY_CURSOR USING DESCRIPTOR dp;
>
>I don't seem to be able to malloc any memory block which is lesser than 13
>bytes, ie, I must allocate a minimum block size of at least 13 bytes, else
>I will get an "access violation error". If I don't execute the above SQL
>statement, I have no problem with allocating a block of any size, even 1
>byte is alright.
>
>The compiler I'm using is Borland C++ 5.02 and the OS is Windows NT 4.0.
>The Oracle precompiler is ProC 2.2. Any help rendered is greatly
>appreciated.
>
Received on Thu Aug 06 1998 - 06:45:30 CDT
![]() |
![]() |