Support get dataSourceName on ContextHook for monitor which DB executed SQL #1740
No reviewers
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xorm/xorm#1740
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Thomas_An/thomasan_xorm:master"
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?
WIP: support get dataSourceName on ContextHook forto WIP: support get dataSourceName on ContextHook for monitor which DB executed SQLWIP: support get dataSourceName on ContextHook for monitor which DB executed SQLto Support get dataSourceName on ContextHook for monitor which DB executed SQL@lunny Can help merge the code into the master?
Could you add some tests for this PR?
@lunny test code has been submitted,please help review
@Thomas_An Thanks! How will you want to use this feature?
@lunny Hope to be online before the 24th of this month
@Thomas_An I mean could you give some example codes about how will you use the new feature?
@lunny example:
do you have a better solution?
Maybe just put the session directly?
The session id should be kept both to keep compitable as before.
Thanks!