Commit Graph

16 Commits

Author SHA1 Message Date
Lunny Xiao b7b2b21a40 Fix dump/import bug (#1603)
Fix bug

Fix mssql

Fix postgres

Fix import test

Fix dump/import bug

Reviewed-on: https://gitea.com/xorm/xorm/pulls/1603
2020-03-15 02:02:37 +00:00
Lunny Xiao 7278e2ab71 Improve tests (#1572)
fix test

Improve tests

Reviewed-on: https://gitea.com/xorm/xorm/pulls/1572
2020-03-04 03:30:21 +00:00
Lunny Xiao bf25a77bca Merge core package back into the main repository and split into serval sub packages. (#1543)
Fix test

Improve fmt

update go.mod

Move core as a sub package

Reviewed-on: https://gitea.com/xorm/xorm/pulls/1543
2020-02-24 08:53:18 +00:00
Lunny Xiao a63a26eb20 Improve ci tests (#1477) 2019-11-13 05:54:10 +00:00
Lunny Xiao 6a47ef9b49
Don't warn when bool column default is 1 but not true (#1447)
* don't warn when bool column default is 1 but not true

* fix default case sensitive
2019-10-02 15:04:49 +08:00
Lunny Xiao 48579958d5
Fix sync2 with custom table name (#1445)
* fix sync2 with custom table name

* fix bug on postgres

* fix bug on postgres
2019-10-02 12:37:53 +08:00
Lunny Xiao 12e0367559
add more tests for Sync2 (#925) 2018-05-04 10:51:34 +08:00
Lunny Xiao a491afac18
fix tablename bug when sync2 (#921) 2018-05-02 16:46:39 +08:00
Lunny Xiao b462eded54
fix sync bug (#857) 2018-03-05 18:01:47 +08:00
Lunny Xiao 3480244cd2
add test for unique 2017-12-20 16:08:10 +08:00
Lunny Xiao 26d40bc248
add test for Sync2 2017-12-11 13:49:42 +08:00
Lunny Xiao 109cb1a7d0 Add support Engine Group (#748)
* add support group engine

* revert code

* add NewGroup function

* add engine group policy

* rename file name

* modify policy interface

* remove Init function from policy interface

* refactor Group Policy

* rename and comments

* rename and bug fix for WeightRoundRobinPolicy

* modify Slave function

* modify Slave function and add LeastConnPolicy

* use original Engine and Session

* remove unused count variables

* fix bug on NewEngineGroup

* remove unused method

* improve range and refactor

* add some comments and refactor

* implement GroupPolicy of GroupPolicyHandler

* refactor

* simple code

* add tests support for EngineGroup & fix some bugs

* improve the NewEngineGroup interface

* change the default policy of engine group

* fix some tests
2017-10-16 15:28:13 +08:00
Lunny Xiao 265dd66928 fix bug on cache delete (#703)
* fix bug on cache delete

* fix cache issues and improve the tests
2017-09-09 11:03:34 +08:00
Lunny Xiao 36a9cdaa23 add more tests (#602) 2017-05-31 17:19:41 +08:00
Lunny Xiao e561396c0b
add more tests for schema 2017-05-27 22:14:13 +08:00
Lunny Xiao 643f1b2efd
add some tests for schema operations 2017-05-27 21:47:35 +08:00