Watch, Follow, &
Connect with Us

Idle Musings of a Delphi Junkie

Archive for March, 2010

Six months in a leaky boat

Yesterday I discovered a potential resource leak when using the dbExpress Ado.NET provider, which can cause connections to be created and never freed. This leak was discovered when I implemented and started consuming a helper method which allows me to easily determine whether a data reader contains a specified column.
class method DbUtils.ColumnExists(AReader: DbDataReader; AColumnName: String): [...]

Posted by David Clegg on March 11th, 2010 under .NET, Database, Delphi, InterBase, Prism, dbExpress | Comment now »



Server Response from: BLOGS2