Commit Graph

12754 Commits

Author SHA1 Message Date
a8b50104df *: update PD client (#23043) 2021-03-02 11:46:54 +08:00
10e5a34be8 execution: fix index's duplicate error message (#22858) 2021-03-02 10:56:53 +08:00
8230f4162b *: optimize analyze cluster index table (#21381) 2021-03-01 22:14:54 +08:00
319e514b42 .build.ps1: enable varcheck for powershell building script (#23039) 2021-03-01 21:54:54 +08:00
642527d740 planner: choose non-prefix column when both index key and handle have the same one (#22980) 2021-03-01 20:48:54 +08:00
b336f83c34 config: fix err check (#22987) 2021-03-01 20:04:54 +08:00
4e44674615 server: support MVCC-get HTTP API for clustered index (#22904) 2021-03-01 19:48:54 +08:00
9dc2f10232 table: fix err check (#23004) 2021-03-01 19:18:54 +08:00
bff0e7e4ba structure: fix err check (#23003) 2021-03-01 18:38:54 +08:00
dc9ceb4bba tablecodec: fix err check (#23005) 2021-03-01 17:48:54 +08:00
3d4def7eef planner, statistics: allow (auto) analyze single partition in dynamic-only mode (#22625) 2021-03-01 17:23:31 +08:00
2b977e4141 store/tikv:make KVTxn in tikv public (#23019)
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-03-01 17:07:13 +08:00
550ca8eaeb statistics: enables global-level stats to be generated in fast analyze mode (#22931) 2021-03-01 16:40:50 +08:00
6bd6df7d1e planner: let tikv know primary prefix columns info (#22829) 2021-03-01 16:20:54 +08:00
e2fdb00e62 config: fix data race caused by config.Labels (#22977) 2021-03-01 16:02:54 +08:00
bc37f088ba *: fix some varcheck lint warnings (#23011) 2021-03-01 15:10:54 +08:00
93d3c04e99 cmd: fix err check (#22986) 2021-03-01 14:42:54 +08:00
e1004a2ccb *: modify the switch to control global stats (#22866) 2021-03-01 14:18:30 +08:00
b1b7730402 statistics: add more tests to check accurateness of global-stats (#22948) 2021-03-01 12:49:56 +08:00
febac515b1 store/tikv: move coprocessor out (#22922) 2021-03-01 11:42:54 +08:00
5706c0ca13 domain: fix err check (#22990) 2021-03-01 11:10:53 +08:00
4faf2c0a54 infoschema: fix err check (#22993) 2021-03-01 10:46:54 +08:00
4b90ef471c planner: include "CREATE/DROP TEMPORARY TABLE" to noop functions (##609) (#22860)
* planner: include "CREATE/DROP TEMPORARY TABLE" to noop functions (##609)

TiDB ignores the TEMPORARY keyword in "CREATE/DROP TEMPORARY TABLE" statements.
Report errors when and only when tidb_enable_noop_functions = OFF.

* Add link to pingcap/parser issue

Co-authored-by: bb7133 <bb7133@gmail.com>

Co-authored-by: bb7133 <bb7133@gmail.com>
Co-authored-by: Morgan Tocker <tocker@gmail.com>
2021-02-27 23:31:06 -07:00
53a68b56da Makefile: remove some linters (#22978) 2021-02-26 21:17:29 +08:00
8357f809ff *: remove some useless codes and do tiny update (#22972) 2021-02-26 19:14:53 +08:00
ec788ac154 executor: reduce useless memory allocation in min/max aggregate (#22912) 2021-02-26 18:04:53 +08:00
5d8b99feef store/tikv: add 1PC grafana panel and lower 1PC log level (#22943) 2021-02-26 17:48:53 +08:00
4a413a4d61 config: remove async commit configs from example (#22945) 2021-02-26 17:30:53 +08:00
d8c5ca34ed planner/core: skip clustered index during admin check table (#22871) 2021-02-26 17:14:53 +08:00
xhe
03109adaad *: remove useless FIXME tip in code (#22970) 2021-02-26 16:18:53 +08:00
f06ff9d513 CircleCI: upgrade go version from 1.15 to 1.16 (#22882) 2021-02-26 15:58:54 +08:00
8a490e96b5 parser: quote identifier with backquote when getting SQL digest (#22893) 2021-02-26 14:54:54 +08:00
f89ab46437 infoschema, executor: Resolve bug where show index from perf_schema had no results (#22772) 2021-02-26 13:58:53 +08:00
6136b0003d Makefile: make linter check the commit from upstream master (#22939) 2021-02-26 13:34:53 +08:00
32592432ba ddl: loose alter column with foreign key in some cases (#22863) 2021-02-26 13:18:53 +08:00
31c13d6e38 expression: fix bugs in builtinfunction ArithmeticMinusInt logic (#22426) 2021-02-26 13:00:54 +08:00
df01fcc1ff planner, executor: reset NotNullFlag when merge schema for join (#22955) 2021-02-25 23:17:55 +08:00
7151b4f3b5 config: use tidb_enable_list_partition to enable list table partition feature (#22864) 2021-02-25 22:11:04 +08:00
5e832ed80a store/*: mv tikv_driver to dir store/driver (#22942) 2021-02-25 18:49:18 +08:00
745d20aa64 store/tikv_driver:move MemManager from KVStore to tikvStore (#22728) 2021-02-25 15:53:11 +08:00
daf3337a43 oracle: make @@txn_scope only support local and global (#22784) 2021-02-25 15:26:03 +08:00
1970a917c1 store/tikv: fix unstable tests in snapshot_fail_test.go (#22916) 2021-02-24 21:04:03 +08:00
806097c2e5 planner: fix wrong index merge selection (#22825) 2021-02-24 20:18:03 +08:00
eea52f5f20 expression: correct constant propagation for collation (#22666)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2021-02-24 19:19:01 +08:00
e360454b2d util: fix Host column of show processlist to host_name:client_port format (#22707) 2021-02-24 18:54:03 +08:00
35534ae752 *: apply golangci-lint to the new code (#22824) 2021-02-24 18:24:03 +08:00
8ea5930ea8 *: separate use of kv.Storage and tikv.Storage (#22891)
* *: separate use of kv.Storage and tikv.Storage

Signed-off-by: disksing <i@disksing.com>

* fix compile

Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Co-authored-by: Shirly <wuxuelian@pingcap.com>
2021-02-24 17:54:03 +08:00
b5c6c9f548 statistics: make dump/load/show-stats be compatible with global-stats (#22911) 2021-02-24 17:33:40 +08:00
xhe
a30e24dbc9 ddl: fix partition schemadiff operation (#22826)
* ddl: fix partition schemadiff operation

Signed-off-by: xhe <xw897002528@gmail.com>

* ddl: reword

Signed-off-by: xhe <xw897002528@gmail.com>

* *: update schemadiff even if infoHandle is invalid

Signed-off-by: xhe <xw897002528@gmail.com>

* *: add unit test case without infohandle

Signed-off-by: xhe <xw897002528@gmail.com>

* *: use delay

Signed-off-by: xhe <xw897002528@gmail.com>

* *: longer delay

Signed-off-by: xhe <xw897002528@gmail.com>

* *: fix test

Signed-off-by: xhe <xw897002528@gmail.com>

* *: always fetch rules

Signed-off-by: xhe <xw897002528@gmail.com>

Co-authored-by: Arenatlx <314806019@qq.com>
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-02-24 17:10:03 +08:00
xhe
6d6c83369f *: timezone insensetive test (#22880)
Signed-off-by: xhe <xw897002528@gmail.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-02-24 16:46:03 +08:00