Skip to content

Commit

Permalink
fix: add release save point into execute with batch (#1583)
Browse files Browse the repository at this point in the history
release auto save points in batch processing in order to avoid out of
shared memory error

fix for the issue #1582
  • Loading branch information
junixar authored and davecramer committed Oct 30, 2019
1 parent 003ea83 commit 504bb31
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -518,6 +518,9 @@ public synchronized void execute(Query[] queries, ParameterList[] parameterLists

try {
handler.handleCompletion();
if (cleanupSavePoints) {
releaseSavePoint(autosave, flags);
}
} catch (SQLException e) {
rollbackIfRequired(autosave, e);
}
Expand Down

0 comments on commit 504bb31

Please sign in to comment.