Commit Graph

3820 Commits

Author SHA1 Message Date
bcfe952921 executor: Fix unstable TestTiDBLastTxnInfoCommitMode (#24779) 2021-05-20 21:22:22 +08:00
6bfc5f8b44 *: support AS OF TIMESTAMP read-only begin statement (#24740) 2021-05-20 20:54:22 +08:00
013b3f1f49 executor: add table name in log (#24666) 2021-05-20 18:34:22 +08:00
542da5d60b *: prepare errors for CTE (#24763) 2021-05-20 06:03:40 +08:00
20e467a046 executor: add some test cases about dynamic-mode and apply operator (#24683) 2021-05-20 03:29:41 +08:00
28f4d79a0b executor: fix wrong enum key in point get (#24618) 2021-05-20 03:05:41 +08:00
a2278dfdf5 oracle: simplify timestamp utilities (#24688) 2021-05-20 02:53:41 +08:00
d1a5fa3ac9 planner: add range partition boundaries tests with BETWEEN expression (#24598) 2021-05-20 02:05:41 +08:00
3904ca3e4e infoschema, executor: Add the deadlock table (#24524) 2021-05-20 00:21:42 +08:00
15dfd7bdd3 *: Implementing RENAME USER (#24413) 2021-05-20 00:09:41 +08:00
89cf970202 executor: add correctness tests about direct reading with indexJoin (#24497) 2021-05-19 22:03:42 +08:00
8fb29eb17e kv: move TxnScope into kv (#24715) 2021-05-19 20:01:42 +08:00
3e41d1473f *: add option for enum push down (#24685) 2021-05-19 14:15:41 +08:00
883c7fb87c planner: add partitioning pruning tests for range partitioning (#24554) 2021-05-19 10:57:40 +08:00
f5a362d229 executor: add correctness tests about IndexMerge (#24674) 2021-05-19 08:03:40 +08:00
49d21dd9a8 executor: add correctness tests for partition table with different joins (#24673) 2021-05-18 15:25:40 +08:00
e9488ce2ee *: implement tidb_bounded_staleness built-in function (#24328) 2021-05-18 14:15:40 +08:00
0f10bef470 domain, session: Add new sysvarcache to replace global values cache (#24359) 2021-05-17 22:13:39 +08:00
xhe
2ca98e393c *: compatibility with staleread (#24285) 2021-05-17 19:53:39 +08:00
ae36fbdb31 tablecodec: fix write wrong prefix index value when collation is ascii_bin/latin1_bin (#24578) 2021-05-17 14:35:39 +08:00
c20d496dd7 executor: add test cases about partition table with expression (#24628) 2021-05-17 14:23:39 +08:00
2df8c3bfd1 store/tikv: resolve ReplicaReadType dependencies (#24653) 2021-05-17 14:09:39 +08:00
8ad868f801 *: Add security enhanced mode part 3 (#24412) 2021-05-17 12:45:38 +08:00
09e95b9028 planner: fix wrong column offsets when processing dynamic pruning for IndexJoin (#24659) 2021-05-17 11:51:39 +08:00
0eefeecd1b executor: add some test cases about partition table dynamic-mode with split-region (#24665) 2021-05-17 11:37:39 +08:00
f2cb145af2 planner, privilege: Add security enhanced mode part 4 (#24416) 2021-05-17 11:25:39 +08:00
557c94b9ba store/tikv: remove CompareTS (#24657) 2021-05-17 11:13:39 +08:00
e92df204b5 planner: fix wrongly check for update statement (#24614) 2021-05-14 19:09:38 +08:00
4d7fcbb3df executor: add correctness tests about direct reading with ORDER BY and LIMIT (#24455) 2021-05-14 17:33:38 +08:00
xhe
031a9fa18b ddl: refactor rule [4/6] (#24007) 2021-05-14 17:05:38 +08:00
d9f28c7f76 executor, privileges: Add dynamic privileges to SHOW PRIVILEGES (#24646) 2021-05-14 16:07:39 +08:00
18cbfaac15 *: enable gosimple linter (#24617) 2021-05-14 09:15:38 +08:00
b7c22aa31d kv: remove UnionStore interface (#24625) 2021-05-13 21:29:39 +08:00
5d40ea459a executor, store: Pass the SQL digest down to pessimistic lock request (#24380) 2021-05-13 20:43:38 +08:00
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