Commit Graph

50 Commits

Author SHA1 Message Date
wangbin579
f89e5cc939 Fix several issues related to trans 2018-07-13 12:04:37 +08:00
wangbin579
bbe5f4e202 Fix several issues related to trans 2018-07-13 12:02:45 +08:00
jingxiaobing
b2abd4075e add option: allow-nested-subquery 2018-07-11 18:30:59 +08:00
wangbin579
2d8b011c27 Add check when assigning default db 2018-07-10 09:03:38 +08:00
wangbin579
beeca02c30 Fix change user problems 2018-07-09 16:44:27 +08:00
wangbin579
a85adde8a6 Fix seg fault revealed by tcpcopy 2018-07-09 10:53:11 +08:00
wangbin579
9694bac985 Add event for timer 2018-07-06 20:10:02 +08:00
wangbin579
a15dc6e3c8 Close client connection gracefully when maintaining 2018-07-06 18:31:48 +08:00
wangbin579
ecde9b345e Purify sharding plan when reused 2018-07-06 18:02:13 +08:00
jingxiaobing
311f2a6560 fix bug: sharding key of IN-expr 2018-07-06 11:13:08 +08:00
wangbin579
72e9565780 Fix segfault problems revealed by tcpcopy 2018-07-03 09:27:40 +08:00
wangbin579
658f963d5c Optimize create connections using event timers 2018-07-02 15:10:00 +08:00
jingxiaobing
0370e73bc6 modulo of negative number 2018-07-02 11:38:42 +08:00
wangbin579
41d8430749 Fix connection creation revealed by user and coredump problems revealed by tcpcopy 2018-06-29 12:30:54 +08:00
wangbin579
5f39b9d0e1 Fix help 2018-06-28 17:32:54 +08:00
jingxiaobing
67e86045f2 Merge branch 'shard-online', refactor admin-plugin 2018-06-21 16:22:40 +08:00
jingxiaobing
ed43510977 reject single table subquery in WHERE clause 2018-06-20 16:42:39 +08:00
jingxiaobing
f3e733c1ab Merge branch 'master' into shard-online
Conflicts:
	plugins/admin/admin-plugin.c
2018-06-04 16:57:37 +08:00
wangbin579
cac785e2e7 Fix max conn alive time problems 2018-06-01 09:06:03 +08:00
jingxiaobing
f073746e7a Merge branch 'master' into shard-online
Conflicts:
	plugins/admin/admin-plugin.c
2018-05-31 10:30:35 +08:00
wangbin579
0d47df7a39 Add option for xa commit or xa rollback read timeout setting 2018-05-30 11:38:26 +08:00
jingxiaobing
50de6a3b20 make sharding_partition_t self managable 2018-05-23 16:17:45 +08:00
wangbin579
b3501eb2c6 Fix several problems revealed by static analysis 2018-05-21 15:14:39 +08:00
jingxiaobing
5f3a73c8f1 check plugin type earlier 2018-05-21 11:36:37 +08:00
jingxiaobing
e2defcf76c Merge branch 'vdb2table' 2018-05-18 14:49:15 +08:00
wangbin579
2536c633a1 Optimize code hinted by coverity scan and cppcheck 2018-05-17 18:01:41 +08:00
wangbin579
1e68639524 Add options for client idle timeout 2018-05-16 18:56:18 +08:00
wangbin
c9e5ba13e9
Merge pull request #41 from tsthght/feature/saveconfig
1 support save settings 2 fix some bugs about show/set variables
2018-05-09 09:24:11 +08:00
tsthght
3848861646 1 support save settings 2 fix some bugs about show/set variables 2018-05-02 09:17:08 +08:00
tsthght
db11d4af10 support sharding key type int64 2018-04-25 16:42:32 +08:00
wangbin
652d862a98
Update shard-plugin.c 2018-04-17 11:50:49 +08:00
jingxiaobing
1b153b61ae use GHashTable<(schema, table), sharding_table_t*> to quick find table info
shard_conf_get_fixed_group() don't need a `db` parameter, just pick from all groups
2018-04-12 11:15:47 +08:00
jingxiaobing
f712e4ea94 vdb define sharding method for tables, not for schemas 2018-04-11 17:45:33 +08:00
wangbin579
02c2d3817b Try to add tcmalloc support 2018-04-04 15:19:12 +08:00
wangbin579
ce978e117c Add timeout for idle conn, etc 2018-03-28 17:05:12 +08:00
jingxiaobing
59cead53a1 Forbid complex aggregate function on sharded SQL, Closes #12 2018-03-26 17:10:42 +08:00
wangbin579
687e7603af Remove MySQL old password 2018-03-23 10:19:27 +08:00
wangbin
a1bf6525dd
Merge pull request #9 from lazio579/master
Change pmd(from spockproxy) to ss
2018-03-22 11:41:27 +08:00
lazio579
bbc52d87b2 Change pmd(from spockproxy) to ss 2018-03-22 11:36:38 +08:00
jingxiaobing
620c3e6ff8 use from SQL rather than default db when analyzing JOIN condition 2018-03-21 18:44:41 +08:00
jingxiaobing
da3f969485 validate config file, vdb partition count must equal to group count 2018-03-21 17:22:43 +08:00
lazio579
3524013f5e Format code by indent 2018-03-20 14:19:44 +08:00
lazio579
7dbf02c8a0 Prepare for indent 2018-03-20 11:45:13 +08:00
lazio579
cc43dc719e Remove typedef in c files 2018-03-19 15:59:07 +08:00
lazio579
a20b1080d6 Use master server when last query processing has affected rows 2018-03-16 11:58:09 +08:00
lazio579
93a5c18a29 Add GPL2 related info to files 2018-03-14 11:27:27 +08:00
lazio579
1ecdbe6393 Refactor is_read_ro_server_allowed setting 2018-03-09 11:26:42 +08:00
lazio579
dc85d2618e Fix xa transaction problems(using slave connections) 2018-03-08 17:11:23 +08:00
lazio579
e55d882e10 Fix typo 2018-03-06 18:23:34 +08:00
lazio579
0af842272e Add files to cetus project 2018-03-06 14:00:39 +08:00