Support get dataSourceName on ContextHook for monitor which DB executed SQL
#1740
Merged
lunny
merged 9 commits from Thomas_An/thomasan_xorm:master
into master
3 years ago
Loading…
Reference in New Issue
There is no content yet.
Delete Branch 'Thomas_An/thomasan_xorm:master'
Deleting a branch is permanent. It CANNOT be undone. Continue?
WIP: support get dataSourceName on ContextHook forto WIP: support get dataSourceName on ContextHook for monitor which DB executed SQL 3 years agoWIP: support get dataSourceName on ContextHook for monitor which DB executed SQLto Support get dataSourceName on ContextHook for monitor which DB executed SQL 3 years ago@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.
0fae64bb3b
into master 3 years agoThanks!
0fae64bb3b
.