File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 11#include " InfoLoggerDispatch.h"
22#include < mysql.h>
3+ #include < mysql_version.h>
34#include " utility.h"
45#include " infoLoggerMessage.h"
56#include < unistd.h>
67#include < string.h>
78
9+ #if LIBMYSQL_VERSION_ID >= 80000
10+ typedef bool my_bool;
11+ #endif
812
913// some constants
1014#define SQL_RETRY_CONNECT 1 // base retry time, will be sleeping up to 10x this value
Original file line number Diff line number Diff line change 2121#include <unistd.h>
2222
2323#include <mysql.h>
24+ #include <mysql_version.h>
2425#include <sys/time.h>
2526
2627#define SQL_RETRY_CONNECT 10 /* base retry time, will be sleeping up to 10x this value */
2728
2829#include "infoLoggerMessage.h"
2930#include "infoLoggerConfig.h"
3031
32+ #if LIBMYSQL_VERSION_ID >= 80000
33+ typedef bool my_bool ;
34+ #endif
35+
3136extern void infoLog_msg_destroy (infoLog_msg_t * m );
3237extern t_infoLoggerConfig cfg ; /* infoLoggerServer configuration */
3338
You can’t perform that action at this time.
0 commit comments