Commit Graph

818 Commits

Author SHA1 Message Date
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
db62e341fd executor: fix wrong key range of index scan when filter is comparing year column with NULL (#23079) 2021-03-04 16:04:54 +08:00
b5a9076aea *: new secondary index value format (#20220) 2021-03-03 21:16:54 +08:00
b81e547e66 executor: fix err check (#22991) 2021-03-03 19:26:56 +08:00
3f7a573caa planner: fix range partition prune bug for IN expr (#22894) (#22938) 2021-03-03 16:22:55 +08:00
602bcd2e40 *: fix some structcheck lint warnings (#22983) 2021-03-02 23:12:54 +08:00
6bd6df7d1e planner: let tikv know primary prefix columns info (#22829) 2021-03-01 16:20:54 +08:00
e2fdb00e62 config: fix data race caused by config.Labels (#22977) 2021-03-01 16:02:54 +08:00
febac515b1 store/tikv: move coprocessor out (#22922) 2021-03-01 11:42:54 +08:00
8a490e96b5 parser: quote identifier with backquote when getting SQL digest (#22893) 2021-02-26 14:54:54 +08:00
df01fcc1ff planner, executor: reset NotNullFlag when merge schema for join (#22955) 2021-02-25 23:17:55 +08:00
7151b4f3b5 config: use tidb_enable_list_partition to enable list table partition feature (#22864) 2021-02-25 22:11:04 +08:00
daf3337a43 oracle: make @@txn_scope only support local and global (#22784) 2021-02-25 15:26:03 +08:00
35534ae752 *: apply golangci-lint to the new code (#22824) 2021-02-24 18:24:03 +08:00
04e5137f48 *: use explain format = 'brief' for tests (#22677) 2021-02-22 17:50:06 +08:00
b74dfaf810 mockstore: move mockstore/cluster to tikv/mockstore/cluster (#22856)
Signed-off-by: disksing <i@disksing.com>
2021-02-22 15:42:16 +08:00
4f56ab07a2 expression: do not adjust int when it is null and compared year (#22821)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2021-02-20 14:43:16 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
9a2997facb statistics,executor: fix some unit tests that run twice (#22705) 2021-02-05 11:27:11 +08:00
93d3d04092 executor: support checking schemaVer before staleness transaction begins (#22679) 2021-02-04 11:48:45 +08:00
871856db04 store/tikv: export failpoints (#22539)
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
2021-01-27 17:13:30 +08:00
dd8fd16145 session: add testcases for staleness transaction (#22438)
Signed-off-by: Song Gao <disxiaofei@163.com>
2021-01-21 20:47:59 +08:00
68aaa2fa7e *: fix auto-id allocate tracing (#22371) 2021-01-13 12:19:58 +08:00
8d4cac2c89 oracle: fix GetStaleTimestamp get stuck error (#22279) 2021-01-12 12:17:00 +08:00
b8c91d14ef expression, executor: fix runtime panic in WEIGHT_STRING function when the length of binary is too large (#22251) 2021-01-11 11:47:27 +08:00
31bbfcef82 executor: refine maxOneRow (#22194)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2021-01-09 13:19:14 +08:00
d1d5cc433e time: fix parse datetime won't truncate the reluctant string (#22232) 2021-01-07 14:52:16 +08:00