Update of /cvsroot/wpdev/wolfpack
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18652
Modified Files:
server.cpp
Log Message:
Improved display of mysql+sqlite version.
Index: server.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/server.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** server.cpp 20 Jul 2004 04:40:51 -0000 1.11
--- server.cpp 20 Jul 2004 12:03:38 -0000 1.12
***************
*** 64,67 ****
--- 64,75 ----
#include "network/network.h"
+ #include "sqlite/sqlite.h"
+ #if defined(MYSQL_DRIVER)
+ #if defined(Q_OS_WIN32)
+ #include <winsock.h>
+ #endif
+ #include <mysql.h>
+ #endif
+
cComponent::cComponent()
{
***************
*** 421,429 ****
Console::instance()->send( "Compiled for Python " PY_VERSION " (Using: " );
Console::instance()->send( pythonBuild + ")\n" );
! Console::instance()->send( "SQLite Support: enabled\n" );
#if defined (MYSQL_DRIVER)
! Console::instance()->send( "MySQL Support.: enabled\n" );
#else
! Console::instance()->send( "MySQL Support.: disabled\n" );
#endif
Console::instance()->send("\n");
--- 429,437 ----
Console::instance()->send( "Compiled for Python " PY_VERSION " (Using: " );
Console::instance()->send( pythonBuild + ")\n" );
! Console::instance()->send( "Compiled with SQLite " SQLITE_VERSION "\n" );
#if defined (MYSQL_DRIVER)
! Console::instance()->send( QString("Compiled for MySQL " MYSQL_SERVER_VERSION " (Using: %1)\n").arg(mysql_get_client_info()));
#else
! Console::instance()->send( "MySQL Support: disabled\n" );
#endif
Console::instance()->send("\n");
|