BUG: SQL 6.5 DMO GetItemByOrd and GetItemByName causes 4K leak in private bytes (216714)



The information in this article applies to:

  • Microsoft SQL Server 6.5

This article was previously published under Q216714
BUG #: 18579 (SQLBUG_65)

SYMPTOMS

If you use the GetItemByOrd or GetItemByName SQL-DMO functions and pass an invalid name or ordinal value, the eighteenth failed call to these functions will leak 4,096 bytes of private bytes.

WORKAROUND

To work around this problem, ensure that the value, either name or ordinal, is valid by inspecting the Count properity or the Item(n).Name property of the collection.

STATUS

Microsoft has confirmed this to be a problem in SQL Server 6.5.

Modification Type:MinorLast Reviewed:11/22/2005
Keywords:kbBug kbpending KB216714