Commit Graph

4471 Commits

Author SHA1 Message Date
97c52d0941 executor: let select into outfile has affected rows return (#31132)
close pingcap/tidb#31131
2021-12-30 01:13:50 +08:00
088a2444df *: persist analyze options for manual and auto analyze (#30939) 2021-12-30 00:39:49 +08:00
e9ab05f90f topsql: move topsql variable to topsql/state for avoid import cycle (#31134)
close pingcap/tidb#31136
2021-12-29 19:51:50 +08:00
db
c06ecb4de7 executor: use helper.GetRegionsTableInfo to get region schema for tidb_hot_regions_history (#30500) 2021-12-29 17:01:50 +08:00
88232307df executor: fix stmt summary nil pointer panic on the cached table (#31079)
close pingcap/tidb#31077
2021-12-29 15:31:50 +08:00
8193c465c8 executor/split_test.go: migrate test-infra to testify (#30485)
close pingcap/tidb#28617
2021-12-29 12:13:49 +08:00
7647c2b9b0 parser: parse gbk encoding SQL token by token instead of the whole SQL (#31039)
close pingcap/tidb#30765
2021-12-28 22:07:49 +08:00
fb03dacbca *: periodically dump column stats usage into disk (#31072) 2021-12-28 21:27:51 +08:00
5e031442d9 executor: enhance the strategy of the sampling rate calculation (#31016)
ref tikv/tikv#11669
2021-12-28 20:47:49 +08:00
f35e84c2e1 *: get tiflash http(s) port from tiflash status port instead of etcd (#30901) 2021-12-28 16:47:49 +08:00
3ea7a1d789 planner: throw error when insert values is correlated subquery (#31049)
ref pingcap/tidb#30626
2021-12-28 15:43:49 +08:00
57b2908957 planner: improve the bindSQL check for plan cache (#31054) 2021-12-28 15:28:20 +08:00
dc9e75e009 executor: fix bug when correlated column is used in IndexMergeReader (#30982)
close pingcap/tidb#30913
2021-12-28 14:45:49 +08:00
0af4b77b6b schema: sequence should always be the one row (#30784)
close pingcap/tidb#30786
2021-12-28 13:19:49 +08:00
e983d320e6 ddl: Allow create timestamp default 0 without sql_mode NO_ZERO_DATE (#30305) (#30507)
close pingcap/tidb#30305
2021-12-28 12:57:49 +08:00
abb6582910 planner: support 'admin flush plan cache' (#30370) 2021-12-27 14:57:49 +08:00
5ea46eaf22 executor: migrate test-infra to testify for distsql_test.go (#31023)
close pingcap/tidb#28574
2021-12-26 18:17:49 +08:00
ab821eb315 planner: add usage of paging copr in optimizer (#30536)
close pingcap/tidb#30578
2021-12-24 18:23:53 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
404895c04a executor: fix the returned field count of the prepare statement (#30981)
close pingcap/tidb#30971
2021-12-23 21:57:47 +08:00
df58e6c36c execution: refine precision of cast as decimal in agg func (#30805) 2021-12-23 16:53:47 +08:00
0d899cdd9e planner: remove bindSQL from planCacheKey to planCacheValue (#30916) 2021-12-23 16:37:47 +08:00
d2ed2ae2b2 executor: display 'show create table' and INFOSCHEMA for cached table correctly (#30951)
close pingcap/tidb#30950
2021-12-23 14:45:47 +08:00
713e6994db planner: rename pstmtPlanCacheXX to PlanCacheXX (#30909) 2021-12-22 18:59:48 +08:00
1f6d2ddfb9 *: Use TxnManager.GetTxnInfoSchema() to get the txn infoschema (#30934)
close pingcap/tidb#30933
2021-12-22 17:39:47 +08:00
9063d3b837 table: set the datum collation correctly in CastValue() (#30931)
close pingcap/tidb#30930
2021-12-22 16:05:47 +08:00
529ce88c1c *: add TxnManager to manage txn in session (#30574)
* *: add TxnManager to manage txn in session

* modify

* add tests

* move failpoint content to a single file
2021-12-22 13:53:43 +08:00
fe1aaf2fd7 topsql: introduce stmtstats and sql execution count (#30277) 2021-12-21 15:43:47 +08:00
66d767374d executor: fix bug when using IndexMerge in transaction (#30719)
close pingcap/tidb#30685
2021-12-21 10:57:46 +08:00
23c71f1a3b execute: don't transform charset in internal sql (#30843)
close pingcap/tidb#30789
2021-12-20 17:15:46 +08:00
e3c56b75ea executor: buildWindow cannot call typeInfer twice (#30773)
close pingcap/tidb#30402
2021-12-20 11:11:46 +08:00
24d970fc46 executor: improve SET sysvar=DEFAULT handling (#29680)
close pingcap/tidb#29670
2021-12-20 07:57:45 +08:00
1cf2a6da7e ddl: add helper function to set and query TiFlash's sync status (#30473) 2021-12-17 15:06:35 +08:00
8e11e0367f *: fix the flen type datetime for union/case-when/control-funcs (#30588) 2021-12-17 13:14:35 +08:00
ad740a694a *: placement policy ref will be converted to direct options when recover or flashback table (#30705) 2021-12-16 20:38:36 +08:00
daf525a17e *: replace compareDatum by compare, range part (#30710) 2021-12-16 19:48:36 +08:00
43caa02f70 config, charset: make charset config not affected by collation config (#30572) 2021-12-16 15:32:35 +08:00
4069b10635 executor: add more testcases for index merge (#30497) 2021-12-16 14:54:36 +08:00
8cf847a575 executor: add an unit test case for unreasonable invoking Close (#30696) 2021-12-16 13:04:35 +08:00
af259faacf planner: support the plan cache aware of bindings (#30169) 2021-12-16 10:18:35 +08:00
2e79433b71 test: merge executor's serial tests to other tests (#30711) 2021-12-15 19:36:35 +08:00
813f6efd41 sessionctx/variable: change tidb_store_limit to global only (#30522) 2021-12-15 09:40:35 +08:00
6c0fcea070 executor: fix data race on IndexHashJoin.cancelFunc (#30701) 2021-12-14 21:46:35 +08:00
c30d34f07f planner: Introduce a new global variable to control the historical statistics feature (#30646) 2021-12-14 19:08:36 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
b8767880a3 testify: migrate test-infra to testify for analyze_test.go (#30640) 2021-12-13 21:22:35 +08:00
12e2288440 topsql: shouldn't evict the SQL meta, since the evicted SQL can be appear on Other components (TiKV) TopN records (#27050) 2021-12-13 20:58:35 +08:00
d3833c2ab2 executor: migrate test-infra to testify for executor/union_scan_test.go (#30525) 2021-12-13 18:14:35 +08:00
9a64217cfa executor: migrate test-infra to testify for executor/shuffle_test.go (#30514) 2021-12-13 16:38:36 +08:00
3dce612f04 executor: fix data race in the index_lookup_hash_join (#30619) 2021-12-11 11:13:57 +08:00