TT#108003 use bool type instead of my_bool

While MariaDB uses my_bool here, MySQL uses the standard bool type. Both
are compatible, so use the more standard one.

Change-Id: I648bc8eb55f7617f6b4eb796a33bc77ce15ca34b
mr9.3.1
Richard Fuchs 6 years ago
parent 8ab76bd052
commit a952a7c055

@ -1,3 +1,4 @@
#include <stdbool.h>
#include <mysql.h>
#include <mysql/errmsg.h>
#include <mysql/mysqld_error.h>
@ -375,7 +376,7 @@ static medmysql_handler *medmysql_handler_init(const char *name, const char *hos
const char *pass, const char *db, unsigned int port)
{
medmysql_handler *ret;
my_bool recon = 1;
bool recon = 1;
ret = malloc(sizeof(*ret));
if (!ret) {

Loading…
Cancel
Save