Commit Graph

844 Commits

Author SHA1 Message Date
2580240dde *: pass sql, plan digest down to KV request (#24854) 2021-05-25 15:47:33 +08:00
79669921ff ddl: add region and split compatibility for temporary table (#24684) 2021-05-25 13:17:33 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
xhe
bfdad7c752 *: milisecond test and infoschema fix (#24820) 2021-05-24 18:27:34 +08:00
bcfe952921 executor: Fix unstable TestTiDBLastTxnInfoCommitMode (#24779) 2021-05-20 21:22:22 +08:00
a2278dfdf5 oracle: simplify timestamp utilities (#24688) 2021-05-20 02:53:41 +08:00
3904ca3e4e infoschema, executor: Add the deadlock table (#24524) 2021-05-20 00:21: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
0f10bef470 domain, session: Add new sysvarcache to replace global values cache (#24359) 2021-05-17 22:13:39 +08:00
8ad868f801 *: Add security enhanced mode part 3 (#24412) 2021-05-17 12:45:38 +08:00
f2cb145af2 planner, privilege: Add security enhanced mode part 4 (#24416) 2021-05-17 11:25:39 +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
5fd39d1ed0 ddl: forbid recover/flashback temporary tables (#24518) 2021-05-13 12:09: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
0cb32a128b executor: fix projection executor panic and add failpoint test (#24231) 2021-04-28 14:15:56 +08:00
75913fdc9c executor,kv: support timebounded staleness transaction (#23866) 2021-04-27 15:44:00 +08:00
7e15333920 store/tikv: move kv.TxnInfo to store/tikv (#24216) 2021-04-26 23:27:56 +08:00
d4b6a4417b expression: fix cast real, decimal to time (#24120) 2021-04-25 17:13:55 +08:00
2e52da6b37 executor: make column default value being aware of NO_ZERO_IN_DATE (#24174) 2021-04-21 15:07:54 +08:00
ef42b8e4b5 store/tikv: new config TxnScope in tikv config (#24035) 2021-04-21 11:55:53 +08:00
e104d818cf mocktikv: remove SplitTable and SplitIndex (#24104) 2021-04-20 13:29:52 +08:00
36b04d1aa0 executor: fix null div 0 for partition key expression is incorrect (#24098) 2021-04-19 15:17:52 +08:00
3165fe8091 executor: bypass encoding invalid datetime for index join (#24051) 2021-04-15 20:23:53 +08:00
4d92261772 planner: fix subquery update with generated column (#23955) 2021-04-15 18:35:54 +08:00
73dea07965 executor: fix wrong convert from bit to string when do projection (#23960) 2021-04-15 10:43:51 +08:00
a9a5795759 types: fix type merge about bit type (#23857) 2021-04-14 19:51:51 +08:00
7d1a6a373d executor: fix logging format of prepared statements (#16062) (#22984) 2021-04-14 16:59:52 +08:00
e1a59b8545 executor: remove duplicate entry in show privileges (#23738) 2021-04-09 19:26:33 +08:00
0402268a16 store, kv: Add information about async commit/1pc to tidb_last_txn_info (#23833) 2021-04-06 16:30:31 +08:00
85da7b36c8 planner: fix partition selection of point plan for the update statement (#23764) 2021-04-02 18:17:25 +08:00
fd7a331f03 statistics: feedback not panic when no ndv collected (#23808) 2021-04-02 11:45:24 +08:00
c2cb344c34 store/tikv: avoid placement dependency (#23767)
Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-04-01 19:02:28 +08:00
51bf619051 planner: fix set not null flag for outer join (#23727) 2021-03-31 19:33:24 +08:00
f9708e6043 *: collect transaction write duration/throughput metrics for SLI/SLO (#23462) 2021-03-30 11:19:24 +08:00
e63aaac1f9 store/tikv: move failpoint.go from tikv to tikv/util (#23632) 2021-03-29 18:45:24 +08:00
961cd66393 executor,planner: fix update join update unmatched outer row (#23491) 2021-03-26 19:43:23 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
1cebae21a7 planner, sessionctx: turn on the mpp by default (#23401) 2021-03-23 21:01:37 +08:00
28c3748496 planner: remove some risky cache operations in the plan builder (#23354) 2021-03-18 15:35:11 +08:00
3641cd4fe0 executor: fix split table with large integers (#21277) 2021-03-15 16:18:56 +08:00
30da0a1d09 Revert "executor: open childExec during execution for UnionExec (#21561) (#23276) 2021-03-12 14:59:30 +08:00
610ac87e0b config: deprecate tikv-client.copr-cache.enable and invisible some copr-cache configs (#22786) 2021-03-10 15:37:51 +08:00
5720831962 parser: update parser to fix sql restore bug used in create view (#22974) 2021-03-09 17:28:55 +08:00
3750320899 executor: add close recordSet in executor (#22714) 2021-03-07 17:54:55 +08:00
29908c67e7 store, executor: support stale read for tikv RPCContext (#22176) 2021-03-05 18:12:55 +08:00
5f73c822ca kv/union_store:remove tableinfo from union_store (#22976)
Co-authored-by: disksing <i@disksing.com>
2021-03-04 16:30:42 +08:00