Commit Graph

15 Commits

Author SHA1 Message Date
Lunny Xiao b13bff4d7c
Move core internal 2023-10-28 00:01:10 +08:00
Lunny Xiao a2d3669edf Add README and fix some lints (#2079)
as title.

Reviewed-on: https://gitea.com/xorm/xorm/pulls/2079
2021-12-14 09:00:35 +08:00
Lunny Xiao 4bfe6853f5 Fix some comments lint and bug (#1888)
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1888
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-04-10 10:57:36 +08:00
Andrew Thornton 2142e31d95 Fix formatting (#1886)
Fix newline formatting

Signed-off-by: Andrew Thornton <art27@cantab.net>

Reviewed-on: https://gitea.com/xorm/xorm/pulls/1886
Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-committed-by: Andrew Thornton <art27@cantab.net>
2021-04-08 20:51:48 +08:00
whybangbang ffac8e3577 session add method IsInTx (#1863)
Co-authored-by: whybangbang <525484036@qq.com>
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1863
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: whybangbang <whybangbang@noreply.gitea.io>
Co-committed-by: whybangbang <whybangbang@noreply.gitea.io>
2021-02-03 23:27:07 +08:00
w3xse7en f39a4cb41c solve duplicate log in commit and rollback (#1750)
solve duplicate log in commit and rollback

Co-authored-by: Lyi <zhanghong@zuodashi.com>
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1750
Reviewed-by: helong zhang <outman99@hotmail.com>
2020-07-30 09:05:59 +00:00
Lunny Xiao f51d28304a Move some codes to statement sub package (#1574)
revert change for delete

refactor new engine

fix tests

Move some codes to statement sub package

Reviewed-on: https://gitea.com/xorm/xorm/pulls/1574
2020-03-06 06:43:49 +00:00
Lunny Xiao 4e59597a49 Fix break session sql enable feature (#1566)
Fix break session sql enable feature

Reviewed-on: https://gitea.com/xorm/xorm/pulls/1566
2020-03-01 03:05:26 +00:00
Lunny Xiao 41388c2f56 Use a new ContextLogger interface to implement logger (#1557)
Fix bug

Add log track on prepare & tx

Some improvements

remove unused codes

refactor logger

Fix bug

log context

add ContextLogger interface

Reviewed-on: https://gitea.com/xorm/xorm/pulls/1557
2020-02-29 08:59:59 +00:00
Lunny Xiao 5750e3f90a
Add context support (#1193)
* add context support

* improve pingcontext tests
2019-01-20 11:01:14 +08:00
Lunny Xiao ee5b31ecae
add support for mulitple transactions on one session (#1015) 2018-06-20 17:14:43 +08:00
Lunny Xiao f1aebd5729 hide all undocument variables on session (#660) 2017-07-27 13:32:35 +08:00
Lunny Xiao 1aa1846afb Revert "support reuse session to transaction (#650)" (#651)
This reverts commit c412be2365.
2017-07-23 09:52:08 +08:00
Lunny Xiao c412be2365 support reuse session to transaction (#650) 2017-07-23 09:15:44 +08:00
Lunny Xiao 44b70cccf4
add Find ints support & split session into multiple files 2017-01-03 13:31:47 +08:00