Commit Graph

3518 Commits

Author SHA1 Message Date
3dff7cd348 store/tikv: resolve variable dependency (#22609)
Signed-off-by: disksing <i@disksing.com>
2021-01-29 15:52:14 +08:00
558d5610ce executor: fix load-data result when field term be the prefix of line term (#22585)
Signed-off-by: lysu <sulifx@gmail.com>
2021-01-28 17:46:00 +08:00
871856db04 store/tikv: export failpoints (#22539)
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
2021-01-27 17:13:30 +08:00
edb2741f36 executor: refine bigint unsigned primary key duplicate error (#22153) 2021-01-27 16:57: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
05d995d73d statistics: add more tests about ver2-stats (#22457) 2021-01-26 20:59:18 +08:00
0aa476034a go.mod, statistics, planner: replace TIDB_STATS with STATS_EXTENDED (#22492) 2021-01-25 21:18:07 +08:00
b24095d909 infoschema: support query partition_id from infoschema.partitions (#22240)
Signed-off-by: lysu <sulifx@gmail.com>
2021-01-22 14:22:29 +08:00
cd390bdfab executor: skip null data in common handle during point-get (#22483) 2021-01-22 14:07:02 +08:00
fdd
2364fec8f0 executor: fix load data in file get wrong result #20854 (#21895) 2021-01-21 21:53:29 +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
ac17ae982a util/codec: add error handling to NewCommonHandle() to avoid panic (#22458) 2021-01-21 16:44:59 +08:00
8d6ddedfb1 session,executor: fix point get under @@tidb_snapshot (#22460)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-01-21 14:43:19 +08:00
8ddd41c960 executor: fix typo (#22385) 2021-01-18 16:15:28 +08:00
405c6bbaba *: make 'tidb_enable_change_column_type' available as a session variable (#20399) 2021-01-18 14:29:48 +08:00
ca93c7fc16 types: convert string to MySQL BIT correctly (#21310) 2021-01-18 12:17:58 +08:00
42edd7a29f executor: metrics slow query is divided into internal and general (#22350) 2021-01-15 14:26:57 +08:00
1bb914ed9a executor: expression index should not appear in key_column_usage (#22358)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2021-01-15 11:00:30 +08:00
d0ca720a5f *: support ALTER TABLE ADD / DROP TIDB_STATS (#22127) 2021-01-14 15:28:28 +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
68aaa2fa7e *: fix auto-id allocate tracing (#22371) 2021-01-13 12:19:58 +08:00
xhe
289bc7e79c ddl: concurrent safe api for using rule bundles cache (#22035)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-13 10:58:58 +08:00
fdd
2c4a60daff executor: fix tidb can not show view data_type (#22363) 2021-01-12 17:33:28 +08:00
8d4cac2c89 oracle: fix GetStaleTimestamp get stuck error (#22279) 2021-01-12 12:17:00 +08:00
6280016ac6 executor: fix memTableReader decoding for old row format key-values (#22221) 2021-01-11 17:00:28 +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
8cc5e170e9 *: using a lru cache in cachedb (#22312)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-01-09 14:48:58 +08:00
31bbfcef82 executor: refine maxOneRow (#22194)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2021-01-09 13:19:14 +08:00
4071a72bf2 executor: add test case for memory cache in parition table (#22291)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-01-08 14:34:28 +08:00
fe9d3161fa executor: store correct plan hint in statements_summary when log level is 'debug' (#22219) 2021-01-08 14:03:10 +08:00
caa8c16cac execution: support explain analyze in mpp execution. (#22053) 2021-01-07 17:46:59 +08:00
c6fae57f4e executor: check not exist error in batch point get for cached tables (#22264)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-01-07 17:17:58 +08:00
d1d5cc433e time: fix parse datetime won't truncate the reluctant string (#22232) 2021-01-07 14:52:16 +08:00
73a6f53a3a *: cache batch point get for read-only table (#22165)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-01-07 14:19:44 +08:00
ec73315dce *: Move tikv gc configuration to sysvars (#21988) 2021-01-07 13:59:44 +08:00
6e98d18e94 planner: push down projection for tiflash (#21459) 2021-01-07 11:41:44 +08:00
c7165bc518 executor, planner: ON DUPLICATE UPDATE can refer to un-project col (#14412)
Co-authored-by: Kenan Yao <cauchy1992@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-01-06 19:03:51 +08:00
8ef1031623 *: remove tidb-lightning pkg to fix unexpected config change (#22164) 2021-01-06 14:17:34 +08:00
f55e8f2bf8 table: fix insert into _tidb_rowid panic and rebase it if needed (#22062) 2021-01-05 18:18:19 +08:00
85d8d0605f executor: fix select into outfile with year type column has no data (#22175) 2021-01-05 17:51:11 +08:00
76054200b6 statistics: redesign the schema for mysql.stats_extended (#22033)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-01-04 17:57:24 +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
960dab5444 executor:return warning when load data meet no partition for incompatiable mysql,but err and abort (#22042) 2021-01-04 12:49:43 +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
d754770e50 executor: fix incompatible escape behaviors in select into outfile (#22100) 2020-12-30 17:39:36 +08:00
8144e1395d *:Adapt ScanDetailV2 in KvGet and KvBatchGet Response (#21562) 2020-12-30 17:02:44 +08:00
f2a68ee28a executor: fix update ignore into not exists partition (#21984) 2020-12-30 16:44:13 +08:00