[gdal-dev] subclassing CPLODBCStatement and CPLODBCSession for DB2
David Adler
dadler at adtechgeospatial.com
Tue Dec 22 13:28:12 PST 2015
I am subclassing these classes to provide additional support for DB2.
It would simplify matters if some of the members of the parent classes
were protected rather than private.
The current CPLODBCStatement::Failed method is private but would be
useful as public.
There is also a peculiarity in CPLODBCSession::Failed that it ends up
resetting m_szLastError when RollbackTransaction is invoked so
GetLastError doesn't usually return anything useful about the actual
failing statement.
Is this something that would be worthwhile opening a ticket for?
More information about the gdal-dev
mailing list