Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,9 @@ public void executeQuery(MysqlCommand mysqlCommand, String originStmt) throws Ex
boolean usingOrigSingleStmt = origSingleStmtList != null && origSingleStmtList.size() == stmts.size();
for (int i = 0; i < stmts.size(); ++i) {
String auditStmt = usingOrigSingleStmt ? origSingleStmtList.get(i) : convertedStmt;
if (stmts.size() > 1 && usingOrigSingleStmt) {
ctx.setSqlHash(DigestUtils.md5Hex(auditStmt));
}
try {
ctx.getState().reset();
if (i > 0) {
Expand Down