You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### What problem were solved in this pull request?
Issue Number: close#314
mvcc模式下无法正确删除当前事务插入的记录
### What is changed and how it works?
在trx.delete_record添加特判,如果是删除当前事务插入的记录,就直接调用delete_record,并且也不添加到operation_里面,同时清除operation里面的相关insert_operation,这样可以保证事务内、提交后、回滚后、都能正确执行,并且不影响垃圾回收
Describe the bug
mvcc模式下无法正确删除当前事务插入的记录
在trx.delete_record添加特判,如果是删除当前事务插入的记录,就直接调用delete_record,并且也不添加到operation_里面,同时清除operation里面的相关insert_operation,这样可以保证事务内、提交后、回滚后、都能正确执行,并且不影响垃圾回收
The text was updated successfully, but these errors were encountered: