Commit Graph

120 Commits

Author SHA1 Message Date
c0244a380b planner: disallow use of key prefix with zero length (#32176)
close pingcap/tidb#31972
2022-02-11 14:03:36 +08:00
c589ee5471 *: remove direct placement from models (#31816)
close pingcap/tidb#31427
2022-01-20 00:47:45 +08:00
8ee88265cd planner, distsql: fix the Stale Read and Local Txn compatibility (#31606)
close pingcap/tidb#31604
2022-01-13 22:09:42 +08:00
a8fa29b56d parser: make text return utf8 encoding string (#31457)
close pingcap/tidb#31228
2022-01-12 19:47:42 +08:00
df58e6c36c execution: refine precision of cast as decimal in agg func (#30805) 2021-12-23 16:53:47 +08:00
529ce88c1c *: add TxnManager to manage txn in session (#30574)
* *: add TxnManager to manage txn in session

* modify

* add tests

* move failpoint content to a single file
2021-12-22 13:53:43 +08:00
7feb0e667b planner: fix create binding panic when status.record-db-qp enable (#29519) 2021-11-08 21:11:04 +08:00
fb33b7c012 session: remove extra useless tso request (#29393) 2021-11-03 17:21:01 +08:00
4879be763b infoschema: fix inserting into a temporary table panics after the database is dropped (#29263) 2021-11-01 14:40:51 +08:00
9c0d0d6ab4 ddl: Forbid CREATE [GLOBAL] TEMPORARY TABLE LIKE from a table with placement options (#28899) 2021-10-18 23:26:43 +08:00
f279753ecd planner/core, ddl: disable placement options on temp tables (#28737) 2021-10-13 11:47:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
17d2ae36d1 *: make sysvar tidb_enable_noop_funcs support a WARN mode (#28443) 2021-09-30 11:02:48 +08:00
87648de76e store: fix closest_replicas can't work during follower read (#28419) 2021-09-28 15:10:47 +08:00
42e8d29931 *: Remove noop function check for local temporary table (#28282) 2021-09-26 11:30:46 +08:00
2866e1dfd4 sessionctx: support session variable tidb_read_staleness (#27858) 2021-09-16 15:20:43 +08:00
193b74ecbb executor: rename txnScope as readReplicaScope instead (#27987) 2021-09-14 12:54:40 +08:00
2ae0bb73d7 *: Move some infoschema operations to temptable package (#27818) 2021-09-07 21:36:57 +08:00
26653ec3e1 planner: enhance the extract table from update/insert/delete stmt in binding sql check (#27519) 2021-08-26 13:00:04 +08:00
79aab25fc2 expression: forbidden bind sql when subquery or union exists (#27347) 2021-08-21 12:12:02 +08:00
2a8612be59 *: SHOW CREATE VIEW/SEQUENCE should ignore local temporary table with the same name (#27344) 2021-08-20 20:24:02 +08:00
165e365e64 session,server: forbid stale read in local temporary tables (#27270) 2021-08-18 12:14:01 +08:00
d4ec0233c8 ddl: fix DROP [GLOBAL] TEMPORARY TABLE IF EXISTS returns error when table not exist (#27287) 2021-08-17 21:53: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
cc1f990bac planner: fix update panic when update in prepare and execute (#26759) 2021-08-05 23:41:13 +08:00
352f609437 ddl: add admin_check_index compatibility for temporary table (#26465) 2021-08-03 16:27:07 +08:00
443e10066a ddl: make 'drop local temporary table' atomic (#26464) 2021-08-03 11:01:06 +08:00
726abd7903 planner: add support for 'drop temporary table...' (#26435) 2021-07-30 15:09:05 +08:00
0a1875e883 parser,planner: fix the compatiblity of explain_format (#25978) 2021-07-07 15:47:29 +08:00
59d835eac5 executor: support forbid tiflash for stale read (#25828) 2021-07-06 13:33:28 +08:00
7f18c4a5d4 planner: fix incorrect usage of UNION and INTO (#24913) 2021-06-30 13:55:25 +08:00
ec7240edba planner: Rename ExplicitStaleness to IsStaleness (#25791) 2021-06-28 16:15:25 +08:00
92ddceb6a4 executor: reject setting read ts to a future time (#25732) 2021-06-25 18:09:24 +08:00
2b445a1e4d ddl: DROP GLOBAL TEMPORARY TABLE should fail on normal tables (#25639) 2021-06-24 18:55:23 +08:00
8c33190dd7 linter: fix linter error when make dev locally (#25661) 2021-06-23 11:19:22 +08:00
b858ce43c0 config, session: make Local Transaction not to affect Stale Read (#25559) 2021-06-22 17:25:22 +08:00
799591a06f session: read local dc replicas automatically for stale read (#25525)
* fix select

Signed-off-by: yisaer <disxiaofei@163.com>
2021-06-18 17:13:38 +08:00
b52a38981c *: change SHOW CONFIG to require CONFIG privilege (#25379) 2021-06-15 16:56:36 +08:00
xhe
07d0b2d845 planner: forbid prepared stale select in txn (#25375) 2021-06-15 14:30:37 +08:00
bd11917ca0 bindinfo,planner: report error when creating sql binding on temporary table (#25058) 2021-06-15 14:08:37 +08:00
xhe
9189ec66ac *: stale reads compatible with prepare (#25156) 2021-06-11 19:32:35 +08:00
5a1606740c ddl: add create table like check for temporary table (#25082) 2021-06-11 16:50:35 +08:00
811253785c planner, executor: add stale read compatibility for temporary table (#25206) 2021-06-07 21:06:28 +08:00
30fcecad7f planner: add dml support in CTE (#25024) 2021-06-03 15:50:27 +08:00
b7e448aa10 ddl: add auto random && shard_row_id_bits compatibility for temporary table (#24940) 2021-06-02 15:56:26 +08:00
c8c0dd0bb9 executor: supports as of timestamp compatibility (#25019) 2021-06-02 11:29:38 +08:00
d435129d01 executor: make set transaction as of timestamp supports select statement (#24984) 2021-06-01 16:29:38 +08:00
11019d6f34 ddl: add admin_checksum_table compatibility for temporary table (#24867) 2021-05-31 15:47:36 +08:00
963288a68c planner: build plan for CTE (#24792) 2021-05-28 16:47:35 +08:00
f3557bb591 planner, executor: supports select statement with AS OF (#24613) 2021-05-27 21:11:35 +08:00