Commit Graph

4945 Commits

Author SHA1 Message Date
2df6be5282 *: Make the code cleaner in session.ExecutePreparedStmt (#35943)
close pingcap/tidb#35925
2022-07-06 12:51:02 +08:00
637d00c05a ddl: refine history job code (#35967) 2022-07-06 11:43:02 +08:00
cdde0398fe sessionctx,kv,planner: add system variable for fine_grained_shuffle (#35256)
close pingcap/tidb#35342
2022-07-06 10:27:02 +08:00
114c922bc8 *: enable gosec (#35873)
ref pingcap/tidb#35345
2022-07-05 19:39:01 +08:00
441c9cde30 txn: rename snapshot related methods in txnManager. (#35912)
close pingcap/tidb#35915
2022-07-05 12:37:01 +08:00
157c178f27 *: seperate TxnScope and ReplicaReadScope (#35877)
close pingcap/tidb#31772
2022-07-05 11:33:02 +08:00
07afcb87d6 executor: Fix group_concat returns wrong results after set group_concat_max_len (#35852)
close pingcap/tidb#27751
2022-07-05 11:13:01 +08:00
e50b9430fc *: enable gci (#35823)
ref pingcap/tidb#35345
2022-07-04 14:53:02 +08:00
aec4349cac statistics: let index support LoadNeededHistograms (#35775)
ref pingcap/tidb#35764
2022-07-04 14:03:00 +08:00
e00ad2b3ef *: enable errcheck for nogo (#35704)
ref pingcap/tidb#35345
2022-07-02 22:08:39 +08:00
65e0b8e541 client: KV requests with source label (#34833)
close pingcap/tidb#33963
2022-07-01 19:46:39 +08:00
b71a23ba47 *: support coprocessor cache for paging protocol (#35787)
close pingcap/tidb#35786
2022-07-01 18:32:39 +08:00
16e5815f18 txn: txnManager providers GetReadSnapshot and GetForUpdateSnapshot. (#35788)
close pingcap/tidb#35810
2022-07-01 18:12:40 +08:00
323411dda4 *: remove support for hidden sysvars (#35740)
close pingcap/tidb#35735
2022-07-01 14:28:40 +08:00
488712661c *: Remove some useless staleness code (#35849)
close pingcap/tidb#35848
2022-06-30 17:10:38 +08:00
11f39cd77a txn: unify the management of transaction activation by TxnManager. (#35679)
close pingcap/tidb#35705
2022-06-30 13:40:39 +08:00
fe4de25ed0 ddl: CREATE/DROP INDEX, ALTER TABLE now use XXXStmt as param (#35819)
close pingcap/tidb#35665
2022-06-30 11:30:39 +08:00
47a4f3a017 *: enable unconvert (#35821)
ref pingcap/tidb#35345
2022-06-29 20:16:40 +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
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