e42c825979
server, session: refine mysql handshake error log ( #15731 )
2020-03-28 19:18:35 +08:00
a888c6d06a
*: add the tid to the schema-change related tables only when keys need to be locked ( #15698 )
2020-03-26 11:17:38 +08:00
6905549bf6
*: support more system variables in statement summary ( #15508 )
2020-03-25 16:07:10 +08:00
5282d089c7
executor: support generated column on point get and batch point get ( #15544 )
2020-03-23 14:21:35 +08:00
bbac2b2fe4
executor: Improve the performance of aggFuncSum by using sliding window ( #14887 )
2020-03-23 13:29:44 +08:00
3906d5a4da
store: convert request error to warning when cop request to tidb ( #15410 )
2020-03-23 13:19:39 +08:00
7ceb49f5bc
*: do not add extra locks for optimistic transactions ( #15558 )
2020-03-23 09:19:30 +08:00
4e6151ee00
stmtsummary: cache digest in CachedPlanExec ( #15464 )
2020-03-21 17:48:01 +08:00
df6f378267
stmtsummary: add a switch to decide whether capture internal q… ( #15461 )
2020-03-20 17:39:11 +08:00
7e570b1512
*: read committed transaction gets a wrong snapshot with subquery ( #15471 )
2020-03-19 12:01:22 +08:00
28869fa024
serssion, server: fix the correctness of the query field in the DDL job ( #15435 )
2020-03-18 11:06:13 +08:00
af861eeba2
planner: support hint USE_CASCADES(true|false) to use/disuse cascades planner in a single query ( #15352 )
2020-03-16 19:35:24 +08:00
1b3b6f0e80
*: make 'password' in mysql.user as a generated column of authentication_string ( #15311 )
2020-03-16 15:26:24 +08:00
6f95edbaee
session: reorganize session unit test suite ( #15279 )
2020-03-16 12:20:23 +08:00
f96884af93
*: fix BatchPointGet return empty value for already locked key. ( #15365 )
2020-03-14 18:43:31 +08:00
696e00b80b
session: fix the txn.Size() function for TxnState ( #15282 )
...
TxnState implements the kv.Transaction, its Size() method should
consider the cached transaction data.
2020-03-12 19:54:10 +08:00
35468b1e39
txn: get txn status does not block if txn not found ( #15300 )
2020-03-12 15:14:04 +08:00
9f0736ee8b
errno: move the error code from the parser/mysql to tidb/errno ( #15277 )
2020-03-11 15:40:21 +08:00
0abbd9865d
server: make unique index could be used in fast path for batch point get, and do lock keys ( #15266 )
2020-03-11 14:32:04 +08:00
248be5bba5
planner: push down Lock to PointGet and BatchPointGet ( #15257 )
2020-03-11 13:58:32 +08:00
9905a26ea0
txn: fix UpdateForUpdateTS for non autocommit pessimistic mode ( #15244 )
2020-03-10 17:11:39 +08:00
2d5d2fde27
*: fix the same future wait twice in RC transaction ( #15117 )
2020-03-06 00:05:54 +08:00
e9ba1446f6
executor: support SELECT FOR UPDATE for BatchPointGet ( #15129 )
2020-03-05 19:47:16 +08:00
50d6b26899
test: stablize read lock check case ( #15094 )
2020-03-04 23:06:16 +08:00
d9120981fa
mocktikv: change pessimistic lock return value skip op_lock in mocktikv ( #15132 )
2020-03-04 22:29:16 +08:00
8e10e90e31
*: add config diagnose and fix warning ( #15107 )
2020-03-04 16:58:46 +08:00
92438644d9
session: add test case for retrying union statement ( #15051 )
2020-03-04 11:17:13 +08:00
9ae471c0ee
*: fix data race for plan cache ( #14756 )
2020-03-03 16:03:09 +08:00
b3469e7964
*: fix a bug that the pessimistic lock doesn't work on a partition ( #14921 )
...
physicalID should be used if 'select for update' works on a
partitioned table.
2020-03-03 15:06:45 +08:00
e7272e08ed
session: fix mis-spell ( #15070 )
2020-03-02 23:52:39 +08:00
7beea97940
mocktikv: add write op_lock for mocktikv ( #14991 )
2020-03-02 15:53:41 +08:00
41142266b2
*: use SetString() for string instead of SetBytes() ( #14989 )
2020-03-02 15:48:10 +08:00
7fa56616f8
executor: refactor the tso future in RC isolation ( #14966 )
2020-03-02 15:38:10 +08:00
332cef97f5
*: support index encode/decode for new collation ( #14876 )
2020-02-27 11:33:33 +08:00
4369c22715
test: stable lock wait test ( #14925 )
2020-02-25 16:06:07 +08:00
a7bdb82402
*: Reduce memory operations by simply passing size hint to make ( #14922 )
2020-02-25 15:44:36 +08:00
b2a5a81aa9
txn: resolve left secondary lock to avoid dead loop ( #14787 )
2020-02-21 16:12:41 +08:00
5a00c80e4b
test: fix data race in TestDisableTxnAutoRetry ( #14825 )
2020-02-19 21:22:33 +08:00
a528e60e3b
*: add auto_random id cache for statement retrying and table recover ( #14711 )
2020-02-19 18:53:03 +08:00
c7cda1a0c9
session: fix unexpect '0' written to new_collation_enabled value. ( #14842 )
2020-02-19 17:03:46 +08:00
344c48d3b4
*: change field name 'password' to 'authentication_string' in mysql.user ( #14598 )
2020-02-19 11:58:42 +08:00
713099c1ad
*: add a configuration entry to control if new collations are enabled ( #14734 )
...
Configuration entry `new_collations_enabled_on_first_bootstrap` is
added, which determines if the new collations can be enabled when a
TiDB cluster is initialized for the first time.
2020-02-17 15:56:24 +08:00
1aa0a7d6b3
session: make unit test TestDeadlock more stable ( #14805 )
2020-02-15 23:02:53 +08:00
9543a0f4a6
*: re-implement partition pruning for better performance ( #14679 )
2020-02-14 19:18:49 +08:00
ef5fffb0c9
session: make unit test TestOptimisticConflicts more stable ( #14746 )
2020-02-14 14:55:18 +08:00
2f926df501
executor: add diagnosis rule to detect cluster critical errors ( #14743 )
2020-02-13 19:34:04 +08:00
62e48ca046
test: optimize session tikv test ( #14709 )
2020-02-12 18:07:18 +08:00
7ecb7e6f48
infoschema: add metrics_summary_by_label table to query all detail metrics ( #14663 )
2020-02-11 14:08:11 +08:00
465af00b46
*: use new registrable terror ( #14606 )
2020-02-06 16:40:26 +08:00
97a049a2be
*: make Backoff perceive the Killed flag to fix MAX_EXECUTION_TIME ( #14552 )
2020-02-03 12:31:56 +08:00