Commit Graph

1206 Commits

Author SHA1 Message Date
Lunny Xiao e5e4d6078e
improve the NewEngineGroup interface 2017-10-16 12:14:52 +08:00
Lunny Xiao 7378a2f1d0
add tests support for EngineGroup & fix some bugs 2017-10-16 12:14:52 +08:00
Lunny Xiao 3c6d2d5d5a
simple code 2017-10-16 12:14:52 +08:00
Lunny Xiao 02c48ef7ca
refactor 2017-10-16 12:14:51 +08:00
Lunny Xiao b4db63b388
implement GroupPolicy of GroupPolicyHandler 2017-10-16 12:14:51 +08:00
Lunny Xiao 4de5429975
add some comments and refactor 2017-10-16 12:14:51 +08:00
Lunny Xiao f55921477c
improve range and refactor 2017-10-16 12:14:51 +08:00
Lunny Xiao fb7aec67b5
remove unused method 2017-10-16 12:14:51 +08:00
Lunny Xiao 0426351a9b
fix bug on NewEngineGroup 2017-10-16 12:14:50 +08:00
Lunny Xiao 3b19bd77f6
remove unused count variables 2017-10-16 12:14:50 +08:00
Lunny Xiao 14b6375dce
use original Engine and Session 2017-10-16 12:14:26 +08:00
WhiteBatman a2fd205d3b
modify Slave function and add LeastConnPolicy 2017-10-16 12:12:04 +08:00
WhiteBatman 2b99f137a1
modify Slave function 2017-10-16 12:12:04 +08:00
Lunny Xiao f25eb5254b
rename and bug fix for WeightRoundRobinPolicy 2017-10-16 12:12:04 +08:00
Lunny Xiao 2e5accf6f1
rename and comments 2017-10-16 12:12:03 +08:00
Lunny Xiao 5f5e7735c0
refactor Group Policy 2017-10-16 12:12:03 +08:00
WhiteBatman 196e520b4b
remove Init function from policy interface 2017-10-16 12:02:49 +08:00
WhiteBatman c618aab9e1
modify policy interface 2017-10-16 12:02:48 +08:00
WhiteBatman 3bbbd9d215
rename file name 2017-10-16 12:02:48 +08:00
WhiteBatman 0f649285e6
add engine group policy 2017-10-16 12:02:48 +08:00
WhiteBatman 40c50e573d
add NewGroup function 2017-10-16 12:02:48 +08:00
WhiteBatman eaa5b37e0b
revert code 2017-10-16 12:02:48 +08:00
WhiteBatman fb9b7b8a36
add support group engine 2017-10-16 12:02:47 +08:00
Lunny Xiao 29d4a0330a improve processors (#743) 2017-09-30 09:26:13 +08:00
Lunny Xiao 7dc8e7623c fix time tag utc (#742)
* fix time tag utc

* rename NowTime -> nowTime
2017-09-30 08:59:13 +08:00
Lunny Xiao c9690500fa add buffer Iterate support (#729) 2017-09-19 20:59:41 +08:00
Lunny Xiao 57c2ebffcb add test for unscoped delete (#728) 2017-09-19 19:24:41 +08:00
Lunny Xiao d9565718bc Add test for updated created (#727)
* add test for updated created

* more tests
2017-09-16 18:48:03 +08:00
Lunny Xiao 3101e3bc44 fix conflicts between Cols and updated (#725) 2017-09-15 09:51:15 +08:00
Lunny Xiao c29485f954 fix bugs on Get (#718) 2017-09-10 20:58:18 +08:00
Lunny Xiao 4e4538d99a fix default go test (#717) 2017-09-10 14:29:02 +08:00
Lunny Xiao e373ddb271 add time test (#716) 2017-09-10 12:24:58 +08:00
Lunny Xiao 0f250847e5 add more tests for created int64 (#715) 2017-09-10 11:55:24 +08:00
Lunny Xiao 00da75294f add more test for time default value (#714) 2017-09-10 10:51:47 +08:00
Lunny Xiao aab77ab84c refactor for value2String (#713) 2017-09-09 19:21:05 +08:00
Lunny Xiao d9eb2f5f36 Fix find bit (#712)
* fix find bit

* fix error on mysql
2017-09-09 18:56:59 +08:00
Lunny Xiao 8439b76875 fix querystring bit type (#711)
* fix querystring bit type

* fix bit type on postgres
2017-09-09 17:10:15 +08:00
Lunny Xiao 3dad119dd6 fix bug on cache specify table name (#710) 2017-09-09 13:48:14 +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 763e1b21e6 Add query interface (#695)
* add query interface

* fix tests of query interface
2017-08-27 22:09:31 +08:00
Yuki Takemoto d2ffc61745 Fix broken link in README.md (#688) 2017-08-27 21:58:05 +08:00
Lunny Xiao bb639f6700 refactor query functions (#689)
* refactor query functions

* remove unused function

* remove unnecessary resetStatement and some improvements

* rename all Id to ID
2017-08-27 15:50:43 +08:00
Lunny Xiao d7f04c3cec fix query string bug when value is nil (#692) 2017-08-26 09:38:40 +08:00
Lunny Xiao a10b5aba4b reduce sessions on Sync (#685) 2017-08-20 17:05:42 +08:00
Lunny Xiao 4e7d9706bd
add new case stduygolang 2017-08-13 21:19:20 +08:00
Lunny Xiao fce6d4a34c add more error check on Get (#680) 2017-08-07 16:51:14 +08:00
Lunny Xiao f43b29056d fix bug on new engine (#679) 2017-08-07 11:33:52 +08:00
Lunny Xiao 0fdfa8d8de fix bug on update (#676) 2017-08-05 10:46:29 +08:00
lucapette 10faec1e58 Fix typo (#672) 2017-08-02 10:39:46 +08:00
Lunny Xiao c2e915ffc1
fix typo 2017-07-31 20:26:13 +08:00