Bug #26933 Memory Leak in SQLTables function

Submitted: 7 Mar 2007 20:10 Modified: 8 Mar 2007 2:14
Reporter: Joe Roberts Email Updates:
Status: Duplicate Impact on me:
None 
Category:Connector / ODBC Severity:S3 (Non-critical)
Version:3.51.12 OS:Windows (Windows 2000 Server)
Assigned to: CPU Architecture:Any

[7 Mar 2007 20:10] Joe Roberts
Description:
I profiled our code which calls SQLTables using Rational Purify and it always
shows huge memory leaks every time that SQLTables is called - it seems that the
problem is always reported with SQLTables and then the Kernel level APIs as the
root of the leak.

How to repeat:
Create a table in database on the server, use the same version of the MyODBC driver and call SQLTables as follows:

      ret = SQLTables(hstmt,
                      NULL, SQL_NTS,
                      NULL,SQL_NTS, 
                      tableName, SQL_NTS,
                      NULL, SQL_NTS);

Profile the code with a tool such as Rational Purify to see the memory leak.
[8 Mar 2007 2:14] Jim Winstead
This is a duplicate of Bug #26932.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.042 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.