Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Cursor Library Memory Leak in Multithreaded Environment


View products that this article applies to.

This article was previously published under Q171878
BUG #: 1251/4210 (odbcsdk)

↑ Back to the top


Symptoms

When the cursor library is loaded in a multithreaded application, a memory leak occurs.

↑ Back to the top


Status

Microsoft has confirmed this to be a problem in Microsoft Open Database Connectivity versions 2.5 and 3.0. This problem has been corrected in U.S. Service Pack 1 for Microsoft Open Database Connectivity, version 3.0. For more information, contact your primary support provider.

↑ Back to the top


More information

This problem is created when multiple threads establish connections specifying that the ODBC Cursor Library is to be used. For example, if each thread of a multithread application creates a connection using the SQLSetConnection(hdbc, SQL_ODBC_CURSORS, SQL_CUR_USE_ODBC) statement and subsequently executes it repeatedly, you can use the Process Viewer to observe a memory leak.

↑ Back to the top


Keywords: KB171878, kbmdac250fix, kbfix, kbbug

↑ Back to the top

Article Info
Article ID : 171878
Revision : 2
Created on : 3/3/2000
Published on : 3/3/2000
Exists online : False
Views : 460