Commit Graph

4899 Commits

Author SHA1 Message Date
2e1e3f1269 *: Introduce OptimisticTxnContextProvider for optimistic txn (#35131)
close pingcap/tidb#35130
2022-06-21 00:04:37 +08:00
ed094b4dac *: fix store token is up to the limit in test (#35374)
close pingcap/tidb#35375
2022-06-20 23:04:38 +08:00
712e51ae4f executor: separte analyze v1/v2 code for for analyzeExec (#35312)
ref pingcap/tidb#35200
2022-06-17 19:36:36 +08:00
45a9a7e5ab txn: fix bug that some times lock ts and read ts are not the same (#35470)
close pingcap/tidb#35459
2022-06-17 18:20:36 +08:00
d3b79de20b planner: fix the wrong cost formula of MPPExchanger (#35438)
ref pingcap/tidb#35240
2022-06-17 13:26:35 +08:00
428
79d9d6fa75 executor, sessionctx/variable: convert some system variables to different builtin types (#35143)
close pingcap/tidb#35048
2022-06-17 02:34:34 +08:00
d25adf057d load_data: fix the bug that column list does not work in load data. (#35222)
close pingcap/tidb#35198
2022-06-16 21:36:36 +08:00
081bd10d54 system_variables: remove the limitation for set tidb_gc_life_time (#35411)
close pingcap/tidb#35392
2022-06-16 18:18:35 +08:00
4fc9551dd1 sessionctx, types, executor: support encoding and decoding user-defined variables (#35343)
close pingcap/tidb#35288
2022-06-15 21:02:34 +08:00
2ba2a9ef56 planner: Manual revert of #24282 (#35298)
ref pingcap/tidb#22079, closes pingcap/tidb#33966, close pingcap/tidb#35181
2022-06-14 23:48:33 +08:00
2487dc76e6 *: update client-go to improve availability on tikv failure (#35364)
close pingcap/tidb#34906
2022-06-14 22:08:33 +08:00
ad1cb783c4 *: support paging protocol on unistore (#35244)
ref pingcap/tidb#35242, close pingcap/tidb#35243
2022-06-14 21:46:33 +08:00
4c443d5d24 executor: close RecordSet in the ddl_test and write_test (#35373)
ref pingcap/tidb#31716
2022-06-14 20:48:33 +08:00
e1f9e0affe executor: fix panic when granting privilege to a non-exists user (#35365)
close pingcap/tidb#35310
2022-06-14 16:52:33 +08:00
395ccbe22d privilege: limit the privileges in memory schemas (#35260)
close pingcap/tidb#35205
2022-06-13 18:42:32 +08:00
d3e9114f44 *: enable more flaky test, enable more shard_count and update bazel config (#35300)
ref pingcap/tidb#35247
2022-06-13 17:52:32 +08:00
5d4745e9d4 parser, executor: support show/set session_states (#35263)
close pingcap/tidb#35259
2022-06-10 15:24:31 +08:00
b0245cda58 *: clean up coprocessor streaming code (#35277)
close pingcap/tidb#35276
2022-06-10 10:50:31 +08:00
017ac90e67 planner: introduce some new variables for the cost model version2 (#35241)
ref pingcap/tidb#35240
2022-06-09 17:52:30 +08:00
76e25d2847 executor: unstable test TestFlushTables move to standalone sandbox (#35246)
ref pingcap/tidb#35247
2022-06-09 16:54:30 +08:00
961aadd75a executor: refactor analyze executor (#35201)
* refactor analyze

Signed-off-by: yisaer <disxiaofei@163.com>

fix lint

Signed-off-by: yisaer <disxiaofei@163.com>

fix lint

Signed-off-by: yisaer <disxiaofei@163.com>

* address the comment

Signed-off-by: yisaer <disxiaofei@163.com>

* address the comment

Signed-off-by: yisaer <disxiaofei@163.com>

Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-06-09 11:47:11 +08:00
b6129af831 *: delete from mysql.columns_priv when drop a user (#35100)
close pingcap/tidb#35059
2022-06-08 21:18:31 +08:00
f3493327ce executor: clean test code (#35238)
ref pingcap/tidb#31716
2022-06-08 20:36:30 +08:00
5eab3623fc util: fix data race in ListInDisk (#35199)
close pingcap/tidb#35191
2022-06-08 10:26:29 +08:00
8a4d457068 executor: reuse iterator4Slice and Row/RowPtrs slice in HashJoin. (#34878)
ref pingcap/tidb#33877
2022-06-07 16:42:29 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
0f4641aaf0 ddl: fix wrong default value (#34947)
close pingcap/tidb#34881
2022-06-07 10:22:29 +08:00
85967fd3be *: implement chunk rpc encoding for unistore (#35114)
close pingcap/tidb#35113
2022-06-06 23:20:29 +08:00
cc46266e4a ddl: fix alter column drop default (#35072)
close pingcap/tidb#35018
2022-06-06 16:22:29 +08:00
b860500988 executor: do not append extra cols to the old row when updateDupRow (#33656)
close pingcap/tidb#33608
2022-06-06 15:30:29 +08:00
22e9f4dc9e txn: Provide PessimisticRCTxnContextProvider for RC isolation (#34702)
close pingcap/tidb#34746
2022-06-02 15:36:28 +08:00
26df62fef2 test: improve some tests (#35092)
ref pingcap/tidb#32031
2022-06-01 18:50:28 +08:00
c133e7478c *: support SHOW TABLE STATUS with case insensitivity (#35086)
close pingcap/tidb#7518
2022-06-01 18:14:27 +08:00
69b573ca7d executor: fix compatibility issue of release savepoint (#35064)
close pingcap/tidb#35063
2022-06-01 15:20:27 +08:00
1304718bd5 executor: fix show collation like case sensitive issue (#35089)
close pingcap/tidb#35047
2022-06-01 13:12:27 +08:00
bba94f97e7 statistics: fix incorrect ndv caused by missing fmsketch (#35082)
close pingcap/tidb#35044
2022-06-01 12:56:27 +08:00
c8468a7010 distsql,executor: using paging protocol for all coprocessor requests (#35068)
close pingcap/tidb#35067
2022-06-01 11:06:27 +08:00
f1694589f4 txn: Add lock resolving to data_lock_waits (#33993)
close pingcap/tidb#34609
2022-06-01 00:30:26 +08:00
b24ef9a9a7 *: fix panic when mergeGlobalStats for newly-added index or column (#35066)
close pingcap/tidb#35056
2022-05-31 16:10:27 +08:00
933d5523cb parser: fix the Incompatible parser behavior for HAVING clause #34642 (#34751)
close pingcap/tidb#34642
2022-05-30 22:52:26 +08:00
1fac141f35 *: close the resource on error to aovid resource leak (#34837)
close pingcap/tidb#34666, ref pingcap/tidb#34849
2022-05-30 18:00:27 +08:00
5b804ccfdf planner: firstrow agg func should infer return type as nullable for EQAll special case (#34585)
close pingcap/tidb#34584
2022-05-30 17:20:27 +08:00
dbce66a055 test: fix integration-ddl-test (#35014)
close pingcap/tidb#35020
2022-05-30 16:00:27 +08:00
b598bd2214 *: support savepoint in transaction (#34466)
close pingcap/tidb#6840
2022-05-30 14:38:27 +08:00
b3d7a8e85f executor: fix show database like case sensitive issue#34766 (#34925)
close pingcap/tidb#34766
2022-05-30 13:58:26 +08:00
eb46685055 *: add methods to session.Context and refactor some code about ddl (#34699)
close pingcap/tidb#32031
2022-05-30 12:46:26 +08:00
7f023bd61b ddl: wrap some functions for ddl job (#34920)
close pingcap/tidb#34919
2022-05-29 15:38:26 +08:00
dfb22c064d config, executor, sessionctx/variable: Remove old config items (#34927)
close pingcap/tidb#34867, close pingcap/tidb#34879, close pingcap/tidb#34945
2022-05-29 05:22:48 +08:00
ee800f4e5e planner: check infoSchema when builing cacheKey (#34957)
close pingcap/tidb#34974
2022-05-27 19:42:48 +08:00
43f83c0799 *: kill auto analyze when it runs too long (#34950)
close pingcap/tidb#34952
2022-05-27 13:36:47 +08:00