Commit Graph

4445 Commits

Author SHA1 Message Date
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
93e2c12346 *: Rename some names of placement ddl operation (#30622) 2021-12-11 00:41:57 +08:00
c08f7fc65c *: show PK name when decoding the clustered index row key (#30623) 2021-12-10 21:53:58 +08:00
9a074f1dbe *: use the real StateRemote interface implementation for cached table (#30066) 2021-12-10 16:55:57 +08:00
aa002f28a2 *: show cmd to check if all needed histograms are loaded (#29672) 2021-12-10 13:45:57 +08:00
23af09d8bf *: support trace plan target='estimation' statement (#30491) 2021-12-10 11:43:57 +08:00
fbcf7575dc ddl: let admin cancel ddl jobs run in a new transaction (#30549) 2021-12-09 18:59:57 +08:00
80ea2389d8 executor: HashJoinExec checks the buildError even if the probeSide is empty (#30471) 2021-12-09 14:17:57 +08:00
9773f83aec *: replace compareDatum by compare, PR 10 (#30456) 2021-12-08 17:35:57 +08:00
66dfc703b5 executor: TestBatchGetandPointGetwithHashPartition test typo (#29669) (#29671) 2021-12-08 15:51:56 +08:00
27f7b592b1 executor: enable index_merge used in transaction. (#29875) 2021-12-08 12:25:56 +08:00
d83ee8cfda executor,util: write slow query to slow log no matter what log level (#30461) 2021-12-07 20:49:56 +08:00
2af4624cc9 executor: stable test TestSetDDLReorgBatchSize and TestSetDDLReorgWorkerCnt (#30480) 2021-12-07 17:19:56 +08:00
ffd59ec088 planner: show accessed partition when explain mpp query over partition table (#30367) 2021-12-07 13:53:56 +08:00
181c0c9989 executor: track the mem usage of IndexMergeReader (#30210) 2021-12-07 13:05:56 +08:00
cb88a4c51f executor: fix pipelined window invalid memory address (#30418) 2021-12-07 11:11:55 +08:00
3337405dd0 expression, parser: add built-in func is_uuid (#30318) 2021-12-07 02:47:55 +08:00
d3c6045f63 *: replace compareDatum by compare (#30421) 2021-12-06 20:41:56 +08:00
70d29735e6 executor, util: reset offsets and nullBitMap for MutRow when setting new values (#30265) 2021-12-03 15:33:54 +08:00
4fbbd5a77d executor: make projection executor unparallel for insert/update/delete (#30290) 2021-12-03 15:13:54 +08:00
891517f23e config: make EnableSlowLog atomic (#30346) 2021-12-03 11:47:54 +08:00
9aa756336e executor: avoid sum from avg overflow (#30010) 2021-12-03 11:09:55 +08:00
732b7eb128 executor: fix data race in oomtest (#30339) 2021-12-02 13:33:53 +08:00
8e2b96256e types: casting JSON literal null to number types should fail (#30278) 2021-12-02 13:23:54 +08:00
7acb80f125 executor: migrate test-infra to testify for executor/index_lookup_join_test.go (#30260) 2021-12-02 11:27:53 +08:00
450d72fd6e executor: replace should not change other rows when auto ID is out of range (#30301) 2021-12-02 10:25:53 +08:00
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00