93d3d04092
executor: support checking schemaVer before staleness transaction begins ( #22679 )
2021-02-04 11:48:45 +08:00
7a275a77bb
store/tikv: move EtcdBackend out ( #22676 )
...
Signed-off-by: disksing <i@disksing.com >
2021-02-03 14:59:57 +08:00
6c1a6dd631
store/tikv: move tikv driver out ( #22651 )
...
Co-authored-by: Shirly <wuxuelian@pingcap.com >
2021-02-02 16:28:54 +08:00
4e471d7cb1
*: move new api out of session package ( #22591 )
...
Signed-off-by: xhe <xw897002528@gmail.com >
2021-01-30 07:24:44 +08:00
ea6ccf82e9
*: refactor the RestrictedSQLExecutor interface ( #22579 )
2021-01-29 12:56:44 +08:00
871856db04
store/tikv: export failpoints ( #22539 )
...
Signed-off-by: Andy Lok <andylokandy@hotmail.com >
2021-01-27 17:13:30 +08:00
ae0057da71
*: preventing SQL injection ( #22499 )
...
Signed-off-by: xhe <xw897002528@gmail.com >
2021-01-26 18:52:08 +08:00
a6b2cbe051
ddl: fix GetLeaderDCByBundle error ( #22517 )
2021-01-25 21:00:19 +08:00
dd8fd16145
session: add testcases for staleness transaction ( #22438 )
...
Signed-off-by: Song Gao <disxiaofei@163.com >
2021-01-21 20:47:59 +08:00
289bc7e79c
ddl: concurrent safe api for using rule bundles cache ( #22035 )
...
Signed-off-by: xhe <xw897002528@gmail.com >
2021-01-13 10:58:58 +08:00
390eeeb570
session: support validating read-only statement during read-only staleness transaction ( #22048 )
2021-01-08 16:50:58 +08:00
cec1a92658
session, sessionctx: remove unused GetAllSysVars ( #22284 )
2021-01-08 14:58:58 +08:00
ec73315dce
*: Move tikv gc configuration to sysvars ( #21988 )
2021-01-07 13:59:44 +08:00
57cd694731
session: set process info before building plan ( #22101 )
2021-01-04 14:46:15 +08:00
0217a00191
session: add more Local Txn tests ( #22020 )
...
Signed-off-by: JmPotato <ghzpotato@gmail.com >
2020-12-29 17:03:16 +08:00
b1bd2856ca
config: disable list partition by default since it's an experimental feature ( #22045 )
2020-12-29 09:56:18 +08:00
38792204f9
executor, session, sessionctx: make last_plan_from_cache and last_plan_from_binding read-only ( #21953 )
2020-12-24 16:09:30 +08:00
5aebcee5cf
executor, session, sessionctx: fix the error message of read-only variable is corrupted ( #21948 )
2020-12-23 20:09:00 +08:00
9ef7246d29
executor: fix data race in extractTxnScope ( #21929 )
2020-12-23 15:34:30 +08:00
ce5ce53fa9
ddl, distsql: Support forbiding cross txnScope query all *Reader Executor ( #21650 )
2020-12-21 15:30:30 +08:00
291d0b8ee6
txn: disable amend by default on master ( #21829 )
2020-12-16 13:34:04 +08:00
9c3e106374
session: add default_week_format to builtinGlobalVariable ( #21511 )
2020-12-10 08:34:53 +08:00
d19a21d92a
ddl, server, session: make gocritic happy ( #21544 )
2020-12-08 12:09:48 +08:00
22e5ebd310
*: use the Local TSO to update ForUpdateTS ( #21490 )
...
Signed-off-by: JmPotato <ghzpotato@gmail.com >
2020-12-04 13:41:47 +08:00
43cccbb72f
*: dispatch the local and global transactions ( #21353 )
...
Signed-off-by: JmPotato <ghzpotato@gmail.com >
2020-12-04 10:34:48 +08:00
e01f5e41c2
store, session: Introduce system variable to control ratelimit action ( #21259 )
2020-11-25 20:27:38 +08:00
205f77bff9
session: fix unit test TestUnionScanForMemBufferReader ( #21258 )
2020-11-25 17:55:34 +08:00
afb2ab95f0
table: fix zero date in different sqlmode ( #20206 )
2020-11-24 12:46:51 +08:00
91cd12f83f
store: update the PD client to support the Global/Local TSO ( #20980 )
2020-11-19 15:30:43 +08:00
2b363fb80d
*: support to modify config server-memory-quota-ratio dynamically ( #20927 )
2020-11-19 13:40:31 +08:00
629ef07597
plan: fix the IsSelectForUpdateLockType check ( #21125 )
2020-11-19 12:24:23 +08:00
f72cec77b6
*: support SQL bind for Update / Delete / Insert / Replace ( #20686 )
2020-11-17 15:19:04 +08:00
8eaccd41a9
variable: add txn_scope sys var ( #20721 )
2020-11-12 11:09:54 +08:00
b2e6df07c8
session: Support Variable-Setting Hint SET_VAR ( #20232 )
2020-10-28 14:27:13 +08:00
2f067c0542
*: redact arguments for Error ( #20436 )
2020-10-21 14:44:08 +08:00
106b04ddab
*: Fix sysvars to native type in @@ context ( #20394 )
2020-10-19 14:13:43 +08:00
c679f847fc
*: Bug Fix/CLUSTER_INFO system table may not work after PD is scaled-in ( #19355 )
2020-09-16 11:50:03 +08:00
f699bd81a2
session: cleanup an useless function ( #19977 )
2020-09-15 21:48:20 +08:00
794aa02625
sessionctx/variable: fix cannot select session scope ScopeNone variable ( #19584 )
2020-09-11 11:33:35 +08:00
f82e5320ad
ddl: handle store closed in doDDLJob ( #18844 )
...
* ddl: handle store closed in doDDLJob
* fix typo
* fix test
* fix test
* address comment
* address comments
* fix test
* address comment
* address comment
* fix data race
* fix data race
* don't repeat code
* address comment
* adress comment
* avoid failpoint change between two injection
* add comments
* change behaviour, fix test
* fix build option
* remove used variable
* Revert "remove used variable"
This reverts commit df93c431163515a496015f20f323ea91480f0020.
* modify comment
* try fix deadlock
* try fix deadlock
* try fix test
Co-authored-by: Arenatlx <ailinsilence4@gmail.com >
Co-authored-by: Lynn <zimu_xia@126.com >
2020-09-01 11:27:33 +08:00
b6560d0e00
update lease ( #19382 )
2020-08-24 18:14:58 +08:00
931ff98df5
simple fixes for the staticcheck linter ( #18923 )
...
Note that this found 2 bugs where errors were being silently ignored.
These are really simple fixes that didn't require much thought.
There are still more staticcheck warnings that should be fixed.
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-06 13:38:17 +08:00
031143abbb
brie: update test to create mutli tables ( #18993 )
2020-08-06 11:17:12 +08:00
22243f8e53
test: fix unstable TestPessimisticLockOnPartition ( #18963 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-04 13:47:33 +08:00
5973d144de
brie: add integration test for br ( #18797 )
...
* brie: add integration test for br
* update br dependency
* fix ci
* fix ci
* address comment
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-07-28 19:59:02 +08:00
1fed1fb895
tests: remove incorrect use of FLUSH PRIVILEGES ( #18361 )
2020-07-24 23:25:14 +08:00
ef913dc0c8
*: fix some missing set kv variables ( #18620 )
...
Signed-off-by: Tina Fritz <tina77fritz@gmail.com >
2020-07-17 15:05:47 +08:00
180c021271
kv: fix KVVars not set on Transaction ( #18351 )
2020-07-03 16:20:02 +08:00
c98514e751
executor: unify executor concurrency ( #16999 )
2020-06-22 17:39:32 +08:00
b59cb1a94d
planner, session, util: support Insert hint ( #16966 )
2020-06-17 15:56:01 +08:00