Opened 14 years ago

Closed 14 years ago

#3244 closed defect (fixed)

MS SQL 2008 plugin - msMSSQL2008CloseConnection() improperly frees statement handle

Reported by: jbartkowiak Owned by: tamas
Priority: normal Milestone: 5.6.2 release
Component: Input - Native MS SQL Server Support Version: 5.6
Severity: normal Keywords:
Cc:

Description

msMSSQL2008CloseConnection() improperly frees statement handle:

if (conn->hstmt)
{
    SQLFreeHandle(SQL_HANDLE_DBC, conn->hstmt);
}

This should be:

if (conn->hstmt)
{
    SQLFreeHandle(SQL_HANDLE_STMT, conn->hstmt);
}

Change History (2)

comment:1 by tamas, 14 years ago

Owner: changed from hobu to tamas

comment:2 by tamas, 14 years ago

Milestone: 5.6.2 release
Resolution: fixed
Status: newclosed
Version: svn-trunk (development)5.6

Fixed in r9924 and r9925

Note: See TracTickets for help on using tickets.