Commit Graph

157 Commits

Author SHA1 Message Date
649ed6abc9 *: Log SQL statement when coprocessor encounteres lock (#27735) 2021-09-08 20:21:03 +08:00
d05660c834 config, server, executor: Reduce RSA keysize in testing (#27393) 2021-08-30 14:28:13 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
f0d4257ec0 util: Automatically create TLS certificates (#24141) 2021-08-04 15:29:08 +08:00
2b192e3149 topsql: refine collect information for DDL and internal SQL (#26047) 2021-07-15 16:13:36 +08:00
f23e1004ac *: Support for caching_sha2_password authentication (#24991) 2021-07-05 11:15:28 +08:00
7fb431c6b0 executor: Let the SHUTDOWN statement do a graceful shutdown (#25673) 2021-06-28 16:35:25 +08:00
57792c3d11 *: Fix ALTER USER privilege requirements (#25461)
* executor, planner: Allow ALTER USER to work on current user


Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-06-17 13:47:53 +08:00
xhe
3c979129fc executor: mutex snapshot with txn (#25468) 2021-06-17 00:26:37 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
faf139eae1 executor: Fix losing the auth string on changing SSL/TLS requirements (#25268) 2021-06-10 23:22:29 +08:00
d435129d01 executor: make set transaction as of timestamp supports select statement (#24984) 2021-06-01 16:29:38 +08:00
c287bcb48c executor: Add plugin column to mysql.user (#24894) 2021-05-28 16:33:36 +08:00
acf5e52ffc session, executor: fix misleading function name and move staleness test (#24902) 2021-05-26 15:31:35 +08:00
6e9d2750ae executor: implement set transaction read only as of transaction (#24766) 2021-05-25 16:39:38 +08:00
98f0d76bc7 *: clean up the deserted syntax of START TRANSACTION READ ONLY (#24813) 2021-05-25 14:25:33 +08:00
xhe
bfdad7c752 *: milisecond test and infoschema fix (#24820) 2021-05-24 18:27:34 +08:00
6bfc5f8b44 *: support AS OF TIMESTAMP read-only begin statement (#24740) 2021-05-20 20:54:22 +08:00
a2278dfdf5 oracle: simplify timestamp utilities (#24688) 2021-05-20 02:53:41 +08:00
15dfd7bdd3 *: Implementing RENAME USER (#24413) 2021-05-20 00:09:41 +08:00
xhe
2ca98e393c *: compatibility with staleread (#24285) 2021-05-17 19:53:39 +08:00
d2bdfd51b7 store/tikv: move transaction options out to /kv (#24619) 2021-05-13 17:49:39 +08:00
xhe
9e13287d9d *: remove SchemaVersion in TransactionContext (#24236) 2021-05-11 10:31:39 +08:00
xhe
5e9e0e6e37 *: consitent get infoschema (#24230) 2021-05-10 21:00:36 +08:00
75913fdc9c executor,kv: support timebounded staleness transaction (#23866) 2021-04-27 15:44:00 +08:00
2de4a918ac variable: refactor session/global validation (part 8) (#24100) 2021-04-23 12:07:54 +08:00
eb2b0ca182 ddl: grant nonexistent user/role incompatible error (#23853) 2021-04-17 00:37:51 +08:00
cf813dc63b *: protect read only noop via tidb_enable_noop_functions (#23818) 2021-04-15 17:07:54 +08:00
90d02b2eed *: add support for dynamic privileges (#22778) 2021-04-01 00:17:24 +08:00
efe172b0e0 store/tikv:move option from kv to tikv, and make define as a normal int (#23171) 2021-03-22 20:13:36 +08:00
c4f398948c *: add infoschema client errors (#22382) 2021-03-11 19:06:55 +08:00
d3fe2187a9 statistics: introduce a new kind of syntax to drop global-stats (#23061) 2021-03-03 14:50:54 +08:00
d94920e4a9 statistics: support dropping partition/global level statistics (#23023) 2021-03-02 16:52:48 +08:00
b226130926 session: fix linearizability for non-autocommit async-commit txn (#22879)
* fix linearizability for non-autocommit async-commit txntxn

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

* add IsExplicit flag

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

* set missing cases

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

* remove redundant assignment

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

* revert go sum change

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

* fmt

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

* clarify comment

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-02-24 13:32:48 +08:00
xhe
4172f473da *: adapt new api for the executor package (#22644)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-02-04 17:32:15 +08:00
2fc1703a9c session, exectutor: Guarantee external consistency by default; Add an explicit begin statement to disable it (#22597)
Signed-off-by: ekexium <ekexium@gmail.com>
2021-02-04 16:09:46 +08:00
93d3d04092 executor: support checking schemaVer before staleness transaction begins (#22679) 2021-02-04 11:48:45 +08:00
4c0fe88a71 store/tikv: resolve sessionctx dependency (#22584)
Signed-off-by: disksing <i@disksing.com>
2021-01-29 17:09:14 +08:00
0aa476034a go.mod, statistics, planner: replace TIDB_STATS with STATS_EXTENDED (#22492) 2021-01-25 21:18:07 +08:00
d0ca720a5f *: support ALTER TABLE ADD / DROP TIDB_STATS (#22127) 2021-01-14 15:28:28 +08:00
76054200b6 statistics: redesign the schema for mysql.stats_extended (#22033)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-01-04 17:57:24 +08:00
eae64e40fe executor: support exact staleness begin statement (#21897) 2020-12-31 22:08:14 +08:00
efc0759961 *: add enable-global-kill with default value FALSE (#21859) 2020-12-17 20:48:34 +08:00
3cbfec31d9 *: add a switch for extended stats to disable the feature by default (#21716) 2020-12-15 18:27:23 +08:00
e01f5e41c2 store, session: Introduce system variable to control ratelimit action (#21259) 2020-11-25 20:27:38 +08:00
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
2f067c0542 *: redact arguments for Error (#20436) 2020-10-21 14:44:08 +08:00
fa81ec51b4 *: refactor sysvars to allow component registration (#20289) 2020-09-29 14:04:24 +08:00
31a91d825c config: remove pessimistic-txn.enable in config (#20008)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-09-16 10:53:08 +08:00
bba4c64a00 executor: fix alter user statement for user() and current_user() (#19345) 2020-08-27 15:55:19 +08:00