Commit Graph

8026 Commits

Author SHA1 Message Date
2399126166 expression: rewrite builtin function: CRC32 (#4215) 2017-08-17 18:43:55 +08:00
16f424dd8e Close PD client in tikv store and raw kv. (#4209) 2017-08-17 14:12:18 +08:00
a264f81acc executor: notify fetch goroutines to exit when IndexLookUpExecutor close (#4201) 2017-08-17 13:50:01 +08:00
e5ea06dec8 executor, plan: union scan reuse pk when it's handle. (#4185) 2017-08-17 13:07:51 +08:00
90b98f7870 expression: rewrite builtin function: CASE (#4160) 2017-08-17 11:48:54 +08:00
fe245eb820 store/tikv: make gc worker test more stable (#4204) 2017-08-17 11:18:04 +08:00
365e4ab491 conn: Send auth plugin name (#4177) 2017-08-16 21:24:00 +08:00
4cc39c3258 server: disable mysql.ClientMultiStatements capability (#4143)
Disable it because this feature is rarely used and have potential bug for TiDB
2017-08-16 19:19:35 +08:00
7ddb6e2bad expression, plan: restore WrapCastAsReal and WrapCastAsDecimal when arg is ClassInt (#4202) 2017-08-16 19:01:49 +08:00
fa1bc4559f expression: rewrite builtin function: TIME (#4192) 2017-08-16 16:09:59 +08:00
44a7e900cd *: set default length for some types (#4200) 2017-08-16 15:56:34 +08:00
fd6af5c32a domain: fix data race in stats handle (#4195) 2017-08-16 15:23:59 +08:00
aa5b0158f0 tikv: Add Close() method to RawKVClient. (#4194) 2017-08-16 15:16:24 +08:00
93b7aa285a expression: rewrite builtin function: HOUR, MINUTE, SECOND, MICROSECOND (#4183) 2017-08-16 13:36:07 +08:00
e31a7405e4 expression: rewrite builtin function: ANY_VALUE (#4178) 2017-08-16 13:03:56 +08:00
94c5420a86 expression: rewrite builtin function: TRUNCATE (#4179) 2017-08-16 12:53:10 +08:00
5f70f63a52 util: add JSON in fieldTypeMergeRules (#4189) 2017-08-16 11:43:57 +08:00
16a5f74ad7 expression: rewrite builtin function: TIME_FORMAT (#4051) 2017-08-16 11:12:05 +08:00
276defa164 expression: rewrite builtin function RAND, POW, SIGN, SQRT (#4182) 2017-08-16 00:07:22 +08:00
1dc7bbe28b *: use FieldType.Decimal to control the decimal length of double values to be shown in client (#4191) 2017-08-15 23:39:59 +08:00
a454c57f54 fix return type error of ceil/floor function (#4181) 2017-08-15 21:42:18 +08:00
f91d9dd14c store/tikv: make test stable (#4187) 2017-08-15 18:06:54 +08:00
6733b6f75b expression: rewrite builtin function: NULLIF (#4170)
* rewrite nullif() to if()
2017-08-15 17:19:39 +08:00
3eb558eec3 expression: remove useless code (#4186) 2017-08-15 16:24:27 +08:00
fa920deb33 expression: rewrite builtin function: TIMESTAMPADD (#4169) 2017-08-15 15:31:02 +08:00
e41d2cf6ae expression: rewrite builtin function: IS_IPV4, IS_IPV6, IS_IPV4_COMPAT, IS_IPV4_MAPP (#4144) 2017-08-15 15:01:37 +08:00
8639a47e7d *: start GCWorker after bootstrap finish. (#4167)
GCWorker should not be start when newTikvStore, because
the system maybe not bootstrap yet. Move the logic to
BootstrapSession.
2017-08-15 14:36:56 +08:00
b23901b187 *: rewrite function IN to DNF (#4174) 2017-08-15 14:28:43 +08:00
7e1836aa12 expression: rewrite builtin function: RADIANS (#4155) 2017-08-15 13:51:47 +08:00
97282565fb expression: rewrite builtin function: OCT (#4154) 2017-08-15 13:41:51 +08:00
b6c65888ba expression: rewrite builtin function: INET_ATON, INET_NTOA, INET6_ATON, INET6_NTOA (#4130)
* rewrite builtin ip functions
2017-08-15 12:39:01 +08:00
65f94b7565 ddl: Update the max interval of checking job (#4175) 2017-08-15 11:47:59 +08:00
643570ecfd store/tikv: handle Canceled error code by grpc remote. (#4133)
It's observed that killing tikv when running sysbench, we may get a codes.Canceled error, that
error is from grpc remote and we didn't handle it properly.

Distinguish the error cause of cancel:
1. the request should not retry if cancelled by ourself
2. the request need retry when cancelled by remote
2017-08-15 11:12:40 +08:00
d49781020f expression: rewrite builtin function: TO_SECONDS (#4164) 2017-08-15 08:23:37 +08:00
16bb0ec41a expression: rewrite builtin function: TO_DAYS (#4161) 2017-08-15 00:52:53 +08:00
a00dc40eae update vendor (#4173) 2017-08-14 18:41:02 +08:00
0d945aa425 *: Add git branch name in tidb_version and starting log (#4168) 2017-08-14 17:15:47 +08:00
a88ebb1cf6 *: use structure to store user identity (#4078)
*: use structure to store user identity
2017-08-14 03:37:36 -05:00
5cfc93486b add multi-column index key part limit (#4159) 2017-08-14 14:05:16 +08:00
d5b860b126 expression: throw unsupported error during type infer stage (#4156) 2017-08-14 11:33:04 +08:00
91a463670a expression: rewrite builtin function: ELT (#4124) 2017-08-12 10:24:20 +08:00
d298828aec *: update vendor (#4150) 2017-08-11 21:24:50 +08:00
ed107542cf ddl: rename the interface (#4153) 2017-08-11 20:45:31 +08:00
8b83c704b9 store/tikv: support minus and mul push down. (#4151) 2017-08-11 19:53:37 +08:00
56cb978587 expression, plan: rewrite builtin function: IF (#4137) 2017-08-11 19:43:06 +08:00
8584959c32 expression: remove builtin function: UNARYPLUS (#4152) 2017-08-11 19:35:52 +08:00
5044ad053e types/mydecimal_test: add tests for round with different round_mode (#4139) 2017-08-11 19:22:55 +08:00
eaf22638b5 expression: rewrite builtin function RANDOM_BYTES (#4148) 2017-08-11 18:27:10 +08:00
ac6ca95263 expression: rewrite builtin function: ROUND, ABS (#4146) 2017-08-11 17:17:30 +08:00
6f2b1a2b07 expression, util: refine aggregation func avg (#4145) 2017-08-11 17:10:01 +08:00