Commit Graph

4916 Commits

Author SHA1 Message Date
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
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