Skip to content

Commit

Permalink
drivers mysql added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Jul 26, 2024
1 parent eba4977 commit 66e0404
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mysql/src/orm/drivers/mysql/mysqlresult.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ bool MySqlResult::exec()
"to the SqlQuery::exec(QString) for normal statements, for '%1' MySQL "
"database connection in %2()."_s.arg(d->connectionName, __tiny_func__));

// Don't remove as the same already prepared query can be also re-executed!
d->recordCache.clear();

/* Prepared queries don't use metadata the same way as normal queries,
Expand Down

0 comments on commit 66e0404

Please sign in to comment.