Evident memory corruption in TOraQuery

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
scarecrow
Posts: 8
Joined: Wed 16 Aug 2006 04:37

Evident memory corruption in TOraQuery

Post by scarecrow » Mon 12 Mar 2007 07:11

ODAC 5.80.0.37
Oracle 9.2.0.8/Linux
Delphi 7

The following trivial query crashes host application being executed by TOraQuery:

Code: Select all

select level from dual connect by level<=1000
There's probably a memory corruption or stack overflow. It's even more strange as this query is executed OK:

Code: Select all

select * from (
  select level from dual connect by level<=1000)

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Mon 12 Mar 2007 10:47

We fixed bug with the Access Violation failure when executing this SQL statement when the Net option is True. But we couldn't fix the problem with fetching wrong amount of data. This seems to be a problem of Oracle Server. It returns the OCI_NO_DATA flag after fetching first block of data.

Post Reply