From: | zhaoxin <zhaox(at)necas(dot)nec(dot)com(dot)cn> |
---|---|
To: | pgsql-odbc(at)postgresql(dot)org |
Subject: | Re: Memory Leak ? |
Date: | 2006-06-16 01:22:38 |
Message-ID: | 449207DE.3090102@necas.nec.com.cn |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
TO:Hiroshi Inoue
>>> Could you try the dll at
>>> http://www.geocities.jp/inocchichichi/psqlodbc/index.html ?
>>> Recently I found a memory leak in some combination of connection
>>> options.
>>
>> I have tested the driver downloaded from this link .
>> but memory leak seems still exist .
>
>
> Could you tell me your connection string ?
My connection string is like this (with ODBC default settings):
SQLAllocHandle (SQL_HANDLE_ENV, NULL, &henv);
SQLSetEnvAttr(henv,SQL_ATTR_ODBC_VERSION,
(SQLPOINTER)SQL_OV_ODBC3,SQL_IS_INTEGER);
SQLAllocHandle(SQL_HANDLE_DBC, henv, &hdbc);
SQLSetConnectOption(hdbc,SQL_AUTOCOMMIT, SQL_AUTOCOMMIT_OFF);
SQLConnect(hdbc,(SQLCHAR*)szDSN, (SQLSMALLINT)strlen(szDSN),
(SQLCHAR*)szUID, (SQLSMALLINT)strlen(szUID),
(SQLCHAR*)szAuthStr, (SQLSMALLINT)strlen(szAuthStr));
SQLAllocHandle(SQL_HANDLE_STMT, hdbc, &hstmt);
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Inoue | 2006-06-16 02:45:42 | Re: Memory Leak ? |
Previous Message | Tony Caduto | 2006-06-15 18:52:47 | Re: case sensitivity on table & column names / workaround? |