Commit Graph

3804 Commits

Author SHA1 Message Date
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
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