Commit Graph

8026 Commits

Author SHA1 Message Date
443c103f4f cancel the context to avoid memory leaks (#9121) 2019-01-18 22:47:02 +08:00
54b6de0880 planner: improve error messages for mysql compat (#9112)
SHOW CREATE TABLE
CREATE USER
DROP USER
2019-01-18 20:58:46 +08:00
ed5fae7aad *: add release note 3.0.0-beta to CHANGLOG.md (#9117) 2019-01-18 18:44:26 +08:00
0fdc526b42 planner: support window function frame clause (#9004) 2019-01-18 16:46:54 +08:00
5f8265a8f9 server: adjust the result of curl * (#9104) 2019-01-17 20:13:24 +08:00
572ad80e23 planner: set correct mysql error code (#9095) 2019-01-17 15:01:03 +08:00
0e098d538e executor: introduce projInjector for postOptimize (#9097) 2019-01-17 13:46:56 +08:00
b339c02831 planner,expression: use constraint propagation in partition pruning (#8885) 2019-01-17 11:09:41 +08:00
59c7b69187 ddl: disallow alter table on view (#8890) 2019-01-17 00:57:21 +08:00
f522de2e8f ddl: support "or replace" option when create view (#8856) 2019-01-16 19:54:22 +08:00
47ea05d017 executor,planner: adjust the result of 'admin show ddl' (#9020) 2019-01-16 18:02:55 +08:00
083b818bf4 ddl: fix NO_ZERO_DATE handled incorrectly (#8765) 2019-01-16 17:47:53 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
365264cd21 ddl: add restore deleted table (#7937) 2019-01-16 15:37:33 +08:00
cf456f07d3 store/tikv/scan: Cut the scan range by region before sending request to TiKV (#9070)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2019-01-16 10:46:40 +08:00
33b4c3e3c8 executor: fix csv parser (#9005) 2019-01-15 22:46:23 +08:00
cb43fc9516 domain: fix stats worker cannot recover from panic (#9072) 2019-01-15 20:22:58 +08:00
c2d349ccc0 ddl: fix changes the table charset error (#9065) 2019-01-15 15:57:31 +08:00
3835bef7ae executor: support window func for aggregate without frame clause (#8899) 2019-01-15 15:23:17 +08:00
f18e034de9 store/tikv: Support RawReverseScan (#8352)
Signed-off-by: kamijin_fanta <kamijin@live.jp>
2019-01-15 14:57:04 +08:00
dca815c1c5 expression: return error when doing ResolveIndices (#8929) 2019-01-15 14:34:06 +08:00
e6a0eb9246 executor: support "show create table" for View (#8865) 2019-01-15 13:31:22 +08:00
41838ceb28 x-server: remove the X Server (#9038) 2019-01-15 10:59:41 +08:00
463d44c2bc executor: reset hasMatch flag for each outer row in merge join (#9046) 2019-01-14 21:29:31 +08:00
3c98f69266 *: support select partition for partition table (#8990) 2019-01-14 20:55:52 +08:00
82d2726300 planner, statistics: build new histogram using range information (#7921) 2019-01-14 20:33:36 +08:00
15b29dd71a executor: add column character sets when show create table (#8866) 2019-01-14 19:59:47 +08:00
d298902371 tikvclient: use global config instead write them again (#9040) 2019-01-14 19:46:27 +08:00
f20c849857 types: support sql_mode ALLOW_INVALID_DATES (#9027) 2019-01-14 19:34:22 +08:00
89532cd9dd *: update errcheck (#9048) 2019-01-14 19:17:23 +08:00
4a901db388 plan/executor: handle optimizer hint properly for cartesian join (#9037) 2019-01-14 18:00:32 +08:00
44fd7d4670 ddl: modify different character sets varchar type column maximum length limit (#8818) 2019-01-14 17:39:50 +08:00
53707ce43b *: tiny update CONTRIBUTING.md (#8814) 2019-01-14 17:19:07 +08:00
4b98ad6f29 *: integrate plugin framework with TiDB (#9006) 2019-01-14 16:53:41 +08:00
9f346a3add planner, executor: return err when INSERT/UPDATE/ANALYZE/DELETE a view (#8848) 2019-01-14 15:47:48 +08:00
00c4ff4fa9 *: refactor Executor.Next() to receive RecordBatch (#8994) 2019-01-14 15:04:36 +08:00
319656c407 tikvclient: support to batch grpc message to TiKVs (#8986) 2019-01-14 13:59:15 +08:00
e1381b41e8 plugin: introduce plugin framework (#8788) 2019-01-14 10:08:50 +08:00
8ac79f3f6e executor: improve trace format='row' (#9029) 2019-01-13 16:34:58 +08:00
1d00f7512f cmd: add plugin package tool (#9007) 2019-01-13 09:18:17 +08:00
4b71d19735 docs/design: add proposal for plugin framework (#8802) 2019-01-13 09:06:17 +08:00
504b10c27c server: try graceful close connection first (#8711) 2019-01-11 18:44:53 +08:00
73655f64a1 session: skip the SQL execution if transaction is aborted and reset aborted status in retry (#8942) 2019-01-11 15:26:51 +08:00
30e8c8db40 expression:add support for JSON_MERGE_PRESERVE (#8931) 2019-01-11 15:03:57 +08:00
786a9d54a3 expression,util/encrypt: add support for AES OFB mode (#8605) 2019-01-11 14:22:57 +08:00
b552bf8b98 Log duration using seconds instead of the default Duration.String(). It would help the log collector to parse the duration. (#9015) 2019-01-11 13:17:42 +08:00
a9de2093e5 util/codec, types: add new method to get comparable hash key from MyDecimal (#8930) 2019-01-11 11:01:15 +08:00
098c5db9d6 tikv/gc_worker: Add support for distributed GC (#6833)
Currently GC is done in 3 steps:
1. Resolve Locks
2. Delete Ranges
3. Do GC

In this PR, the third phase of GC does not do real GC one by one, but only send the new safe point to PD. Then TiKV can get the safe point from PD and do GC by themselves.
2019-01-11 00:41:53 +08:00
8b4c998815 executor: separate RadixHashJoinExec from HashJoinExec (#8979) 2019-01-10 20:11:43 +08:00
d6d97259ec planner/core: fix a bug that check update privilege use wrong AsName and DBName (#9003)
* Fix issue 8911
* Check privilege should use table OrigName, instead of AsName
2019-01-10 17:49:25 +08:00