Commit Graph

4151 Commits

Author SHA1 Message Date
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
d7f17a0040 privilege: Add REFERENCES privilege on db/schema and table level. (#27121) 2021-08-12 16:53:16 +08:00
6ac43f4f2a executor: add sequence info for infoschema (#27094) 2021-08-12 14:55:16 +08:00
f93ae253ec expression: Added type compare check for int/binary strings for BETWEEN, issue-23602 (#27085) 2021-08-12 11:51:15 +08:00
d4208b5674 planner: fix wrong type when unsigned int value union int value (#26545) 2021-08-11 19:17:15 +08:00
1c90b8e0bf executor: fix wrong logic of pipelined window function (#26974) 2021-08-11 18:13:16 +08:00
13921ddcc1 planner: fix the unstable test TestForAnalyzeStatus (#27113) 2021-08-11 16:41:15 +08:00
533ec70f3a executor: Add support for SHOW PLACEMENT LABELS statement (#27077) 2021-08-11 13:39:15 +08:00
6b8c153016 executor: fix APPROX_PERCENTILE unstable panic when parameter be P100 (#27016) 2021-08-10 13:49:15 +08:00
f8564e3177 *: add infoschema.referential_constraints (#26450) 2021-08-10 12:17:15 +08:00
73bb7dd2c6 *: Annotations and fixes related to gosec (#26907) 2021-08-09 22:27:15 +08:00
7f5c0fa2e8 ddl: support showing label rule through information schema table (#26637) 2021-08-09 12:39:14 +08:00
6a78ca0f08 *: reduce ResetContextOfStmt() object allocation (#26241) 2021-08-09 12:29:14 +08:00