Page 1 of 1

TIBCConnection.DatabaseInfo statistics stringlists

Posted: Tue 27 Oct 2015 08:41
by upscene
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

Re: TIBCConnection.DatabaseInfo statistics stringlists

Posted: Tue 27 Oct 2015 10:32
by ViktorV
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.

Re: TIBCConnection.DatabaseInfo statistics stringlists

Posted: Tue 27 Oct 2015 10:55
by upscene
Hi Victor,

Good to hear that.

How about ownership of the stringlists?

Re: TIBCConnection.DatabaseInfo statistics stringlists

Posted: Tue 27 Oct 2015 12:51
by ViktorV
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.