engine里加一个xorm version吧 #2204
Labels
No Label
backport/done
backport/v1
blocked
db
oracle
db
sqlserver
duplicate
feature
cache
frontport/done
frontport/main
invalid
kind
breaking
kind
bug
kind
build
kind
dependencies
kind
docs
kind
driver
kind
enhancement
kind
feature
kind
performance
kind
proposal
kind
question
kind
refactor
kind
testing
need
feedback
need
test
proposal:accepted
RaspBerry Pi
regression
skip-changelog
upstream
wip
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xorm/xorm#2204
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
由于多个模块多个工程的原因,有时程序都不知道到底使用的是哪个版本的engine,有些兼容性并不好的逻辑需要判断下版本号。
建议增加一个EngineVersion()函数,每次发版本时更新下即可。
ps:个人建议使用0x11223344 为版本号值,如1.3.3则为0x01030300。简化版本比较的算法问题(即1.10.1应当大于1.3.1这个问题)