mirror of https://github.com/Icinga/icinga2.git
account for adjusted interface of mysql8 (now utilizes c99 bools instead of my_bool labelled chars)
This commit is contained in:
parent
02db12ae02
commit
615f019c2e
|
@ -92,7 +92,7 @@ struct MysqlInterfaceImpl final : public MysqlInterface
|
|||
return mysql_real_escape_string(mysql, to, from, length);
|
||||
}
|
||||
|
||||
my_bool ssl_set(MYSQL *mysql, const char *key, const char *cert, const char *ca, const char *capath, const char *cipher) const override
|
||||
bool ssl_set(MYSQL *mysql, const char *key, const char *cert, const char *ca, const char *capath, const char *cipher) const override
|
||||
{
|
||||
return mysql_ssl_set(mysql, key, cert, ca, capath, cipher);
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ struct MysqlInterface
|
|||
virtual MYSQL *real_connect(MYSQL *mysql, const char *host, const char *user, const char *passwd,
|
||||
const char *db, unsigned int port, const char *unix_socket, unsigned long clientflag) const = 0;
|
||||
virtual unsigned long real_escape_string(MYSQL *mysql, char *to, const char *from, unsigned long length) const = 0;
|
||||
virtual my_bool ssl_set(MYSQL *mysql, const char *key, const char *cert, const char *ca, const char *capath, const char *cipher) const = 0;
|
||||
virtual bool ssl_set(MYSQL *mysql, const char *key, const char *cert, const char *ca, const char *capath, const char *cipher) const = 0;
|
||||
virtual MYSQL_RES *store_result(MYSQL *mysql) const = 0;
|
||||
virtual unsigned int thread_safe() const = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue