Commit Graph

4227 Commits

Author SHA1 Message Date
417c7358ef session: fix set session variable make tidb_snapshot unwork (#28677) 2021-10-09 14:43:23 +08:00
592469352e ddl: Support ALTER DATABASE Placement Policy/ DirectOptions (#27894) 2021-10-09 14:25:25 +08:00
267a3b8162 executor: add auto id allocator execution runtime stats (#28013) 2021-10-08 17:35:24 +08:00
b63bc2bce4 ddl: implement the placement rules inheritance logic (#28365) 2021-10-08 17:21:24 +08:00
36d0b4067d expression: not push invalid cast to tiflash (#28458) 2021-10-08 15:33:23 +08:00
d6e19a6938 planner: disable tiflash plan caching (#28475) 2021-10-08 14:09:23 +08:00
e3c7aab001 executor/aggfuncs: refactor: migrate test-infra to testify for func_varpop_test.go (#28548) 2021-10-08 12:57:23 +08:00
226dc809d6 executor: support SET PASSWORD FOR CURRENT_USER() (#28556) 2021-10-08 10:27:23 +08:00
9333c5d416 executor: migrate test infra to testify for adpater_test.go (#28539) 2021-10-05 00:38:49 +08:00
9c66a06afa refactor: migrate test-infra to testify for mainly window_func_test.go (#28536) 2021-10-03 19:40:48 +08:00
xhe
2a02e6e41d placement: refine the bundle contruction logic (#28450) 2021-10-02 08:36:48 +08:00
bba2848f94 executor: move test setup code from TestT to TestMain (#28441) 2021-09-30 17:52:47 +08:00
e52dbd6b7d domain, executor: make flush privilege propagate via etcd (#27958) 2021-09-30 13:34:47 +08:00
17d2ae36d1 *: make sysvar tidb_enable_noop_funcs support a WARN mode (#28443) 2021-09-30 11:02:48 +08:00
091ae3bde0 planner: generate addition selection when plan cache enable (#28457) 2021-09-29 16:38:47 +08:00
8c357a1d76 seqtest: migrate test-infra testify (#28298) 2021-09-29 16:04:47 +08:00
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