SQLCloseCursor() or SQLFreeStmt does not free memory allcated to read CLOB field in Oracle.

Поиск
Список
Период
Сортировка
Искать

SQLCloseCursor() or SQLFreeStmt does not free memory allcated to read CLOB field in Oracle.

От:
Vadivel Subramaniam <vadivel.subramaniam@flextronicssoftware.com>
Дата:
                                                                       Hi,                                                                                                                                         This is query realated to ODBC and CLOB field in Oracle. I feel some ofyou might have faced similar issue.  Any hint would help me.                                                                                                                                                      I am using a C++ application that connects to Oracle Database using   EasySoft ODBC driver. I face a strange problem when freeing the memoryafter i fetch the CLOB data from the Oracle table.                                                                                                                                                                The piece of Code is below,                                                                                                                                                                                          char *pClobBuffer = new char[10485670];  // 10 MB                                                                                                                                                        // Prepare the SQL statement 
FAQ