From 3e2eab8a367da23d2b44041d576a4ca8827fe3cb Mon Sep 17 00:00:00 2001 From: Filip Hrisafov Date: Thu, 12 Sep 2024 09:26:48 +0200 Subject: [PATCH] Make sure that the latestChangeLogVersionOrder is properly updated --- .../engine/impl/db/EngineSqlScriptBasedDbSchemaManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/flowable-engine-common/src/main/java/org/flowable/common/engine/impl/db/EngineSqlScriptBasedDbSchemaManager.java b/modules/flowable-engine-common/src/main/java/org/flowable/common/engine/impl/db/EngineSqlScriptBasedDbSchemaManager.java index e85c4ea2469..a901834b40b 100644 --- a/modules/flowable-engine-common/src/main/java/org/flowable/common/engine/impl/db/EngineSqlScriptBasedDbSchemaManager.java +++ b/modules/flowable-engine-common/src/main/java/org/flowable/common/engine/impl/db/EngineSqlScriptBasedDbSchemaManager.java @@ -214,6 +214,7 @@ protected ChangeLogVersion getChangeLogVersion() { // It is still possible that there are multiple entries with the same DATEEXECUTED value and the order might not be correct. // e.g. MySQL 8.0 sometimes does not return the correct order. changeLogVersion = changeLogVersionId; + latestChangeLogVersionOrder = changeLogVersionOrder; } } }