memtx: simplify and refactor memtx_tx_history_prepare_stmt
Almost completely rewrite, simplify and comment this part of code. Part of #8648 Part of #8654 NO_DOC=refactoring NO_TEST=refactoring NO_CHANGELOG=refactoring
Almost completely rewrite, simplify and comment this part of code. Part of #8648 Part of #8654 NO_DOC=refactoring NO_TEST=refactoring NO_CHANGELOG=refactoring
mentioned in commit 99f36d1d
mentioned in commit 980b414d
mentioned in commit e54ffcf2