forked from percona/pg_tde
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix update duplication after crashfix
Issue: with the fix in percona#67, pgtde decrypts tuples during update into a new memory region, and changes the t_data pointer to this new region. Because of this, later updates to tuple flags also happen in the new data, and the original persisted tuple flags are never updated. Fix: after the update statement is done with the decrypted data, restore the t_data pointer to the original. This way, flag changes happen where they should. Fixes percona#68
- Loading branch information
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters