Commit Graph

790 Commits

Author SHA1 Message Date
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
ec73315dce *: Move tikv gc configuration to sysvars (#21988) 2021-01-07 13:59:44 +08:00
536dfdfe2f executor: always decode the value first and then the handle (#22073) 2021-01-04 16:37:15 +08:00
7f25d4f0cc executor, infoschema, planner: optimize query cluster_slow_query (#20750) 2021-01-04 14:23:06 +08:00
eae64e40fe executor: support exact staleness begin statement (#21897) 2020-12-31 22:08:14 +08:00
56ef0ab2a6 executor: improve the runtime stats of index lookup reader (#21982)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-12-31 17:35:15 +08:00
fb4426b675 executor: avoid log duplicate index name in slow-log (#22057)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-12-30 20:13:43 +08:00
795e88ae93 executor: fix signed cluster index behavior (#22085)
Signed-off-by: lysu <sulifx@gmail.com>
2020-12-30 11:27:44 +08:00
b1bd2856ca config: disable list partition by default since it's an experimental feature (#22045) 2020-12-29 09:56:18 +08:00
933e456beb executor: disallow split table region by null values (#20496) 2020-12-26 15:26:02 +08:00
c3e54962d1 executor: fix a bug that can not insert null into a not null column in the empty SQL mode (#21237)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-25 11:44:00 +08:00
5aebcee5cf executor, session, sessionctx: fix the error message of read-only variable is corrupted (#21948) 2020-12-23 20:09:00 +08:00
e172656e37 expression: fix comparing json with string (#21903) 2020-12-23 11:54:17 +08:00
d44e123395 planner: prevent agg push down if it is in the outer child of apply (#21902) 2020-12-22 16:43:26 +08:00
1265a115f6 chunk: fix min/max for enum/set is incompatible with MySQL (#21566) 2020-12-21 17:07:00 +08:00
e9b11b72a3 util: fix bad number error with DISTINCT when dividing long decimals (#21783) 2020-12-18 16:29:35 +08:00
fd587c3552 session: add a switch for index merge join (#21830)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-18 11:05:05 +08:00
91ec971961 session: Support getting last query info for test purpose (#21557)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2020-12-17 19:29:35 +08:00
259a89ade2 executor: set StmtType correctly in SummaryStmt for failed queries (#21855)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-12-17 18:41:15 +08:00
9f095242b5 exeutor: add a switch for memory tracker in aggregate (#21597) 2020-12-16 15:01:35 +08:00
67d66d68f2 expression: fix casting year 0 to string 0000 (#21469) 2020-12-15 17:33:55 +08:00
41eb594924 expression: handle hybrid field types for where clause (#21724) 2020-12-15 16:06:54 +08:00
ab9cd019be *: make expression index as an experiment feature (#21721)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-14 20:52:44 +08:00
087190a6e2 unistore: fix index-out-of-range error when unistore executes TopN (#21672) 2020-12-11 17:53:21 +08:00
39d8fcc71b executor: fix value swapping and multi-updates in UPDATE statement (#20493) 2020-12-10 15:48:02 +08:00
8dd5b0a0c4 planner: do not propagate column eq with different column types (#21495) 2020-12-09 19:54:43 +08:00
3b1e1027fd expression, json: fix converting from string to decimal (#21592) 2020-12-09 17:23:20 +08:00
0eb8ff97bc executor: open childExec during execution for UnionExec (#21561) 2020-12-09 15:10:15 +08:00
d1d891bc6c planner: refine the error message when split region by decimal column (#20543) 2020-12-09 12:21:48 +08:00