Commit Graph

50 Commits

Author SHA1 Message Date
lazio579
3fa5bc437e Modify sql when partitioned 2019-01-14 19:20:28 +08:00
lazio579
aa8c925921 Use group index for sql rewrite 2019-01-14 11:48:24 +08:00
lazio579
c16fc032ad Fix regression errors 2019-01-11 18:15:00 +08:00
lazio579
5300d0a215 Don't modify table name for sharding 2019-01-11 17:55:15 +08:00
lazio579
ff30bbd672 Do duplicate groups when partitioning 2019-01-11 17:41:11 +08:00
lazio579
1ce1ef1e76 Add group name to tables 2019-01-11 17:12:27 +08:00
lazio579
565b2db77a Modify update, insert, delete 2019-01-11 14:36:22 +08:00
lazio579
d9de9e4971 Add some code for sql rewrite 2019-01-10 16:38:16 +08:00
lazio579
95158ba1b0 Add group to sql_src_item 2019-01-08 09:15:41 +08:00
lazio579
69b2dc0c87 Merge branch 'master' into subtable 2019-01-07 14:35:32 +08:00
lazio579
0902c0fbb0 Reject sub query aggregate functions 2019-01-07 14:09:43 +08:00
lazio579
f074722a09 Just a try 2019-01-07 10:35:58 +08:00
lazio579
69eca5123d Fix join problems when one vdb contains two dbs 2018-12-29 11:09:23 +08:00
lazio579
43b68dbd86 Don't supplement order by when MySQL version < 8 2018-12-26 11:12:58 +08:00
lazio579
388e231b3b Merge remote-tracking branch 'origin/parser/index_hint' 2018-12-13 15:18:20 +08:00
lazio579
e9eadc2f80 Fix problems related to drop dababase 2018-12-13 10:39:55 +08:00
tsthght
c529eb3cd7 fix problem about index hint 2018-12-10 15:57:58 +08:00
lazio579
098b41157e Fix explain modification problems 2018-12-07 17:40:43 +08:00
lazio579
6b2cbc97be Optimize order by rewrite 2018-12-06 11:00:27 +08:00
lazio579
9f7a584aae Fix order by rewrite problems when meeting case when 2018-12-06 09:24:34 +08:00
lazio579
7f74bc2cd9 Fix regression errors 2018-11-28 16:14:01 +08:00
lazio579
791dc999ca Fix issue 162 2018-11-28 16:04:50 +08:00
lazio579
2af13cc9de Fix resp related problems when server prematurely closed connections 2018-11-21 14:56:47 +08:00
tsthght
59e22af305 fix bug in range scenario when using between 2018-11-09 09:25:01 +08:00
lazio579
a3777814f2 set errno zero before calling g_ascii_strtoll 2018-11-07 10:34:35 +08:00
lazio579
5b78650e9b Support 64 integer for sharding 2018-11-07 09:15:04 +08:00
lazio579
7ef8d4527f Support multiple-cols for group by and order by 2018-10-12 17:52:40 +08:00
lazio579
5a0c6644a1 Only support HAVING condition without limit 2018-10-12 11:49:38 +08:00
lazio579
ceba8e4e53 Fix sql modification related problems 2018-10-12 11:03:34 +08:00
jingxiaobing
4903929611 Any aggregate function column can be HAVING condition 2018-09-17 18:10:33 +08:00
wangbin579
ded6e6c8e4 Merge code for kill query 2018-08-20 16:08:09 +08:00
jingxiaobing
fff439299c session id 2018-08-20 14:45:46 +08:00
wangbin579
0183498c1e Fix dup xa id problems when multi-processed 2018-08-15 14:33:23 +08:00
jingxiaobing
f158e87159 fix bug: HAVING field check 2018-08-10 15:42:59 +08:00
jingxiaobing
311f2a6560 fix bug: sharding key of IN-expr 2018-07-06 11:13:08 +08:00
jingxiaobing
0370e73bc6 modulo of negative number 2018-07-02 11:38:42 +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
50de6a3b20 make sharding_partition_t self managable 2018-05-23 16:17:45 +08:00
jingxiaobing
e2defcf76c Merge branch 'vdb2table' 2018-05-18 14:49:15 +08:00
tsthght
db11d4af10 support sharding key type int64 2018-04-25 16:42:32 +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
jingxiaobing
59cead53a1 Forbid complex aggregate function on sharded SQL, Closes #12 2018-03-26 17:10:42 +08:00
jingxiaobing
620c3e6ff8 use from SQL rather than default db when analyzing JOIN condition 2018-03-21 18:44:41 +08:00
lazio579
3524013f5e Format code by indent 2018-03-20 14:19:44 +08:00
lazio579
cc43dc719e Remove typedef in c files 2018-03-19 15:59:07 +08:00
lazio579
93a5c18a29 Add GPL2 related info to files 2018-03-14 11:27:27 +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