2a5fb55194
session: stabilize test TestBatchCommit ( #18625 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-07-16 12:52:18 +08:00
c277e67ac9
session: add a mutex in TxnState.initStmtBuf ( #18617 )
2020-07-16 11:40:16 +08:00
297acf7e82
log: add tidb_log_desensitization global variable to control whether do desensitization when log query ( #18578 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-07-15 15:44:56 +08:00
761a961ba0
kv: refactor MemBuffer and reduce the memory usage ( #18372 )
2020-07-15 15:26:25 +08:00
b122d58ccb
executor: add deprecation warning for hash_join_concurrency ( #18453 )
...
Signed-off-by: niedhui <niedhui@gmail.com >
2020-07-13 19:29:37 +08:00
2b0b34b88e
executor: kill tableReader for each connection correctly ( #18277 )
2020-07-09 18:09:08 +08:00
2dfae9850a
executor: make hashjoin using executor_concurrency ( #18213 )
2020-07-08 13:41:10 +08:00
3cd5260773
ddl: collect actionTypes for schema change ( #18195 )
...
* record action types in schema change history
* change comments
* remove comment
* refactor, remove some params and return values
* change value to pointer, remove useless comments
* refactor comments
* change return value
* refactor
* remove all info
* fix action type append
* update comment
Co-authored-by: Lynn <zimu_xia@126.com >
2020-07-08 11:41:09 +08:00
180c021271
kv: fix KVVars not set on Transaction ( #18351 )
2020-07-03 16:20:02 +08:00
4eb9d83eae
*: allow different shard_row_id prefixes in one transaction ( #18181 )
...
* *: allow different shard_row_id prefixes in one transaction
* Apply suggestions from code review
Co-authored-by: tangenta <tangenta@126.com >
* Update sessionctx/variable/session.go
Co-authored-by: tangenta <tangenta@126.com >
* add comments
* add unit test
* add var validation
* update builtinGlobalVariable
Co-authored-by: tangenta <tangenta@126.com >
2020-06-29 14:38:06 +08:00
773b29102d
charset: add missing ascii check( #18193 )
2020-06-27 15:34:26 +08:00
3b63270909
telemetry: Add telemetry initial implementation ( #18180 )
...
Signed-off-by: Breezewish <me@breeswish.org >
Co-authored-by: crazycs <crazycs520@gmail.com >
Co-authored-by: Lynn <zimu_xia@126.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-06-24 14:41:46 +08:00
c98514e751
executor: unify executor concurrency ( #16999 )
2020-06-22 17:39:32 +08:00
63c0ef8e5d
planner: save explain result of plan in session for `explai ... ( #17687 )
2020-06-19 14:07:53 +08:00
c2c02cde4b
*: support record kv/pd time for a SQL statement ( #17591 )
2020-06-18 21:17:48 +08:00
b59cb1a94d
planner, session, util: support Insert hint ( #16966 )
2020-06-17 15:56:01 +08:00
b8fb4b0965
metrics: distinguish transactions by mode ( #17912 )
2020-06-15 16:20:38 +08:00
a8da23c254
test: fix data race caused by update global config ( #17964 )
...
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com >
2020-06-12 13:05:27 +08:00
f139821c82
session,executor: tiny clean up the runStmt function ( #17911 )
...
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com >
2020-06-11 22:11:58 +08:00
405a5d009d
sessionctx: add optimization-time and wait-TS-time into the slow log ( #17869 )
2020-06-10 10:41:50 +08:00
05b2e2bdcc
*: refactor Execute() and clean up code ( #17678 )
...
- implement Execute using ExecuteStmt
- Execute is only for internal usage and accept only one statement
- clean up the old execute function
2020-06-09 13:58:39 +08:00
1887f49922
session,server: refactor the execute statement processing ( #17555 )
...
The executor maybe still refering `txn` inside the Next() function.
Do not call txn.Commit() until the executor close.
2020-06-05 19:19:57 +08:00
d66d5028da
*: support plain insert on cluster index table ( #17674 )
2020-06-05 13:23:43 +08:00
35e2d3a081
*: add global variable tidb_slow_log_masking to control masking slow log query ( #17637 )
2020-06-05 09:15:41 +08:00
2c55650617
*: make QPS more realistic ( #17560 )
2020-06-04 20:00:43 +08:00
d53336bd4a
planner: support sql_select_limit session / global variable ( #17444 )
2020-06-02 18:02:29 +08:00
3adb557c97
ddl, variable: add system variable to control Clustered Index feature ( #17561 )
2020-06-02 10:48:28 +08:00
8a164d2cce
planner: improve the error message for hints defined more than once ( #16301 )
2020-06-01 23:21:18 +08:00
64f0d4d211
planner: fix wrong prepare plan after isolation read changed ( #16293 )
2020-06-01 18:02:48 +08:00
7ca3d9cadc
bindinfo, record how bindings are created in SQL bindings. ( #17254 )
2020-05-27 09:56:40 +08:00
a3d5082094
sessionctx, executor: add session var to control explicit insertion on auto_random column ( #17102 )
2020-05-26 20:32:10 +08:00
f72b5984dd
executor: set the DDL query string instead of execute ( #17407 )
2020-05-26 15:48:13 +08:00
38d63c2fa5
planner,table: optimize partition pruning performance for range columns ( #17249 )
2020-05-21 15:03:22 +08:00
997b986387
session: fix a bug that upgrading from 3.1.1 to 4.0 fails ( #17293 )
2020-05-19 21:18:24 +08:00
ac30f5322e
mockstore: introducing embedded unistore ( #17156 )
2020-05-18 17:28:44 +08:00
ea2e215ff8
*: fix a bug caused by the wrong collation setting which leads to the wrong result of collation function ( #17116 )
2020-05-15 13:30:49 +08:00
526a711c67
session, tikv: allocate task IDs for distsql requests ( #16520 )
2020-05-13 11:47:05 +08:00
8ea2ed03e7
session: Move OptimizerUseInvisibleIndexes from SmtmCtx to SessionVars ( #17040 )
2020-05-09 08:41:05 +08:00
26e946d25e
plannercore: ignore invisible indexes in optimizer ( #15421 )
2020-05-07 11:00:40 +08:00
b95d8578fa
UCP: improve UT coverage of package planner, part 1 ( #16093 )
2020-05-06 20:20:09 +08:00
5d74cf582d
executor: fix unique index point get read with delete first ( #16965 )
2020-05-04 22:11:56 +08:00
30f6f32708
tests: abstract Cluster interface for introducing new mock... ( #16940 )
2020-04-30 10:46:55 +08:00
2c60f3d38a
test: stable test cases ( #16913 )
2020-04-29 21:46:56 +08:00
51dabaabef
*: refactor Handle in executor package ( #16871 )
2020-04-28 21:27:19 +08:00
468b8c6f7b
executor, privilege: introduce a new privilege for the set config statement ( #16847 )
2020-04-27 14:17:38 +08:00
ae3bb97c6b
server: add forupdateTS in general log ( #16744 )
2020-04-26 10:10:14 +08:00
493b97142a
session: boostrap delete isolation engines from global variables ( #16622 )
2020-04-24 18:07:20 +08:00
35a801bc9b
txn: fix read val from lock cache from RC ( #16771 )
2020-04-24 10:24:49 +08:00
af376db3dc
*: refactor Handle in tablecodec and rowcodec ( #16705 )
...
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com >
2020-04-23 18:55:59 +08:00
c32fc6d85e
store/tikv: fix duplicated lock keys caused data inconsistency. ( #16752 )
2020-04-23 18:46:41 +08:00