Commit Graph

4926 Commits

Author SHA1 Message Date
f0d5f6e9cd txn: remove legacy.SimpleTxnContextProvider (#35667)
close pingcap/tidb#35666
2022-06-29 13:52:39 +08:00
41c0ab4879 *: support canceling DDL statements with KILL (#35803)
close pingcap/tidb#24144
2022-06-29 13:12:39 +08:00
c6103886b1 *: enable all gosimples (#35762)
ref pingcap/tidb#35345
2022-06-29 11:54:39 +08:00
0d6934466e ddl: DROP TABLE/VIEW/SEQUENCE now use XXXStmt as parameter (#35741)
ref pingcap/tidb#35665
2022-06-29 10:32:40 +08:00
82f0faf78a executor: fix left join on partition table generate invalid lock key (#35732)
close pingcap/tidb#28073
2022-06-28 13:08:39 +08:00
d99b358225 *: only add default value for final aggregation to fix the aggregate push down (partition) union case (#35443)
close pingcap/tidb#35295
2022-06-28 12:08:39 +08:00
31c92c67bc sessionctx: support encoding and decoding statement context (#35688)
close pingcap/tidb#35664
2022-06-27 12:20:39 +08:00
0998cba23d txn: refactor ts acquisition within build and execute phases (#35376)
close pingcap/tidb#35377
2022-06-27 11:58:38 +08:00
f53e3c72cc ddl: for schema-level DDL method parameter is now XXXStmt (#35722)
ref pingcap/tidb#35665, close pingcap/tidb#35734
2022-06-27 10:54:38 +08:00
db02b4addf *: Provide a util to "pause" session in uint test (#35529)
close pingcap/tidb#35526
2022-06-24 20:06:38 +08:00
e752e1c020 parser: XXXDatabaseStmt now use CIStr for DB name (#35668)
close pingcap/tidb#35622
2022-06-24 19:04:37 +08:00
3f8df8c389 Revert "planner: fix the wrong cost formula of MPPExchanger" (#35707)
ref pingcap/tidb#35240
2022-06-24 14:22:38 +08:00
2bd4c4a3a0 *: enable ineffassign (#35670)
close pingcap/tidb#35345
2022-06-23 16:08:37 +08:00
e2b55640c1 config, sysvar: map max-server-connections to max_connections (#35453)
ref pingcap/tidb#34960
2022-06-23 15:12:37 +08:00
df9b54bcb3 txn, session: Add (cluster_)trx_summary table (#28835)
ref pingcap/tidb#34457
2022-06-23 11:16:36 +08:00
aff49d5b8c executor: Show placement information in SHOW TABLE x REGIONS (#35202)
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-06-23 10:56:30 +08:00
193f04db70 session,sessionctx: enable tidb_enable_paging by default (#35275)
close pingcap/tidb#35273
2022-06-23 08:32:37 +08:00
d4dc6b54c6 *: enable staticcheck and prealloc on nogo (#35486)
ref pingcap/tidb#35345
2022-06-22 22:00:37 +08:00
95e13afa13 *: track the memory usage in Insert/Update/Delete executors (#34097)
close pingcap/tidb#34096
2022-06-22 19:10:38 +08:00
fc833a30b3 planner, executor: add some comments about how we decide sample rate (#34140)
ref pingcap/tidb#24182
2022-06-22 18:34:37 +08:00
2910dee858 executor: fix wrong runtime stats for ShuffleReceiver (#35293)
close pingcap/tidb#34987
2022-06-22 13:52:37 +08:00
cca81e832e charset: fix data race in the Collation.IsDefault (#35370)
close pingcap/tidb#35145
2022-06-22 11:46:36 +08:00
ff1b6ff5b8 planner: make some show stmt more fine-grained privilege check (#35493)
close pingcap/tidb#35393
2022-06-22 01:18:36 +08:00
6cefaa970c planner: add batch_point_get access object (#35230)
close pingcap/tidb#32815
2022-06-21 17:00:37 +08:00
5c9ad77ae1 *: add support for disabling noop variables (#35496)
close pingcap/tidb#8895
2022-06-21 14:10:36 +08:00
0e7f8830d0 types: fix creating partition tables fail in ANSI_QUOTES mode (#35379)
ref pingcap/tidb#24980, close pingcap/tidb#35281
2022-06-21 09:30:35 +08:00
fcfa26cb39 executor: add the missed runtime stats when the index merge partial task returns 0 row (#35297)
close pingcap/tidb#35296
2022-06-21 02:04:36 +08:00
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