Commit Graph

739 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
dd5546dfd0 Revert "planner: fix the issue that UnionScan returns wrong results in dynamic mode" (#26853) 2021-08-03 19:21:06 +08:00
2745baad11 planner: fix the issue that UnionScan returns wrong results in dynamic mode (#26755) 2021-08-03 16:37:07 +08:00
0bcf830fab varaible: fix the new session can't see the instance-level variable store-limit (#26649) 2021-08-02 18:31:06 +08:00
72807efe20 variable, ddl: allow auto inc columns in generated columns and expression indexes (#23940) 2021-07-28 16:22:18 +08:00
51c48d2fa2 planner: update the correlation adjustment rule of Limit/TopN for TableScan (#26445) 2021-07-27 17:34:16 +08:00
e0dbe7ae8a planner: push TopN down when N is less than a specific variable (#26550) 2021-07-27 16:38:16 +08:00
01ac21c194 variable: add tests for setter/getter funcs (#26634) 2021-07-27 14:58:15 +08:00
8642902337 variable: improve code coverage, fix unstable test (#26586) 2021-07-27 14:02:15 +08:00
e7d73718aa *: remove sysvars from plugin API (#26449) 2021-07-26 11:28:15 +08:00
e9409c687c go.mod: update client-go to version 20210723 (#26510) 2021-07-25 12:06:14 +08:00
a542c5868b sessionctx/variable: avoid SysVar clone every time when visiting system variable (#26308) 2021-07-19 18:01:34 +08:00
4f26765194 privilege: add restricted read only (#25340) 2021-07-16 12:09:33 +08:00
702ee7c15f config, sessionctx: deprecate streaming config (#25906) 2021-07-15 17:03:33 +08:00
8f8dcf3a06 *: temporarily skip some unstable test cases (#26149) 2021-07-12 20:21:32 +08:00