Skip to content

Commit

Permalink
Fixed setSSLSettings crashing
Browse files Browse the repository at this point in the history
  • Loading branch information
FredyH committed Nov 29, 2021
1 parent 0e95364 commit a634b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mysql/Database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ void Database::setSSLSettings(const SSLSettings &settings) {
if (m_status != DATABASE_NOT_CONNECTED) {
throw MySQLOOException("Cannot set SSL settings after connecting!");
}
settings.applySSLSettings(this->m_sql);
this->customSSLSettings = settings;
}


Expand Down

0 comments on commit a634b11

Please sign in to comment.