Skip to content

Commit

Permalink
db_mysql: proper macro to check mysql version id
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Jan 31, 2024
1 parent 94f6df5 commit 0833a72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/db_mysql/km_my_con.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ struct my_con *db_mysql_new_connection(const struct db_id *id)
break;
}
#else
#ifdef MYSQL_VERSION_ID> 50710
#if MYSQL_VERSION_ID > 50710
if(db_mysql_opt_ssl_mode != 0) {
unsigned int optuint = 0;
if(db_mysql_opt_ssl_mode == 1) {
Expand Down

0 comments on commit 0833a72

Please sign in to comment.