Source
xxxxxxxxxx
--- a/examples/pthreads.cpp 2012-08-16 12:15:30.000000000 -0700
+++ b/examples/pthreads.cpp 2012-08-23 10:05:54.000000000 -0700
*/
#include "mysql_connection.h"
#include "mysql_driver.h"
+#include "examples.h"
#include <cppconn/driver.h>
#include <cppconn/exception.h>
#include <cppconn/resultset.h>
#include <cppconn/statement.h>
-#define EXAMPLE_HOST "localhost"
-#define EXAMPLE_USER "root"
-#define EXAMPLE_PASS ""
-#define EXAMPLE_DB "test"
-
struct st_worker_thread_param {
sql::Driver *driver;
sql::Connection *con;