Make 'gb.db.mysql' compile with MySQL version < 5.7.11.
[GB.DB.MYSQL] * BUG: Make 'gb.db.mysql' compile with MySQL version < 5.7.11.
This commit is contained in:
parent
bb87e1885b
commit
9613341c41
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 >= 50636
|
||||
#if MYSQL_VERSION_ID >= 50711
|
||||
env = getenv("GB_DB_MYSQL_NOSSL");
|
||||
if (env && strcmp(env, "0"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue