Commit Graph

4163 Commits

Author SHA1 Message Date
376e85b2ef *: Support SHOW PLACEMENT for placement policies (#27531) 2021-08-31 17:38:13 +08:00
8fd619359e *: Support PLACEMENT_ADMIN dynamic priv (#27600) 2021-08-31 17:08:13 +08:00
fa52d566d5 privileges: require process privilege to access metrics_schema (#27554) 2021-08-31 13:34:12 +08:00
099bc9a230 *: Add some kv.Iterator implementations for future use (#27578) 2021-08-30 16:14:11 +08:00
d05660c834 config, server, executor: Reduce RSA keysize in testing (#27393) 2021-08-30 14:28:13 +08:00
777b40cb8c *: refactor Allocator.Rebase() interface (#27649) 2021-08-30 13:10:11 +08:00
8ba11a66c3 ddl: support create and drop placement policy (#27574) 2021-08-30 11:36:12 +08:00
b1f3974f10 *: refactor Allocator.Alloc() interface for separating auto IDs (#27616) 2021-08-28 15:32:05 +08:00
f2347226db executor, privilege: fix show grants for current_user() using x (#27593) 2021-08-28 15:22:05 +08:00
5fcfd890a4 privileges: add DASHBOARD_CLIENT dynamic privilege (#27591) 2021-08-27 16:26:05 +08:00
8370cab551 planner: rename BuildLogicalPlan to BuildLogicalPlanForTest (#27606) 2021-08-26 18:42:05 +08:00
684057f484 privilege: fix show grants output for active roles + dynamic privs (#27218) 2021-08-25 03:04:03 +08:00
0f51627cd1 expression, executor: introduce propagateType for castDecimalAsReal (#26651) 2021-08-24 15:36:04 +08:00
9691e50710 execution: fix cte dead lock when used with IndexLookupJoin (#27465) 2021-08-24 15:26:04 +08:00
d9bf3bf2d0 executor: make group_concat function consider the collation (#27490) 2021-08-24 13:00:04 +08:00
1221b13182 executor: migrate TestTemporaryTableNoNetwork to testify (#27460) 2021-08-23 19:12:03 +08:00
48e12ae07b util: change super to process privilege when reading statements_summary (#27431) 2021-08-23 19:04:03 +08:00
4cc2423086 executor/cte_test.go: migrate test-infra to testify (#27103) 2021-08-23 18:54:03 +08:00
002318ff5b fix data race (#27477)
Co-authored-by: tison <wander4096@gmail.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-08-23 18:19:38 +08:00
529fc03a9c slow_query: cancel send taskList if ctx is done (#27471)
* slow_query: cancel send taskList if ctx is done

Signed-off-by: tison <wander4096@gmail.com>
2021-08-23 12:08:34 +08:00
b47d772d47 charset: add a config field to control charset feature (#27288) 2021-08-20 23:46:01 +08:00
2a8612be59 *: SHOW CREATE VIEW/SEQUENCE should ignore local temporary table with the same name (#27344) 2021-08-20 20:24:02 +08:00
c9c3463ac1 expression: fix wrong result for date add sub (#27244) 2021-08-20 17:28:02 +08:00
247e4edacc *: fix unstable test testSerialSuite.TestTemporaryTableNoNetwork (#27436) 2021-08-20 17:08:02 +08:00
fbe0bb13bc executor: migrate goroutine leak tests to goleak (#27405) 2021-08-20 13:48:01 +08:00
086a63f471 planner: fix tablesample 'order by' clause from partitioned table (#27383) 2021-08-20 11:54:01 +08:00
203b3b2d04 session: do not allow historical read in local temporary tables (#27363) 2021-08-20 11:44:00 +08:00
5f674e2547 *: Audit plugin should handle errors and stmt start (#27269) 2021-08-20 11:16:01 +08:00
fdb72436c4 ddl: forbidden flashback/recover local temprorary table (#27323) 2021-08-20 10:38:01 +08:00
af66129b1e go.mod: update parser (#27339) 2021-08-18 19:30:00 +08:00
f7fdffc0b3 planner: adjust the schema when using 'explain for' for verbose format (#26949) 2021-08-18 18:08:01 +08:00
5c1081f669 *: support user defined filters for baseline capture (#26294) 2021-08-18 15:44:00 +08:00
165e365e64 session,server: forbid stale read in local temporary tables (#27270) 2021-08-18 12:14:01 +08:00
bc5c912f85 statistics: some refactoring about stats collector (#26583) 2021-08-18 01:39:59 +08:00
d4ec0233c8 ddl: fix DROP [GLOBAL] TEMPORARY TABLE IF EXISTS returns error when table not exist (#27287) 2021-08-17 21:53:59 +08:00
09e3090ba9 go.mod: update parser to fix the parse error for subquery (#25647) 2021-08-17 21:06:00 +08:00
156b438200 executor: Add tests for tidb_constraint_check_in_place for local temporary table (#27271) 2021-08-17 20:34:00 +08:00
d06fd67764 statistics: fix "data too long" error when dumping stats from table with new collation data (#27033) 2021-08-17 16:02:00 +08:00
dd34d4869f Revert "session: add physical table placement_policy in mysql schema" (#27250) 2021-08-17 15:03:59 +08:00
462c9dc5ca *: Add temp_table_size support for local temporary table (#27205) 2021-08-16 22:19:59 +08:00
eb418f3b5a bindinfo: fix SPM doesn't work for CTE (#25583) 2021-08-16 20:47:59 +08:00
09ebd0d703 planner: fix wrong selection push down when having above agg (#27021) 2021-08-16 20:29:59 +08:00
0de541c184 ddl: Check create table options for local temporary table (#27150) 2021-08-16 20:09:59 +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
155ead5370 executor: fix unstable TestSelectAsOf (#27163) 2021-08-16 11:51:59 +08:00
73cadf060d ddl: improve MySQL compatibility on time-to-year conversion (#26884) 2021-08-13 22:49:58 +08:00
bf8cfb448b session: add physical table placement_policy in mysql schema (#27054) 2021-08-13 21:05:58 +08:00
08995d915d expression: make count distinct multi column aware of new collation (#27111) 2021-08-13 19:57:58 +08:00
da2b7d2b03 executor: add test case for tablesample in local temporary table (#27133) 2021-08-12 21:37:16 +08:00
ce60af56ea ddl: Create temporary table like tbl_xx (#26113) 2021-08-12 17:25:17 +08:00