Commit Graph

1216 Commits

Author SHA1 Message Date
Lunny Xiao 51acb3530a
improve the NewEngineGroup interface 2017-09-28 17:30:00 +08:00
Lunny Xiao 71529c2e6f
add tests support for EngineGroup & fix some bugs 2017-09-28 10:38:52 +08:00
Lunny Xiao 7b36611d51
simple code 2017-09-26 20:41:34 +08:00
Lunny Xiao 71beaa0190
refactor 2017-09-26 20:13:49 +08:00
Lunny Xiao 2066723e71
implement GroupPolicy of GroupPolicyHandler 2017-09-26 20:05:07 +08:00
Lunny Xiao 8f73a779a8
add some comments and refactor 2017-09-26 19:58:43 +08:00
Lunny Xiao 741af4a315
improve range and refactor 2017-09-26 13:41:48 +08:00
Lunny Xiao b354379b9c
remove unused method 2017-09-26 13:25:50 +08:00
Lunny Xiao 8abcd18bbd
fix bug on NewEngineGroup 2017-09-26 13:19:33 +08:00
Lunny Xiao 0e47f0d3c7
remove unused count variables 2017-09-26 12:54:13 +08:00
Lunny Xiao 3981aa9b1a
Merge branch 'group-engine' of https://github.com/WhiteBatman/xorm into WhiteBatman/group-engine 2017-09-26 12:51:10 +08:00
Lunny Xiao e131ff6355
use original Engine and Session 2017-09-26 12:50:49 +08:00
WhiteBatman d894762619 modify Slave function and add LeastConnPolicy 2017-09-26 12:32:21 +08:00
WhiteBatman 52a84b29b7 modify Slave function 2017-09-26 12:07:49 +08:00
Lunny Xiao 3f4ec27ef7
rename and bug fix for WeightRoundRobinPolicy 2017-09-26 11:36:12 +08:00
Lunny Xiao 8353ce81e9
rename and comments 2017-09-26 11:29:41 +08:00
Lunny Xiao 42c8f7d30d
merge 2017-09-26 11:27:42 +08:00
Lunny Xiao 694a7f1d94
refactor Group Policy 2017-09-26 11:26:06 +08:00
WhiteBatman 8517e7abd1 remove Init function from policy interface 2017-09-26 11:02:24 +08:00
WhiteBatman 4d30c6865a modify policy interface 2017-09-26 10:22:13 +08:00
WhiteBatman 6bef89a47b rename file name 2017-09-26 09:59:03 +08:00
WhiteBatman 5ead594155 add engine group policy 2017-09-26 09:45:51 +08:00
WhiteBatman ab0e589093 add NewGroup function 2017-09-25 21:54:40 +08:00
WhiteBatman e60236dae9 revert code 2017-09-25 21:24:51 +08:00
WhiteBatman a21b0243bd add support group engine 2017-09-25 20:32:49 +08:00
WhiteBatman e9f95a9f8b time bug fix 2017-09-23 20:51:25 +08:00
WhiteBatman 5017cabec6 time bug fix 2017-09-23 20:50:11 +08:00
WhiteBatman 1880ee2b96 Merge branch 'master' of https://github.com/WhiteBatman/xorm
# Conflicts:
#	engine.go
#	session_insert_test.go
#	session_update_test.go
2017-09-23 20:35:56 +08:00
WhiteBatman d00b3ff15d Merge branch 'go-xorm-master' 2017-09-23 20:23:40 +08:00
WhiteBatman 355303123b Merge branch 'master' of https://github.com/go-xorm/xorm into go-xorm-master 2017-09-23 20:23:27 +08:00
WhiteBatman a764de26db revert 2017-09-23 20:16:19 +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