Skip to content

Commit

Permalink
Merge pull request #415 from Gaius-Augustus/mysql_warning
Browse files Browse the repository at this point in the history
fixed MySQL deprecation warning
  • Loading branch information
MarioStanke authored Jun 12, 2024
2 parents 26c7052 + d074d95 commit 955ce17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/randseqaccess.cc
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ void MysqlAccess::connect_db(ostream& out){
try {
out << "# Opening database connection using connection data \"" << Constant::dbaccess << "\"...\t";
con.connect(db_name,host,user,passwd);
con.set_option(new mysqlpp::ReconnectOption(true));
// removed deprecated con.set_option(new mysqlpp::ReconnectOption(true));
out << "DB connection OK." << endl;
}
catch(const mysqlpp::BadQuery& er){
Expand Down

0 comments on commit 955ce17

Please sign in to comment.