Commit Graph

4 Commits

Author SHA1 Message Date
Lunny Xiao 8002e4d98a
fix test 2025-07-27 11:20:08 -07:00
Lunny Xiao 44373dc072
Fix test 2025-07-26 15:09:44 -07:00
Lunny Xiao 46234d1090
Improve sync 2025-07-26 15:01:51 -07:00
6543 e5be0f4129 Remove dead code from session.SyncWithOptions() (#2323)
db7c264062/sync.go (L229-L231)

as oriIndex only is **not** nil if index.Equal(index2)

and index.Equal(index2) check if `oriIndex.Type == index.Type` ... so it always is false

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-on: https://gitea.com/xorm/xorm/pulls/2323
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-committed-by: 6543 <6543@obermui.de>
2023-09-16 14:41:02 +00:00