Commit Graph

12 Commits

Author SHA1 Message Date
Lunny Xiao e0c5a951ff
add tests for SQL with Get variable (#796) 2017-12-07 11:47:45 +08:00
Lunny Xiao 43222cbcaf add tests for json field string (#756) 2017-10-24 19:29:08 +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 fce6d4a34c add more error check on Get (#680) 2017-08-07 16:51:14 +08:00
Lunny Xiao a5a917d477 add mymysql tests (#656) 2017-07-25 17:51:20 +08:00
Lunny Xiao eb52e0e4ae add test for get slice (#619) 2017-06-15 10:12:30 +08:00
Lunny Xiao 942887dea0 fix time issues and add some tests for time (#604)
* fix time issues and add some tests for time

* fix tests bug

* fix tests

* some fixes with tests and added mssql support

* fix tests
2017-06-02 16:12:50 +08:00
Lunny Xiao 5b110f7278
add more tests 2017-05-27 20:34:57 +08:00
Lunny Xiao 1743f266cb
add some get tests 2017-05-23 12:06:22 +08:00
Lunny Xiao e9dc216344
bug fixed #565 2017-04-11 19:38:54 +08:00
Lunny Xiao 30dcce510d
go test add mysql and postgres drivers 2017-04-10 23:10:59 +08:00
Lunny Xiao 5ebae720bd
add Scan features to Get method 2017-04-01 10:09:00 +08:00