Skip to content

Commit a634b11

Browse files
committed
Fixed setSSLSettings crashing
1 parent 0e95364 commit a634b11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mysql/Database.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ void Database::setSSLSettings(const SSLSettings &settings) {
184184
if (m_status != DATABASE_NOT_CONNECTED) {
185185
throw MySQLOOException("Cannot set SSL settings after connecting!");
186186
}
187-
settings.applySSLSettings(this->m_sql);
187+
this->customSSLSettings = settings;
188188
}
189189

190190

0 commit comments

Comments
 (0)