In the patch fix for OdbDatabaseLayer constructor.
This patch fix Exception generation on destructor when the layer tryed to connect but does not connected due to any error.
This patch has been committed as OdbcDatabaseLayer.cpp revision 1.21 in CVS. Rather than "m_bIsConnected(false)", the line "m_bIsConnected = false;" was used. This is because I wasn't sure if all compilers would support the first version since m_bIsConnected is an atomic type.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=202700
Originator: NO
This patch has been committed as OdbcDatabaseLayer.cpp revision 1.21 in CVS. Rather than "m_bIsConnected(false)", the line "m_bIsConnected = false;" was used. This is because I wasn't sure if all compilers would support the first version since m_bIsConnected is an atomic type.