Commit Graph

3786 Commits

Author SHA1 Message Date
d2bdfd51b7 store/tikv: move transaction options out to /kv (#24619) 2021-05-13 17:49:39 +08:00
acf2e82b52 executor: fix point_get result on clustered index when new-row-format disabled but new-collation enabled (#24544) 2021-05-13 12:45:40 +08:00
5fd39d1ed0 ddl: forbid recover/flashback temporary tables (#24518) 2021-05-13 12:09:39 +08:00
dc5c226423 execution: Fix issue 24439 Inconsistent error with MySQL for GRANT CREATE USER ON <specific db>.* (#24485) 2021-05-13 11:15:39 +08:00
61131c6f1d executor: add partition pruning tests for adding and dropping partition operations (#24573) 2021-05-13 00:47:39 +08:00
771255e010 executor, meta: Allocate auto id for global temporary tables (#24506) 2021-05-12 23:45:40 +08:00
89c0e6c91a ddl: add check table compatibility for temporary table (#24501) 2021-05-12 21:49:40 +08:00
6a69ee70ca store/driver: move error to single package (#24549) 2021-05-12 20:41:40 +08:00
b1d134d7d9 txn: Add txn state's view (#22908) 2021-05-12 19:25:40 +08:00
ec618f1619 planner: support set tidb_allow_mpp to 2 or ENFORCE to enforce use mpp mode. (#24516) 2021-05-12 18:05:40 +08:00
e40f8c0881 *: fix revoke statement for CURRENT_USER() and refine error message (#24052)
* *: fix revoke statement for CURRENT_USER() and refine error message
2021-05-12 16:40:58 +08:00
263a47e85c executor: add a test for dynamic partition prune mode with equal expression (#24520) 2021-05-11 15:51:39 +08:00
5460b5c77f store, executor: rename resolveTS to safeTS to be consistent with TiKV (#24538) 2021-05-11 14:03:38 +08:00
c8bc701170 *: misc cleanups to variable package (#24507) 2021-05-11 13:23:38 +08:00
3fed33fc17 statistics: dump FMSketch to KV only for partition table with dynamic prune mode (#24453) 2021-05-11 12:47:38 +08:00
d27fda32fb executor: add correctness tests about direct reading with aggregations (#24491) 2021-05-11 11:59:39 +08:00
f13f696400 executor: add correctness tests about PointGet and BatchGet (#24467) 2021-05-11 10:57:38 +08:00
xhe
9e13287d9d *: remove SchemaVersion in TransactionContext (#24236) 2021-05-11 10:31:39 +08:00
f135c534a5 plan: merge continuous selections and delete surely true expressions (#24214) 2021-05-10 23:25:37 +08:00
xhe
5e9e0e6e37 *: consitent get infoschema (#24230) 2021-05-10 21:00:36 +08:00
0581cb4ed9 executor: add some test cases about partition-table dynamic mode with view (#24448) 2021-05-10 18:47:27 +08:00
075df515e4 executor, session, variable: Move deprecation, synonyms, scope validation to sysvar struct (#24280) 2021-05-07 23:12:41 +08:00
5d1958b82b planner: add some test cases about partition-table dynamic mode with global-stats and SQL binding (#24430) 2021-05-07 20:08:41 +08:00
358c7975b1 test: fix unstable TestIssue20658 (#24425) 2021-05-07 18:50:41 +08:00
cb74578c11 executor: solve the compatibility problem between UnionScan and partition tables and remove all code about PartitionTableExec (#24394) 2021-05-06 16:49:52 +08:00
b66b43dac5 store/tikv: make tikv.ErrGCTooEarly as a normal error instead of dberror (#24400) 2021-05-06 14:41:53 +08:00
18d519f056 stats, executor: use a correct sampling to collect stats (#23997) 2021-05-02 23:11:51 +08:00
a9a5e057e9 store/tikv: remove use of TxnScope transaction option in store/tikv (#24365) 2021-04-30 11:15:50 +08:00
c5ca2ea7f9 *: add security enhanced mode part 2 (#24279) 2021-04-30 00:31:57 +08:00
af6cece281 *: support read and write operations for the global temporary table (#24196) 2021-04-29 21:49:58 +08:00
f1521632e2 executor: fix a concurrent-access problem caused by accessing a single parser object in session concurrently (#24338) 2021-04-29 18:11:57 +08:00
0ec8f2d9fb store/tikv: remove use of Priority transaction options in store/tikv (#24360) 2021-04-29 13:59:57 +08:00
c347c6ced8 executor: Use TableReader directly when accessing TiFlash partition table instead of using PartitionTableExec (#24344) 2021-04-28 17:43:57 +08:00
0d76e899f4 expression: fix wrong type infer for agg function when type is null (#24290) 2021-04-28 17:25:56 +08:00
619c472005 store/tikv: remove IsolationLevel option (#24335) 2021-04-28 15:25:56 +08:00
f07b62fcdf executor: fix data race of parallel apply operator (#24257) 2021-04-28 15:09:56 +08:00
0cb32a128b executor: fix projection executor panic and add failpoint test (#24231) 2021-04-28 14:15:56 +08:00
22dbcc5627 executor, variable: move hidden variables to struct (#24304) 2021-04-28 12:49:56 +08:00
dbecb9e745 executor, variable: small cleanup (#24248) 2021-04-28 01:17:56 +08:00
5c83f0b518 executor: make IndexLookUps in the inner side of IndexJoins support direct reading (#24261) 2021-04-27 17:43:57 +08:00
e5806410e7 executor: make IndexReaders in the inner side of IndexJoins support direct reading (#24260) 2021-04-27 16:03:56 +08:00
75913fdc9c executor,kv: support timebounded staleness transaction (#23866) 2021-04-27 15:44:00 +08:00
6bea505237 store/tikv:move error from kv into package error (#24294) 2021-04-27 15:21:56 +08:00
d67beefb7b executor: make IndexMergeReader support reading partition table directly (#24239) 2021-04-27 11:31:56 +08:00
7e15333920 store/tikv: move kv.TxnInfo to store/tikv (#24216) 2021-04-26 23:27:56 +08:00
bd2553734b expression: support enum pushdown (#22686) 2021-04-26 18:51:56 +08:00
6084a6a5ff variable: change SetSessionSystemVar to accept string (#24247) 2021-04-26 11:47:55 +08:00
a21ead476c executor: accelerate TestVectorizedMergeJoin and TestVectorizedShuffleMergeJoin (#24177) 2021-04-26 00:03:55 +08:00
5800336b52 executor, table: improve update ignore & Insert on duplicate ignore performance (#24203) 2021-04-25 23:01:55 +08:00
d4b6a4417b expression: fix cast real, decimal to time (#24120) 2021-04-25 17:13:55 +08:00