在Insert处理和Update处理时,获取Created和Updated时间的逻辑对Oracle数据库的处理不统一 #2205
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#2205
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?
你好!
在Insert处理和Update处理时,获取Created和Updated时间的逻辑对Oracle数据库的处理不统一。
session_update.go中,从219行开始,有一段对Oracle数据库判断逻辑。
session_update.go中,没有上面逻辑。
导致的问题是,第1次Insert时,获取Created和Updated时间是没有毫秒的。
然后在每次更新时,获取Updated时间包括了毫秒。
希望统一一下。
更正一下,
(错误)session_update.go中,没有上面逻辑。
(正确)session_insert.go中,没有上面逻辑。