Return NULL for GetDriver if m_pDatabase is unitialized (bug 5763).
Allow MySQL client library to load with newer versions of MySQL (bug 5662).
Fix TimerSys crashing on handle leak unload (bug 3292).