Commit Graph

4211 Commits

Author SHA1 Message Date
d3b1d4bc31 *: fix parsing slow log incorrectly (#28160) 2021-09-29 10:04:46 +08:00
b99620cf1c planner: add more unit tests for prepare plan cache (#28460) 2021-09-29 07:56:46 +08:00
fd73942112 executor, planner, util: optimize query statements summary table by conditional pushdown (#27563) 2021-09-29 00:30:46 +08:00
047aa7af6f test: make test TestExplainFor stable (#28459) 2021-09-28 19:10:47 +08:00
87648de76e store: fix closest_replicas can't work during follower read (#28419) 2021-09-28 15:10:47 +08:00
3e2605acd5 planner: fix the issue that planner may cache invalid plans for joins in some cases (#28432) 2021-09-28 11:09:13 +08:00
74b329402d executor: return error for GRANT ALL ON performance_schema.* (#28219) 2021-09-27 21:26:47 +08:00
abae1fbb3f expression: fix invalid Flen of decimal value when using plan cache (#28100) 2021-09-27 15:04:48 +08:00
6abc95ffdf *: Add SHOW PLACEMENT support for DB (#28366) 2021-09-27 10:44:47 +08:00
61ddc74133 *: Add SHOW PLACEMENT support for tables (#28266) 2021-09-26 14:56:46 +08:00
8f61a69e99 ddl: add index to support rule override (#27660) 2021-09-26 14:20:46 +08:00
42e8d29931 *: Remove noop function check for local temporary table (#28282) 2021-09-26 11:30:46 +08:00
9955eeebfa execution: Fix out of range value in inl_merge_join (#28065) 2021-09-25 10:18:46 +08:00
d14566c7ed ddl: add sync bundles logic for creating and droping (#28037) 2021-09-24 00:22:46 +08:00
452d34c1ee planner/core: fix index out of bound bug when empty dual table is remove for mpp query (#28251) 2021-09-23 11:42:46 +08:00
e5bf177cd9 *: Use snapshot interceptor to handle temporary table's insert/update/delete (#28218) 2021-09-23 10:00:46 +08:00
b8d85beb0d ddl: add schema placement rules (#27969) 2021-09-23 06:52:46 +08:00
c01f1a3c5f config: change tidb_top_sql_agent_address to config top-sql.receiver-address (#28135) 2021-09-22 17:48:45 +08:00
48c624b201 *: remove some unnecessary exported/interface functions (#28134) 2021-09-22 15:22:45 +08:00
33ac1865c8 session: validate and change tidb_read_staleness input (#28194) 2021-09-22 13:14:45 +08:00
9a7f572d0a sessionctx: fix data-race bug when alloc task id (#28022) 2021-09-22 13:00:45 +08:00
cddb584acd *: Use snapshot interceptor to do temporary table's point_get/batch_point_get (#28143) 2021-09-20 17:24:44 +08:00
3b42a93408 oomtest: migrate test-infra to testify (#28102) 2021-09-17 17:40:42 +08:00
d88e64c194 executor: add stale read compatibility unit test for each cases (#28146) 2021-09-17 16:46:42 +08:00
64494c5c93 charset: comment a test to prevent it block ci (#28112) 2021-09-17 11:20:42 +08:00
2866e1dfd4 sessionctx: support session variable tidb_read_staleness (#27858) 2021-09-16 15:20:43 +08:00
c103310663 executor: fix wrong index hash join when hash col is enum (#28032) 2021-09-16 12:00:42 +08:00
f710f3d9a3 executor: support selecting store by tidb_replica_read for stale read (#28033) 2021-09-15 14:52:41 +08:00
01e1ceda08 expression, executor: fix license header (#28050) 2021-09-15 10:56:42 +08:00
89617e20b2 txn: allow transaction set custom retrievers (#27847) 2021-09-14 16:08:41 +08:00
193b74ecbb executor: rename txnScope as readReplicaScope instead (#27987) 2021-09-14 12:54:40 +08:00
282357e6b7 executor: calling child.Open() after initialization for HashJoin (#27499) 2021-09-14 12:16:41 +08:00
33a6eee76b test: add variable character_set_connection into test session (#27943) 2021-09-14 11:22:42 +08:00
5de2ce7441 ddl: change attributes to key-value form (#27945) 2021-09-11 11:06:39 +08:00
1cd95a8b94 *: add more daily benchmark test cases (#26773) 2021-09-10 23:00:38 +08:00
d7bb71bc1f ddl, meta: refactor auto IDs metadata interface (#27721) 2021-09-10 13:56:39 +08:00
ef0098a3c4 executor: Add support for placement in SHOW CREATE TABLE (#27792) 2021-09-09 10:50:38 +08:00
2c329c20a9 executor: change the time record way of IndexLookUp executor (#27080) 2021-09-09 10:04:38 +08:00
7dbf7b31c5 test: fix data race of Kill (#27864) 2021-09-08 23:12:58 +08:00
649ed6abc9 *: Log SQL statement when coprocessor encounteres lock (#27735) 2021-09-08 20:21:03 +08:00
19d3b1f020 test: fix race of hash join (#27881) 2021-09-08 15:34:58 +08:00
a7cba16084 privileges: fix case sensitive compare of dbname when grant in table level (#27738) 2021-09-08 13:48:57 +08:00
2ae0bb73d7 *: Move some infoschema operations to temptable package (#27818) 2021-09-07 21:36:57 +08:00
6b9d0c53c7 util, executor: use a individual rowContainer for each probeWorker in HashJoinExec (#27577) 2021-09-07 17:22:57 +08:00
04684e6e58 ddl: support recover/flashback table for label rules (#27073) 2021-09-07 15:40:58 +08:00
8125b0a3f3 *: Introduce TemporaryTableDDL to provide unified APIs for temporary table ddl operations (#27776) 2021-09-06 11:24:57 +08:00
6805e344af ddl: support ALTER PLACEMENT POLICY ... (#27733) 2021-09-05 19:46:56 +08:00
afca7649fa planner: refine prefer-range-scan behavior (#27123) 2021-09-02 12:06:14 +08:00
376e85b2ef *: Support SHOW PLACEMENT for placement policies (#27531) 2021-08-31 17:38:13 +08:00
8fd619359e *: Support PLACEMENT_ADMIN dynamic priv (#27600) 2021-08-31 17:08:13 +08:00