Commit Graph

1633 Commits

Author SHA1 Message Date
bc37f088ba *: fix some varcheck lint warnings (#23011) 2021-03-01 15:10:54 +08:00
e1004a2ccb *: modify the switch to control global stats (#22866) 2021-03-01 14:18:30 +08:00
febac515b1 store/tikv: move coprocessor out (#22922) 2021-03-01 11:42:54 +08:00
8357f809ff *: remove some useless codes and do tiny update (#22972) 2021-02-26 19:14:53 +08:00
8a490e96b5 parser: quote identifier with backquote when getting SQL digest (#22893) 2021-02-26 14:54:54 +08:00
e360454b2d util: fix Host column of show processlist to host_name:client_port format (#22707) 2021-02-24 18:54:03 +08:00
35534ae752 *: apply golangci-lint to the new code (#22824) 2021-02-24 18:24:03 +08:00
xhe
6d6c83369f *: timezone insensetive test (#22880)
Signed-off-by: xhe <xw897002528@gmail.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
2021-02-24 16:46: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
99d0b22f04 session, util: update session to use new APIs (#22652) 2021-02-19 13:10:30 +08:00
4031706e32 gcworker: remove handler interface (#22779)
Signed-off-by: disksing <i@disksing.com>
2021-02-18 12:09:31 +08:00
38aaad2414 util/timeutil: fix timeutil/time_test.go on Windows (#22758) 2021-02-08 09:42:41 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
xhe
4172f473da *: adapt new api for the executor package (#22644)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-02-04 17:32:15 +08:00
343c412531 planner, executor, statistics: add tests for version 2 and fix bugs (#22461)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-02-04 15:52:30 +08:00
f8b0d8f7ed infoschema: show query disk usage in information_schema.processlist (#22417) 2021-02-02 19:12:27 +08:00
44641c3282 planner: change the content of AnalyzeTableID to build global-stats (#22554) 2021-02-02 15:39:44 +08:00
7ca1629d1a *: refactor ExecuteInternal to return single resultset (#22546) 2021-02-01 14:05:27 +08:00
xhe
4e471d7cb1 *: move new api out of session package (#22591)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-30 07:24:44 +08:00
b24d192429 util: change point array to *point array (#22422) 2021-01-29 17:40:35 +08:00
3dff7cd348 store/tikv: resolve variable dependency (#22609)
Signed-off-by: disksing <i@disksing.com>
2021-01-29 15:52:14 +08:00
ea6ccf82e9 *: refactor the RestrictedSQLExecutor interface (#22579) 2021-01-29 12:56:44 +08:00
890a358325 store/tikv: resolve logutil dependency (#22566)
Signed-off-by: disksing <i@disksing.com>
2021-01-28 17:26:01 +08:00
fbcf75acc9 store/tikv: refactor: remove import tidb.config.security in store/tikv (#22538)
Signed-off-by: shirly <AndreMouche@126.com>
2021-01-27 12:08:24 +08:00
xhe
ae0057da71 *: preventing SQL injection (#22499)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-26 18:52:08 +08:00
038e7711ab store/tikv: resolve util dependencies (#22524)
Signed-off-by: disksing <i@disksing.com>
2021-01-26 14:05:07 +08:00
6c4401fcff store/tikv, util: move storeutil to store/tikv (#22522)
Signed-off-by: disksing <i@disksing.com>
2021-01-26 13:49:07 +08:00
905e9af74d util: pre-alloc memory for decoding rows (#22508)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-01-25 14:59:08 +08:00
ac17ae982a util/codec: add error handling to NewCommonHandle() to avoid panic (#22458) 2021-01-21 16:44:59 +08:00
3dd842f50a statistics: add bucket ndv for index histogram (#20580)
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-01-13 18:24:21 +08:00
caa8c16cac execution: support explain analyze in mpp execution. (#22053) 2021-01-07 17:46:59 +08:00
02016b09ef util: add test TestCodec (#22197)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2021-01-07 17:32:27 +08:00
ec73315dce *: Move tikv gc configuration to sysvars (#21988) 2021-01-07 13:59:44 +08:00
76614c6ca9 util/chunk: fix slice out of bound panic (#21155) 2021-01-06 17:24:42 +08:00
51794e9d30 *: rewrite origin SQL with default DB for SQL bindings (#21275) 2021-01-06 16:28:29 +08:00
536dfdfe2f executor: always decode the value first and then the handle (#22073) 2021-01-04 16:37:15 +08:00
16f53257ca store: trace loadRegion to see the PD region cache loading (#22092) 2021-01-04 10:10:45 +08:00
eae64e40fe executor: support exact staleness begin statement (#21897) 2020-12-31 22:08:14 +08:00
dad3b5e87d util: add cache for mem info in container (#22109) 2020-12-30 22:13:13 +08:00
8144e1395d *:Adapt ScanDetailV2 in KvGet and KvBatchGet Response (#21562) 2020-12-30 17:02:44 +08:00
97f8bea90e planner: fix incorrect range for prefix index range scan (#22037) 2020-12-29 16:26:00 +08:00
5e67a597cc planner, store/tikv, executor:Support shuffled hash join and refine codes (#20894) 2020-12-28 15:14:15 +08:00
27071f14d7 session/bootstrap: disable clustered index by default (#21777) 2020-12-25 15:44:07 +08:00
47ef48b854 planner/codec: fix issue of decode plan error cause by without escape special char (#21937)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-12-24 20:20:29 +08:00
9c5f1bd083 executor: fix unstable test Issue16696 (#22009) 2020-12-24 17:12:59 +08:00
4135fa313f planner: generate correct query block name and offset for update / delete (#21823) 2020-12-23 17:03:59 +08:00
3e5c56eccf range: fix overflow value access index (#21805) 2020-12-23 16:18:29 +08:00
5f3bb760d4 planner: add plancodec id for all type TableScan/IndexScan. (#21935) 2020-12-23 15:49:29 +08:00
49791bc3f5 expression: do not rewrite like to = if new collation is enabled (#21893) 2020-12-23 10:53:30 +08:00