Skip to content

Commit

Permalink
Return false on deprecated set secure auth
Browse files Browse the repository at this point in the history
  • Loading branch information
sodabrew committed Nov 11, 2017
1 parent ac34e68 commit f5709fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/mysql2/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1317,6 +1317,8 @@ static VALUE set_secure_auth(VALUE self, VALUE value) {
/* This option was deprecated in MySQL 5.x and removed in MySQL 8.0 */
#if defined(MYSQL_SECURE_AUTH)
return _mysql_client_options(self, MYSQL_SECURE_AUTH, value);
#else
return Qfalse;
#endif
}

Expand Down

0 comments on commit f5709fd

Please sign in to comment.