Lines 759-764
Link Here
|
759 |
char *endp; |
759 |
char *endp; |
760 |
int j; |
760 |
int j; |
761 |
unsigned int flags = 0; |
761 |
unsigned int flags = 0; |
|
|
762 |
#if MYSQL_VERSION_ID >= 80000 |
763 |
typedef bool my_bool; // Workaround to make library work with MySQL client 8.0 as well as earlier versions |
764 |
#endif |
762 |
#if MYSQL_VERSION_ID >= 50000 |
765 |
#if MYSQL_VERSION_ID >= 50000 |
763 |
my_bool auto_reconnect = 1; |
766 |
my_bool auto_reconnect = 1; |
764 |
#endif /* if MYSQL_VERSION_ID >= 50000 */ |
767 |
#endif /* if MYSQL_VERSION_ID >= 50000 */ |