Commit Graph

4575 Commits

Author SHA1 Message Date
c13d51e5fd domain, executor: fix sysvar cache race (#26714) 2021-08-04 13:23:06 +08:00
5f42d348de planner: fix prepare plan cache doesn't work for expression index. (#26698) 2021-08-04 13:13:06 +08:00
cc64519feb ddl: forbide some ddl operations for local temporary table (#26643) 2021-08-04 11:57:06 +08:00
e01d794985 executor: add test case of admin check/checksum table in local temporary table (#26775) 2021-08-04 11:37:06 +08:00
31403ad0a1 executor: fix unexpected behavior when casting invalid string to date (#26784) 2021-08-04 10:05:06 +08:00
9e98025f1a ddl: truncate local temporary table (#26466) 2021-08-03 21:41:07 +08:00
bff0034a8f executor: fix unstable TestStaleSelect (#26840) 2021-08-03 20:27:06 +08:00
b7cde2493c planner: fix the unstable test case TestAnalyzeIncremental (#26848) 2021-08-03 18:23:07 +08:00
352f609437 ddl: add admin_check_index compatibility for temporary table (#26465) 2021-08-03 16:27:07 +08:00
884a838b02 planner: fix the unstable test case TestListPartitionOrderLimit (#26839) 2021-08-03 15:43:06 +08:00
de3bc62d54 infoschema, executor: Add SQL text column to DATA_LOCK_WAITS table (#26632) 2021-08-03 14:55:06 +08:00
443e10066a ddl: make 'drop local temporary table' atomic (#26464) 2021-08-03 11:01:06 +08:00
af39de5981 executor: speed up cte case (#26792) 2021-08-02 20:31:06 +08:00
0f32f3614d *: remove expression index out of experimental index (#26791) 2021-08-02 19:31:06 +08:00
0bcf830fab varaible: fix the new session can't see the instance-level variable store-limit (#26649) 2021-08-02 18:31:06 +08:00
5c5f344b24 executor: fix virtual columns in index join (#26720) 2021-08-02 11:21:05 +08:00
401c46f528 executor: Local temporary table do not write any record to tikv (#26470) 2021-07-30 16:59:04 +08:00
ab4a990539 brie: add error info column and history backup/restore info in sql (#22699) 2021-07-30 12:17:05 +08:00
99c4bc1fd3 ddl: show create table for a local temporary table (#26104) 2021-07-30 12:07:04 +08:00
6ab9d7dbcd expression: support Oracle translate function (#26408) 2021-07-29 16:18:17 +08:00
a27d306e65 go.mod: update parser to version 20210728060616 (#26696) 2021-07-29 15:30:17 +08:00
a69f2bd5ce go.mod: update client-go to version 20210728 (#26685) 2021-07-29 14:50:17 +08:00
72807efe20 variable, ddl: allow auto inc columns in generated columns and expression indexes (#23940) 2021-07-28 16:22:18 +08:00
89e5ce0686 infoschema, executor: Support getting current executing SQL text in TIDB_TRX table (#26357) 2021-07-28 16:08:17 +08:00
583cdc8f13 executor: trim ( and ) for the outputs of expression (#26687) 2021-07-28 15:20:17 +08:00
34d43fb8c5 *: convert tikv.error which is returned by RegionCache.Locate to tidb.error (#26647) 2021-07-28 10:26:16 +08:00
51c48d2fa2 planner: update the correlation adjustment rule of Limit/TopN for TableScan (#26445) 2021-07-27 17:34:16 +08:00
e0dbe7ae8a planner: push TopN down when N is less than a specific variable (#26550) 2021-07-27 16:38:16 +08:00
dd2fadb190 expression, executor: fix type infer for greatest/leastest(datetime) (#26533) 2021-07-26 17:04:16 +08:00
0f0b06ab53 planner: try to fix the unstable test TestAnalyzeIncremental (#26468) 2021-07-26 11:16:15 +08:00
e9409c687c go.mod: update client-go to version 20210723 (#26510) 2021-07-25 12:06:14 +08:00
989361a0a8 infoschema, executor, txn: Decode key in DEADLOCKS and DATA_LOCK_WAITS (#26231) 2021-07-23 17:18:14 +08:00
06a0ad373c executor: avoid unnecessary string EqualFold() comparisons (#25822) 2021-07-23 14:46:15 +08:00
95a40ac3d4 planner: fix the unstable unit test TestAnalyzeIncremental (#26460) 2021-07-23 14:16:14 +08:00
8db91a082c store/copr: support retry for mpp query (#26462) 2021-07-22 18:24:14 +08:00
2b461e0ea7 executor: Support collecting information about retryable deadlocks to information_schema.deadlocks (#26140) 2021-07-22 17:54:14 +08:00
dbe1f176a4 Revert: "*: keep the precision of intermediate decimal result as accurate as possible" (#26443) 2021-07-21 17:51:35 +08:00
cdc03978c1 executor: fix table id to partition id mapping in select lock executor (#26380) 2021-07-21 17:23:35 +08:00
7f6cfcb2e6 executor: Future proof TiDB specific comment (#26394) 2021-07-21 13:15:36 +08:00
39c9a4d47a *: keep the precision of intermediate decimal result as accurate as possible (#26372) 2021-07-20 20:25:35 +08:00
8fe8c27943 executor: fix the pessimistic lock on the temporary test case (#26222) 2021-07-20 20:17:34 +08:00
dc8d0fd3cd ddl: Drop a local temporary table (#26063) 2021-07-20 19:13:34 +08:00
add2df6205 executor: Support read operation for local temporary table (#26353) 2021-07-20 18:39:34 +08:00
84887df9aa privileges: use UPPER case for privileges in SHOW GRANT (#26360) 2021-07-20 13:31:34 +08:00
9833e6487a exec: access the table_storage_stats need privilege (#26298) 2021-07-19 18:59:34 +08:00
32bf0c4950 executor: fix user without process privilege can access cluster_statements_summary_evicted table (#26208) 2021-07-19 18:09:34 +08:00
350cbd1f69 session: tiny changes to reduce object allocations (#26244) 2021-07-19 17:53:34 +08:00
8f51a40798 *: optimize query slow query table by avoid decode plan for each row (#26219) 2021-07-19 16:33:34 +08:00
2f028b3cbd executor: Implement batch point get for local temporary table (#26290) 2021-07-19 11:19:34 +08:00
e4445994e0 *: fix ci lint (#26305) 2021-07-16 20:01:33 +08:00