Commit Graph

154 Commits

Author SHA1 Message Date
202f72389a planner: support create binding from history (#39436)
ref pingcap/tidb#39199
2022-12-01 19:50:03 +08:00
adcacd8d89 planner: support drop binding by sql digest (#39399)
ref pingcap/tidb#39199
2022-11-30 21:02:01 +08:00
88ad3f486d infoschema, planner: lock the new table id in tryLockMDLAndUpdateSchemaIfNecessary (#39366)
close pingcap/tidb#39363
2022-11-25 16:11:59 +08:00
c69513d328 planner: return the proper error for metadata lock so that it can be retry (#39141) 2022-11-15 00:31:54 +08:00
94aa804096 auto_inc,constraint: Ignore check constraint for auto-increment check (#38966)
close pingcap/tidb#38894
2022-11-10 12:29:52 +08:00
490e4c4d60 session, sessionctx: enable metadata lock by default (#38866)
close pingcap/tidb#37275, ref pingcap/tidb#38890
2022-11-07 09:37:50 +08:00
5ee578c21b planner, session: use SessionExtendedInfoSchema if snapshot isn't set (#38794)
close pingcap/tidb#38791
2022-11-03 16:48:02 +08:00
300d9e7c63 ddl: Support flashback schema (#37438)
close pingcap/tidb#20463
2022-10-19 15:03:54 +08:00
bd014d67e0 *: add context for preprocess (#38360)
close pingcap/tidb#38359
2022-10-18 17:27:53 +08:00
150813dd86 preprocessor, planner: inline processing by default for single-consumer cte (#37800) 2022-09-29 00:09:40 +08:00
d53a2ea21d ddl: fix issue when add foreign key ddl job (#38206)
close pingcap/tidb#38168
2022-09-28 17:45:45 +08:00
3f85f8e4ed Compatibility: SQL_SELECT_LIMIT worked in show statement; (#33696)
close pingcap/tidb#33407
2022-09-28 13:19:45 +08:00
c4638b70fd *: support metadata lock (#37393)
ref pingcap/tidb#37275
2022-09-18 20:57:00 +08:00
9036de3394 *: support create table with foreign key and maintain foreign key reference (#37148)
close pingcap/tidb#37147
2022-09-07 13:22:56 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
624171abcc *: decouple planner/core from ddl package (#36608) 2022-07-27 21:15:12 +08:00
beee5f314c *: fix revive in the planner (#36249) 2022-07-27 11:39:11 +08:00
157c178f27 *: seperate TxnScope and ReplicaReadScope (#35877)
close pingcap/tidb#31772
2022-07-05 11:33:02 +08:00
5b305c34f8 txn: manage the initialization of RCCheckTS by transaction context provider (#35554)
close pingcap/tidb#35497
2022-06-29 16:14:39 +08:00
e752e1c020 parser: XXXDatabaseStmt now use CIStr for DB name (#35668)
close pingcap/tidb#35622
2022-06-24 19:04:37 +08:00
2e1e3f1269 *: Introduce OptimisticTxnContextProvider for optimistic txn (#35131)
close pingcap/tidb#35130
2022-06-21 00:04:37 +08:00
8133329043 fix(cast): check cast as datetime with precision of fractional seconds part (#34968)
close pingcap/tidb#34713
2022-06-01 00:14:27 +08:00
ee800f4e5e planner: check infoSchema when builing cacheKey (#34957)
close pingcap/tidb#34974
2022-05-27 19:42:48 +08:00
2258bc54c4 txn: Add EnterNewTxn and OnStmtStart methods to TxnManager (#34263)
close pingcap/tidb#34390
2022-05-07 21:02:32 +08:00
fa5e19010b planner: preprocessor add CTE recursive check when handleTableName (#34133)
close pingcap/tidb#34090
2022-05-06 15:24:56 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
6b3b73bbec *: ensure TxnContextProvider not nil in preprocess (#34232)
ref pingcap/tidb#33832
2022-04-26 16:16:52 +08:00
d23a81488a *: Move stale read context to TxnManager (#33812)
close pingcap/tidb#31954, close pingcap/tidb#33014, close pingcap/tidb#33832
2022-04-25 16:52:51 +08:00
dbd8f15302 *: Add support for execute prepared statement to staleread.Processor (#32941) 2022-04-07 14:33:19 +08:00
f6a44bf72c *: add limitation for UserName and HostName. (#33224)
close pingcap/tidb#32682
2022-03-21 16:06:33 +08:00
a1d8f2f3ac *: remove ddl dependency (#32910)
ref pingcap/tidb#31716
2022-03-09 08:15:48 +08:00
f79d2a5666 *: Provide staleReadProcessor to process stale read (#32699)
close pingcap/tidb#32697
2022-03-08 19:23:49 +08:00
a3502906ec planner, ddl: convert large varchar for create table in non-strict mode (#31974)
close pingcap/tidb#30328
2022-03-02 13:09:45 +08:00
f5eb1e9fef ddl: Added check for partition name ending with space (#31785)
close pingcap/tidb#31535
2022-02-14 18:29:38 +08:00
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