Commit Graph

945 Commits

Author SHA1 Message Date
042f498756 sessionctx/variable: Fix performance regression in NewMockGlobalAccessor (#28303) 2021-09-30 11:12:47 +08:00
17d2ae36d1 *: make sysvar tidb_enable_noop_funcs support a WARN mode (#28443) 2021-09-30 11:02:48 +08:00
49b29ebb47 *: unhide stable system variables (#27957) 2021-09-29 12:14:46 +08:00
02ef439e64 variable: move max_connections to noop (#28106) 2021-09-29 11:32:47 +08:00
b50474c4e9 variable: add support for identity (#28449) 2021-09-29 01:14:47 +08:00
13be486682 planner: rename some variables for easy understanding (#28226) 2021-09-26 13:20:46 +08:00
42e8d29931 *: Remove noop function check for local temporary table (#28282) 2021-09-26 11:30:46 +08:00
ca7ba5a4e5 executor, session, sessionctx/variable: add validate function for sysval sql_auto_is_null (#28247) 2021-09-23 19:54:46 +08:00
e5bf177cd9 *: Use snapshot interceptor to handle temporary table's insert/update/delete (#28218) 2021-09-23 10:00:46 +08:00
bfbea9c3ef variable: Add support for mock globalvars (#26990) 2021-09-23 02:10: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
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
4107115026 variable: add support for last_insert_id (#28072) 2021-09-21 01:10: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
acf7232069 go.mod: change github.com/uber-go/atomic to go.uber.org/atomic (#26508) 2021-09-17 11:42:42 +08:00
74c507b023 test: fix t.Parallel() is called in the range method but is not reinitialised (#27939) 2021-09-17 11:30:42 +08:00
2866e1dfd4 sessionctx: support session variable tidb_read_staleness (#27858) 2021-09-16 15:20:43 +08:00
c6de069d61 sessionctx, statistics: remove unused StatementContext.mu.histogramsNotLoad (#27928) 2021-09-16 11:30:42 +08:00
f710f3d9a3 executor: support selecting store by tidb_replica_read for stale read (#28033) 2021-09-15 14:52:41 +08:00
310fef18ed *: fix memory leak after dom.Close (#28027) 2021-09-14 15:54:41 +08:00
b52f3efbe9 sessionctx: Fix SET GLOBAL tidb_skip_isolation_level_check=1 (#27898) 2021-09-14 12:32:41 +08:00
c26038ba5e sessionctx/variable: fix incorrect parallel tests (#27981) 2021-09-14 00:46:41 +08:00
9d3b67f450 sessionctx/context: fix comment typo to help generate godoc (#27901) 2021-09-13 18:16:40 +08:00
e215f187c5 sessionctx: Support global variable tidb_replica_read (#27622) 2021-09-10 21:48:38 +08:00
1750d49a0b sessionctx/variable: migrate test-infra to testify (#27848) 2021-09-08 12:14:57 +08:00
5db91be2e1 ddl: restrain drop column with index using the same switch as EnableChangeMultiSchema (#27500) 2021-09-07 09:20:57 +08:00
afca7649fa planner: refine prefer-range-scan behavior (#27123) 2021-09-02 12:06:14 +08:00
5b9ce4a13b sessionctx/binloginfo: migrate test-infra to testify for sessionctx/binloginfo (#27279) (#27572) 2021-08-30 17:44:12 +08:00
hui
5b92922441 sessionctx: migrate test-infra to testify for context_test.go (#27643) 2021-08-30 12:18:12 +08:00
25940d475b sessionctx/stmtctx: migrate test-infra to testify for sessionctx/stmtctx #27280 (#27504) 2021-08-24 12:04:04 +08:00
79f0b495e5 session, variable: move gc special sysvars to getters/setters (#24896) 2021-08-18 21:30:00 +08:00
af66129b1e go.mod: update parser (#27339) 2021-08-18 19:30:00 +08:00
b2a1d21284 executor: Add binlog tests for local temporary table (#27273) 2021-08-18 01:47:59 +08:00
462c9dc5ca *: Add temp_table_size support for local temporary table (#27205) 2021-08-16 22:19:59 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
ba8aab995e variable: format error message for set wrong value (#27152) 2021-08-13 15:31:17 +08:00
73bb7dd2c6 *: Annotations and fixes related to gosec (#26907) 2021-08-09 22:27:15 +08:00
6a78ca0f08 *: reduce ResetContextOfStmt() object allocation (#26241) 2021-08-09 12:29:14 +08:00
bd7e3aec0a parser: disable text position recording (#27009) 2021-08-09 11:39:14 +08:00
83ebdf3795 session, variable: cleanup TiDBEvolvePlanBaselines sysvar validation (#27004) 2021-08-09 10:23:14 +08:00
312ec6cf47 planner: output skyline pruning information when executing EXPLAIN (#26748) 2021-08-06 19:57:14 +08:00
c08de09173 planner: show binding information in explain format = 'verbose' (#26930) 2021-08-05 19:31:13 +08:00
3cda7d0a72 *: insert of invalid timestamp succeeded (#26584) 2021-08-05 18:03:12 +08:00
bfbe67db6d planner: ban baseline evolution feature (#26333) 2021-08-05 09:45:07 +08:00
47514c22f6 store/copr: use a ttl duration to protect a new recovered tiflash node from processing mpp tasks. (#26793) 2021-08-04 16:33:07 +08:00
4d5773c298 planner: fix the issue that UnionScan returns wrong results in dynamic mode (#26876) 2021-08-04 14:47:07 +08:00
6a1e5215df executor: Add insert/replace ignore/on duplicate key support for local temporary table (#26636) 2021-08-04 14:19:07 +08:00
29f00372c5 variable: update out of date comment (#26872) 2021-08-04 13:33:06 +08:00
e548c42ccb planner: support Hash exchange operator when new collation is enabled. (#26789) 2021-08-04 10:39:06 +08:00