Commit Graph

1088 Commits

Author SHA1 Message Date
d6a5054b72 *: global memory controller should not kill session whose mem less than limit_sess_min_size (#42803) 2023-04-07 13:02:58 +08:00
566c3f6f8e planner: refactor PreparedParams for non-prep plan cache (#42844)
ref pingcap/tidb#36598
2023-04-06 21:32:58 +08:00
4675e4e169 planner: add more test cases for non-prep plan cache (#42801)
ref pingcap/tidb#36598
2023-04-04 19:28:57 +08:00
ab26d167b2 extension: import extension for tidb-server (#42651)
ref pingcap/tidb#38493
2023-03-29 10:36:54 +08:00
a1407b29fa loaddata: split functionalities to prepare concurrent load (#42565)
ref pingcap/tidb#40499
2023-03-28 23:20:55 +08:00
976148d868 lightning: refactor for reuse part2 (#42626)
ref pingcap/tidb#40499
2023-03-28 21:26:54 +08:00
bf470aa99a planner: initialize charset, collation and repertoire correctly for parameter values (#42645)
ref pingcap/tidb#36598
2023-03-28 20:40:54 +08:00
7442a66e4b planner: fix incompatibility issues between plan-cache and expr-blacklist (#42606)
ref pingcap/tidb#36598
2023-03-27 22:00:54 +08:00
2e8a982cb0 session, com_stmt: fetch all rows during EXECUTE command (#42473)
close pingcap/tidb#41891, close pingcap/tidb#42424
2023-03-23 17:34:43 +08:00
d9149b0afa server: prefetch for DELETE and BatchPointGet when multi-statement (#29391)
close pingcap/tidb#41367
2023-03-22 20:14:42 +08:00
0fe2637137 server: fix unstable test-case TestInternalSessionTxnStartTS (#42392)
close pingcap/tidb#42269
2023-03-20 20:40:43 +08:00
479b44523b *: fix data race in the mockProxyProtocolProxy (#42358)
close pingcap/tidb#41685
2023-03-17 18:35:32 +08:00
c6ccec8689 *: fix data race at the TxnTotalSizeLimit (#42336)
close pingcap/tidb#42335
2023-03-17 12:56:40 +08:00
e09a2140ca executor: add default value for LOAD DATA batch size (#42310)
ref pingcap/tidb#40499
2023-03-16 22:04:40 +08:00
982e0dcb7f *: LOAD DATA support WITH DETACHED (#42159)
ref pingcap/tidb#40499
2023-03-15 19:48:39 +08:00
6bc625c36e server: Set default drainClientWait as 15s (#42134)
close pingcap/tidb#32110
2023-03-15 13:10:38 +08:00
19c53a32cc executor: fix broken happens-before during refactor LOAD DATA (#42235)
close pingcap/tidb#42233
2023-03-15 12:30:46 +08:00
5f8002fec7 session, com_stmt: store and restore the params for cursor fetch (#41441)
close pingcap/tidb#40094
2023-03-15 12:30:39 +08:00
e927cade5c txn: disable rc read check ts for cursor read mode (#42185)
close pingcap/tidb#42184
2023-03-14 17:44:48 +08:00
ea243088e1 load data: move param and some init logic into importer pkg (#42075)
ref pingcap/tidb#40499
2023-03-13 18:58:40 +08:00
fd91259793 executor: LOAD DATA INFILE support asterisk matching (#42050)
ref pingcap/tidb#40499
2023-03-13 13:50:39 +08:00
ed7a8a7d07 monitor: optimize the statistics of db labels (#42026)
close pingcap/tidb#42025
2023-03-09 19:53:13 +08:00
60205c5b6e *: fix data race at the UnistoreRPCClientSendHook (#42009)
close pingcap/tidb#42008
2023-03-08 17:41:12 +08:00
2cddfb3ecd domain: support more params for extract plan task (#41975)
ref pingcap/tidb#41130
2023-03-08 13:09:12 +08:00
0d7e7b875f server: enhance graceful stop by closing connections after finish the ongoing txn (#32111)
close pingcap/tidb#32110
2023-03-07 20:55:12 +08:00
a498911e7d metrics: fix lost tidb_executor_statement_total metric (#41821)
close pingcap/tidb#41820
2023-03-06 19:11:11 +08:00
b62e3638e0 domain: revise extract plan package format (#41876)
ref pingcap/tidb#41130
2023-03-06 12:31:11 +08:00
723526708d metrics: attach const label keyspace_id (#41693)
close pingcap/tidb#41698
2023-03-04 00:03:10 +08:00
1da60a3ce4 executor: check error message and refine LOAD DATA logic (#41640)
ref pingcap/tidb#40499
2023-02-28 21:19:09 +08:00
54a23ef986 adapter, txn: Move aggressive locking controlling logic to handlePessimisticXXX functions to avoid some potential misuses (#41726)
close pingcap/tidb#41724
2023-02-28 16:45:08 +08:00
b80ad030a2 server: add zip response support for extract (#41750)
ref pingcap/tidb#41130
2023-02-28 11:37:08 +08:00
4716227e7d server: support server handler for extract handler (#41682)
close pingcap/tidb#41130
2023-02-24 14:15:07 +08:00
e70d54ea91 ttl: fix the error message for TTL job trigger api in http (#41705)
close pingcap/tidb#41704
2023-02-24 10:53:06 +08:00
31e1aab5f0 *: Standardize use of conn_id=, connID= and conn= in messages (#41700)
close pingcap/tidb#41699
2023-02-23 23:13:07 +08:00
e58e602072 metric: fix panic when status.record-db-label enable (#41692)
close pingcap/tidb#41688
2023-02-23 22:05:07 +08:00
c1e4702dd4 ttl: Add a http api to trigger TTL job manually for test (#41599)
close pingcap/tidb#41597
2023-02-21 13:13:05 +08:00
65e524a73f executor: fix LOAD DATA can't use uppercase user var (#41603)
close pingcap/tidb#41596, close pingcap/tidb#41611
2023-02-21 11:47:05 +08:00
e3896bd6fb *: pin go1.20 (#41604)
close pingcap/tidb#40969
2023-02-20 23:33:05 +08:00
90412c432a lightning/parser: add more options to support LOAD DATA (#41573)
ref pingcap/tidb#41543
2023-02-20 22:51:05 +08:00
c987515367 *: upgrade go 1.20.1 (#40965)
ref pingcap/tidb#40969
2023-02-20 17:49:05 +08:00
79558c08ad metric: add some metric by database (#41477)
close pingcap/tidb#37892
2023-02-18 13:39:04 +08:00
bc95a4f022 *: lock the temp index key properly in DML (#41516)
close pingcap/tidb#41515
2023-02-17 18:19:04 +08:00
378b072294 server: fix skip test when to enable race (#41510) 2023-02-17 17:21:04 +08:00
c47bb5da53 executor: Check for column mismatch (#41411)
* executor: Check for column mismatch when the table and statement have the same number of columns

* Add test for LOAD DATA and column mismatch

* Set the correct error message for column mismatch in LOAD DATA
2023-02-16 15:32:47 +01:00
5df1913e0f session: fix upgrade (#40182)
close pingcap/tidb#41502
2023-02-16 21:30:02 +08:00
d161aa6e45 executor: LOAD DATA use lightning CSV parser (#40852)
ref pingcap/tidb#40499
2023-02-16 19:22:02 +08:00
0519e7ee6b server: support PROXY protocol fallback-able options (#41393)
close pingcap/tidb#41409
2023-02-16 18:12:03 +08:00
be740110f4 server, execute: set text for execute command (#41340)
close pingcap/tidb#41156
2023-02-13 18:16:02 +08:00
ae6054242e ddl: forbid tiflash while enabling API v2 (#41167)
ref pingcap/tidb#41166
2023-02-09 01:41:59 +08:00
8398f0fe09 *: fix a timezone data race which may cause wrong row data (#41146)
close pingcap/tidb#40710
2023-02-08 12:21:58 +08:00