Commit Graph

474 Commits

Author SHA1 Message Date
e5bf177cd9 *: Use snapshot interceptor to handle temporary table's insert/update/delete (#28218) 2021-09-23 10:00:46 +08:00
9a7f572d0a sessionctx: fix data-race bug when alloc task id (#28022) 2021-09-22 13:00:45 +08:00
2866e1dfd4 sessionctx: support session variable tidb_read_staleness (#27858) 2021-09-16 15:20:43 +08:00
79f0b495e5 session, variable: move gc special sysvars to getters/setters (#24896) 2021-08-18 21: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
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
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
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
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
e9409c687c go.mod: update client-go to version 20210723 (#26510) 2021-07-25 12:06:14 +08:00
94194679a4 *: finish insert/point_get for local temporary table (#26053) 2021-07-09 18:13:30 +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
b858ce43c0 config, session: make Local Transaction not to affect Stale Read (#25559) 2021-06-22 17:25:22 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24: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
ac06d78691 *: enable column-type-change totally (#25263) 2021-06-09 10:56:29 +08:00
c59b3bcea6 planner: Mpp outer join build side (#25130) 2021-06-04 12:44:27 +08:00
d3de5479a0 planner: support push down broadcast cartesian join to TiFlash (#25049) 2021-06-03 17:38:27 +08:00
49cd57174b session, planner: Add a factor getter for networkFactor/scanFactor/descScanFactor/seekFactor (#25046) 2021-06-03 16:50:27 +08:00
83a9a12a14 *: add sys var tidb_enable_global_temporary_table to open global temp table (#25075) 2021-06-03 16:10:45 +08:00
dbb753fd02 executor: create PipelinedWindowExec (#23022) 2021-06-03 15:38:27 +08:00
d435129d01 executor: make set transaction as of timestamp supports select statement (#24984) 2021-06-01 16:29:38 +08:00
7f4f5c0236 *: Change dynamic privileges to non-experimental (#24914) 2021-05-28 23:29:36 +08:00
11e7ac65f6 session, variable, domain: optimize session sysvar cache (#24873) 2021-05-25 18:01:34 +08:00
6e9d2750ae executor: implement set transaction read only as of transaction (#24766) 2021-05-25 16:39:38 +08:00
xhe
bfdad7c752 *: milisecond test and infoschema fix (#24820) 2021-05-24 18:27:34 +08:00
b7c93e8952 variable: remove radix join variable (#24566) 2021-05-24 18:05:34 +08:00
8fb29eb17e kv: move TxnScope into kv (#24715) 2021-05-19 20:01:42 +08:00
0f10bef470 domain, session: Add new sysvarcache to replace global values cache (#24359) 2021-05-17 22:13:39 +08:00
2df8c3bfd1 store/tikv: resolve ReplicaReadType dependencies (#24653) 2021-05-17 14:09:39 +08:00
9c3f1b70c2 variables: init cte max recursive deeps in a new session (#24609) 2021-05-13 17:11:40 +08:00
771255e010 executor, meta: Allocate auto id for global temporary tables (#24506) 2021-05-12 23:45:40 +08:00
ec618f1619 planner: support set tidb_allow_mpp to 2 or ENFORCE to enforce use mpp mode. (#24516) 2021-05-12 18:05:40 +08:00
c8bc701170 *: misc cleanups to variable package (#24507) 2021-05-11 13:23:38 +08:00
xhe
9e13287d9d *: remove SchemaVersion in TransactionContext (#24236) 2021-05-11 10:31:39 +08:00
xhe
5e9e0e6e37 *: consitent get infoschema (#24230) 2021-05-10 21:00:36 +08:00
075df515e4 executor, session, variable: Move deprecation, synonyms, scope validation to sysvar struct (#24280) 2021-05-07 23:12:41 +08:00
af6cece281 *: support read and write operations for the global temporary table (#24196) 2021-04-29 21:49:58 +08:00