11716e7f4a
*: use full sampling as default analyze ( #25132 )
2021-06-06 00:34:27 +08:00
a37a30b883
planner: try to fix some unstable test cases about partition table statistics ( #25026 )
2021-06-03 15:27:29 +08:00
eb2b0ca182
ddl: grant nonexistent user/role incompatible error ( #23853 )
2021-04-17 00:37:51 +08:00
46aca1ad0c
session, executor: skip some frequent unstable test cases ( #24003 )
2021-04-14 15:39:52 +08:00
b1b375e7ef
statistics: fix some unstable tests in global stats ( #23502 )
2021-03-24 16:11:37 +08:00
b81e547e66
executor: fix err check ( #22991 )
2021-03-03 19:26:56 +08:00
d3fe2187a9
statistics: introduce a new kind of syntax to drop global-stats ( #23061 )
2021-03-03 14:50:54 +08:00
a64d8860f1
statistics: forbid global-stats in stats-ver1 and make analyze options take effect in global-stats ( #23050 )
2021-03-03 11:58:54 +08:00
d94920e4a9
statistics: support dropping partition/global level statistics ( #23023 )
2021-03-02 16:52:48 +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
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
5acff8de7a
*: Revert " #19008 " and " #18788 " ( #21599 )
2020-12-14 15:06:35 +08:00
546b8b5ab7
*: close transaction for all auto-committed SQLs ( #21378 )
...
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com >
2020-11-30 21:33:28 +08:00
15abd8ba55
executor: stablize TestDropStatsFromKV ( #21004 )
2020-11-12 14:29:23 +08:00
272f964031
executor: support global kill ( #17649 )
2020-10-27 19:39:20 +08:00
cd16de894b
*: introduce LRUCache with limited memory for statistics ( #18788 )
2020-10-15 17:36:21 +08:00
bba4c64a00
executor: fix alter user statement for user() and current_user() ( #19345 )
2020-08-27 15:55:19 +08:00
8fe2a0b5d8
statistics: drop stats should delete topn ( #18160 )
...
* statistics: drop stats should delete topn
* add rest
* fix test
* fix test
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-26 14:15:51 +08:00
c5c7bf87bb
*: support CREATE / DROP / ADMIN RELOAD STATISTICS ( #18880 )
2020-08-11 17:27:48 +08:00
1fed1fb895
tests: remove incorrect use of FLUSH PRIVILEGES ( #18361 )
2020-07-24 23:25:14 +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
5fc4a8c96a
executor: fix alter-user with hash string ( #17640 )
2020-06-03 21:54:27 +08:00
ac30f5322e
mockstore: introducing embedded unistore ( #17156 )
2020-05-18 17:28:44 +08:00
20b555cfad
privilege: use internal session to run SET DEFAULT ROL ALL ( #15525 )
2020-03-23 18:44:17 +08:00
d60567f765
privilege: fix select current_role() error ( #15534 )
2020-03-23 13:37:34 +08:00
344c48d3b4
*: change field name 'password' to 'authentication_string' in mysql.user ( #14598 )
2020-02-19 11:58:42 +08:00
e4eb58c86d
executor: grant table level privilege should check table exist ( #14540 )
2020-01-30 11:57:23 +08:00
4ed347cff8
planner,session: add Reload and File privilege, check Reload for the flush statement ( #14319 )
2020-01-09 19:59:12 +08:00
39ed9f326a
executor: Speed up unit tests ( #14357 )
2020-01-06 21:20:09 +08:00
cb37596c39
privilege: fix atomic problem of DROP ROLE ( #14090 )
2019-12-18 20:02:46 +08:00
7c17add7c0
privilege: fix privilege check of CREATE ROLE and DROP ROLE ( #13940 )
2019-12-11 13:43:58 +08:00
ea1662a296
privilege: fix privilege check of GRANT ROLE ( #13896 )
2019-12-05 19:56:35 +08:00
acfc7be794
infoschema: refine error code for package infoschema ( #13646 )
2019-11-26 10:21:43 +08:00
9b0334601a
executor: speed up test ( #12896 )
2019-10-23 21:11:21 +08:00
8a4b60c682
executor, privileges: fix privilege check fail for CREATE USER and DROP USER ( #11589 )
2019-08-19 19:08:17 +08:00
c00d8a95cf
executor, privilege: fix some two bug of RBAC ( #11273 )
2019-07-22 13:08:03 +08:00
9385c6eca0
executor: fix a bug of 'insert on duplicate update' statement on partitioned table ( #11204 )
...
In this statement: insert into t1 set a=1,b=1 on duplicate key update a=1,b=1
Batch checker find a=1,b=1 is duplicated, then in the "on duplicate update" step,
it uses the non-partitioned table to get the old row, which is a bug.
getOldRow returns this error: (1105, u'can not be duplicated row, due to old row not found. handle 1 not found')
2019-07-11 15:24:27 +08:00
5886bb90d1
executor: let flush privileges do nothing when skip-grant-table is configured ( #10986 )
...
When skip-grant-table is enabled, privilege handle is not initialized, calling flush privileges
would meet nil pointer panic
2019-07-02 10:44:30 +08:00
0d563f1e2d
stats: fix unstable test ( #10953 )
2019-06-27 13:51:16 +08:00
2b611274e3
domain: load stats when stats lease is 0 ( #10771 )
2019-06-13 15:28:56 +08:00
71def9c726
executor: improve UT coverage of executor package ( #10728 )
2019-06-11 10:01:43 +08:00
78881f6d2d
executor: execute some statement (create user grant etc) would commit current transaction automically ( #10707 )
2019-06-06 15:45:48 +08:00
3439e6be48
executor: add warning for "drop user if exists" ( #10395 )
2019-05-22 16:53:19 +08:00
abeddab5ba
privilege, executor: support SET DEFAULT ROLE ( #9949 )
2019-04-17 14:25:49 +08:00
4f20b5b9f4
executor, plan: add revoke role support ( #9771 )
2019-04-11 15:34:29 +08:00
c612252667
executor, planner: add executor to support GRANT ROLE ( #9721 )
2019-03-30 20:18:47 +08:00
d4bad4ebb3
executor: add DROP ROLE support ( #9616 )
2019-03-13 15:01:38 +08:00
32cfaf1dcc
builder: use empty db should return NoDB error ( #8908 )
2019-01-03 13:39:36 +08:00