Make 'gb.db.mysql' compile with MySQL version < 8.0.0.
[GB.DB.MYSQL] * BUG: Make 'gb.db.mysql' compile with MySQL version < 8.0.0.
This commit is contained in:
parent
9613341c41
commit
1e7d80c8a1
1 changed files with 1 additions and 1 deletions
|
@ -766,7 +766,7 @@ static int open_database(DB_DESC *desc, DB_DATABASE *db)
|
|||
timeout = db->timeout;
|
||||
mysql_options(conn, MYSQL_OPT_CONNECT_TIMEOUT, &timeout);
|
||||
|
||||
#if MYSQL_VERSION_ID >= 50711
|
||||
#if MYSQL_VERSION_ID >= 80000
|
||||
env = getenv("GB_DB_MYSQL_NOSSL");
|
||||
if (env && strcmp(env, "0"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue