PDA

View Full Version : Reducing (Oracle) ODBC bugs as much as possible?


Sten Westerback
06-09-2004, 10:12 PM
Hi

Do anyone know which Oracle ODBC driver version is the
most bug free? As one can see in numerous articles on the net
there is clearly a resource leak in the ODBC driver and also
in the Microsoft MDAC modules (which can be fixed).

I have now tried with Oracle 8i and 9i and both experience
different problems. Version 8, according to Process Explorer
(sysinternals.com), leaves a event handle behind for every query
and version 9 leaves two semaphores and manages to close an event
handle. The unnamed kernel objects are probably from inside a
critical section that isn't removed properly especially if the query
is very short and fast. Use of connection pooling might also play a role.

Anyway, do anyone have experience about this? Should i get version 10
and hope it has got those problems removed? Or could it be that there
is also some problem in the ODBC interface itself?

A code snipet:

SQLAllocHandle(SQL_HANDLE_ENV, NULL, &henv);
SQLAllocHandle(SQL_HANDLE_DBC, NULL, &hdbc);
if (SQLDriverConnect(hdbc, .... )
{
SQLFetch(...
}
SQLFreeHandle(SQL_HANDLE_DBC, hdbc);
....

There are also, according to BoundChecker, many other bugs in
Oracles code.. like sprintf and fopen stuff -- which make me believe
BoundChecker might be wrong too?

- Sten


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service