TIBCConnection.DatabaseInfo statistics stringlists

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
upscene
Posts: 306
Joined: Thu 19 Oct 2006 08:13

TIBCConnection.DatabaseInfo statistics stringlists

Post by upscene » Tue 27 Oct 2015 08:41

Hi,

For DatabaseInfo.ReadSeqCount and other statistics related properties, I'm getting memory leaks if I use those string lists.

Can you tell me if these properties return a stringlist owned by the TGDSDatabaseInfo object?

Also, with InterBase (XE3), I'm getting strange results - sometimes, bogus info.

Any idea?

Using version 5.6.18 - I don't see anything related to this in the 5.6.19 build.

With regards,

Martijn Tonies

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: TIBCConnection.DatabaseInfo statistics stringlists

Post by ViktorV » Tue 27 Oct 2015 10:32

Thank you for the information. We have reproduced the issue. We are investigating this behavior of IBDAC, and we will inform you about the results.

upscene
Posts: 306
Joined: Thu 19 Oct 2006 08:13

Re: TIBCConnection.DatabaseInfo statistics stringlists

Post by upscene » Tue 27 Oct 2015 10:55

Hi Victor,

Good to hear that.

How about ownership of the stringlists?

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: TIBCConnection.DatabaseInfo statistics stringlists

Post by ViktorV » Tue 27 Oct 2015 12:51

We have already fixed this bug. Now properties that return data of StringList belong to TGDSDatabaseInfo - and you will not have to worry about their destruction. The fix will be included in the next IBDAC build.

Post Reply