Commit Graph

705 Commits

Author SHA1 Message Date
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
0db5df550b planner: rename stable-result-mode to ordered-result-mode (#26093) 2021-07-12 16:01:32 +08:00
94194679a4 *: finish insert/point_get for local temporary table (#26053) 2021-07-09 18:13:30 +08:00
8885b70bfe types, expression: fix gotime.local problem (#25510) 2021-07-08 14:59:29 +08:00
5e75a1c7ee *: Rename variable GlobalTemporaryTables in TxnCtx to TemporaryTables (#26028) 2021-07-08 13:01:29 +08:00
c24a90f9e7 planner: support stable result mode (#25971) 2021-07-06 15:11:29 +08:00
de3c30b62c *: support create a local temporary table (#25851) 2021-07-05 11:55:27 +08:00
4359158d62 variable: Move CharacterSetFilesystem from sysvar.go to noop.go (#25793) 2021-07-05 11:35:27 +08:00
f23e1004ac *: Support for caching_sha2_password authentication (#24991) 2021-07-05 11:15:28 +08:00
209334951c sessionctx: add tidb_enable_list_partition global system variable (#25743) 2021-07-01 10:37:27 +08:00
fac17a254e topsql: use new cache policy for top-n SQL (#25744) 2021-06-29 20:35:25 +08:00
b858ce43c0 config, session: make Local Transaction not to affect Stale Read (#25559) 2021-06-22 17:25:22 +08:00
851fb3cce9 sessionctx, variable: add skip name resolve (#25464) 2021-06-22 10:44:53 +08:00
xhe
507ee3e1ce *: hide txn scope setting (#25519) 2021-06-18 10:44:38 +08:00
xhe
3c979129fc executor: mutex snapshot with txn (#25468) 2021-06-17 00:26:37 +08:00
49cbbc4655 variable: set max duration of gc interval/lifetime to 365 days (#25396) 2021-06-15 12:36:37 +08:00
46ad95ca2e planner: disable partition table dynamic mode by default (#25339) 2021-06-15 11:06:36 +08:00
a45b3aaa2b variable: small cleanups (#25266) 2021-06-12 01:04:35 +08:00
da23dd7b13 config: add config for tidb_enforce_mpp and remove the global scope of it. (#25369) 2021-06-11 19:14:35 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
f4e608b8ba util: improve TopSQL reporter memory efficiency (#25195) 2021-06-11 13:16:35 +08:00
1f0245a821 planner: Revert tidb_allow_mpp modification for downgrade compatibility and add warnings for enforce mpp. (#25302) 2021-06-11 10:28:35 +08:00
cbb6f4e64c *: add global system variable tmp_table_size (#24827) 2021-06-09 18:48:30 +08:00
8bf35daf1a planner: disable mpp_outer_join_fixed_build_side by default (#25240) 2021-06-09 12:44:28 +08:00
ac06d78691 *: enable column-type-change totally (#25263) 2021-06-09 10:56:29 +08:00
f81ef55795 planner: solve an incompatible issue about dynamic-mode and TiFlash and enable dynamic mode by default (#25255) 2021-06-08 20:08:28 +08:00
75388187f3 ddl: make the column type change switch transparent (#25213) 2021-06-08 17:16:28 +08:00
11716e7f4a *: use full sampling as default analyze (#25132) 2021-06-06 00:34:27 +08:00
acdacf186a util: add top sql collector (#24988) 2021-06-04 22:56:28 +08:00
eaa426cb6a sessionctx: add skip-init for variable tidb_memory_usage_alarm_ratio (#25166) 2021-06-04 18:56:28 +08:00
e7d4c3054b planner: enable the dynamic mode of partition tables by default (#25143) 2021-06-04 15:10:28 +08:00
c59b3bcea6 planner: Mpp outer join build side (#25130) 2021-06-04 12:44:27 +08:00
66e68be296 sessionctx: Fix tidb_gc_scan_lock_mode sysvar doesn't show correct default value on new clusters (#25112) 2021-06-04 00:16:27 +08:00
fce4dde1cd variable, main: make sure default values for sysvars validate (#24807) 2021-06-03 22:20:26 +08:00
d3de5479a0 planner: support push down broadcast cartesian join to TiFlash (#25049) 2021-06-03 17:38:27 +08:00