From: Jonathan W. <jw...@mi...> - 2004-08-10 14:30:59
|
I've downloaded the 4.1.3 sources and that fix won't work, SHUTDOWN_DEFAULT is an enum, not a macro (bah! who uses all-caps for enums?!) but something like this should work ok: #if MYSQL_VERSION_ID >= 40103 bool suc = !(mysql_shutdown(m_sharedptr_connection.obj(), SHUTDOWN_DEFAULT)); #else bool suc = !(mysql_shutdown(m_sharedptr_connection.obj())); #endif I *think* that's the right ID for 4.1.3, it's defined in the installed mysql_version.h jon |