Author: wyoung
Date: Sun Apr 13 20:57:12 2008
New Revision: 2275
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2275&view=rev
Log:
Fixed examples/cpool.cpp for building without thread support
Modified:
trunk/ChangeLog
trunk/examples/cpool.cpp
Modified: trunk/ChangeLog
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/ChangeLog?rev=2275&r1=2274&r2=2275&view=diff
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Sun Apr 13 20:57:12 2008
@@ -1,4 +1,4 @@
-3.0.2, 2008.04.11 (r2272)
+3.0.2, 2008.04.13 (r2275)
o Increased float to string conversion precision from 7 to 9 and
double from 16 to 17 digits. Previous values weren't enough
Modified: trunk/examples/cpool.cpp
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/examples/cpool.cpp?rev=2275&r1=2274&r2=2275&view=diff
==============================================================================
--- trunk/examples/cpool.cpp (original)
+++ trunk/examples/cpool.cpp Sun Apr 13 20:57:12 2008
@@ -33,6 +33,7 @@
using namespace std;
+#if defined(HAVE_THREADS)
// Define a concrete ConnectionPool derivative. Takes connection
// parameters as inputs to its ctor, which it uses to create the
// connections we're called upon to make. Note that we also declare
@@ -124,7 +125,6 @@
SimpleConnectionPool* poolptr = 0;
-#if defined(HAVE_THREADS)
static thread_return_t CALLBACK_SPECIFIER
worker_thread(thread_arg_t running_flag)
{
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits