Commit Graph

3352 Commits

Author SHA1 Message Date
38bbb0dd21 planner: ban (index) merge join heuristically when convert eq cond to other cond (#21138) 2020-11-19 17:17:53 +08:00
2e918a2e8f executor: specially handle empty input for apply's outer child aggregate (#20544) 2020-11-19 13:54:23 +08:00
7475d92393 *: inject projection for the plan pushed to TiDB (#21090) 2020-11-19 11:27:53 +08:00
e6e894dcc4 executor: add missing update table delta for TxnCtx (#20982) 2020-11-19 10:58:45 +08:00
dy
a426a0e5ff planner: disallow multi-updates on primary key (#20603) 2020-11-17 18:33:53 +08:00
de75e604ff *: differentiate types for user variables (#18973)
Co-authored-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-11-17 17:03:41 +08:00
c23394e954 test: migrate tiflash mock test from mocktikv to unistore (#21038) 2020-11-17 16:05:58 +08:00
f1a0a28af4 executor, planner: do not coalesce column for update/delete natural_using_join (#21085) 2020-11-17 15:36:57 +08:00
f72cec77b6 *: support SQL bind for Update / Delete / Insert / Replace (#20686) 2020-11-17 15:19:04 +08:00
ee5d026855 executor: fix unstable test of TestIntegrationCopCache (#21071) 2020-11-17 12:02:27 +08:00
d5684efe49 executor: fix a potential DATA RACE in TestFastAnalyze (#21023) 2020-11-17 10:21:26 +08:00
e136429d8d *: refactor parser initialize method and add tidb_enable_strict_double_type_check variable (#20967) 2020-11-16 19:58:27 +08:00
7c88ca7974 ddl, session: set charset and coordinate collation (#21034) 2020-11-16 19:03:26 +08:00
f0bef40d6b dep: update etcd and other dependencies for lightning and CDC (#21076) 2020-11-16 17:25:27 +08:00
41786cb976 *: seperate hash keys from join keys in IndexJoin (#20761) 2020-11-16 16:24:51 +08:00
dfc3bbdee6 util, executor: parse set value correctly in HashChunkRow (#21048) 2020-11-16 14:51:26 +08:00
31ddba99da executor: fix The JSON Data can not import to TiDB correctly by load data (#21043) 2020-11-16 12:07:28 +08:00
83ceede82d session, variables: Stream agg concurrency variable (#20960) 2020-11-16 10:30:24 +08:00
975bbaf294 ddl: release memory cache for all tidb-servers when unlock tables (#21006)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-11-13 18:06:05 +08:00
5080730715 executor: fix the display of large unsigned handle when show table regions (#21026) 2020-11-13 15:26:25 +08:00
2a185ec4cf executor, expression: Fixed the warning messages when calling date_add function failed (#20418) 2020-11-13 12:04:34 +08:00
a81c89f89b ddl: support column type change from date time type to other types (#20778) 2020-11-12 19:06:42 +08:00
c8545947a1 executor, planner: fix some cases for natural_using_join (#20977) 2020-11-12 18:03:58 +08:00
3ef3e54b5e planner: don't push down null sensitive join conditions (#19620) 2020-11-12 17:16:31 +08:00
ef57bdbbb0 *: fix somes bugs related to the clustered index and the new collation (#20934) 2020-11-12 15:18:15 +08:00
15abd8ba55 executor: stablize TestDropStatsFromKV (#21004) 2020-11-12 14:29:23 +08:00
160cb9b814 *: fix set tidb_general_log not work (#20993)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-11-12 13:54:23 +08:00
269494e3de *: Move sysvar validation to struct (3 of 3) (#20521) 2020-11-12 13:22:42 +08:00
f81a5d1314 planner: check view recursion when building source from view (#20398) 2020-11-12 10:44:23 +08:00
e608e4bca9 ddl: fix the enum's default value where create table (#20849) 2020-11-11 20:18:17 +08:00
7ab3649256 executor, types: fix skipped replace when the value is treated as the same in CI collations (#20858) 2020-11-11 19:38:23 +08:00
d184120a99 ddl: use kv.Key as reorg progress marker instead of kv.Handle (#20908) 2020-11-11 18:47:23 +08:00
dy
a3facd0f71 expression, planner: fix decimal results for aggregate functions (#20017) 2020-11-11 14:46:22 +08:00
c554481392 executor: update memory usage in batch insert/delete (#20866) 2020-11-11 13:11:40 +08:00
611d24911e store, executor: Fix TestCoprocessorOOMAction may get stuck. (#20897) 2020-11-11 11:07:15 +08:00
ee77412f54 executor, kv, store/tikv: support cache for point select (#20396) 2020-11-11 10:41:49 +08:00
9007614f95 executor: fix wrong is-null result of ShowExec.fetchShowIndex (#20287) 2020-11-10 17:51:12 +08:00
658a4ce26a executor: fix unexpected results when do index merge join on outer join (#20581) 2020-11-10 14:25:17 +08:00
4d9d3d8c26 executor: fix panic in BenchmarkWindowFunctions BenchmarkWindowFunctionsWithFrame and BenchmarkWindowRows 2020-11-10 11:37:37 +08:00
8d35f17c17 Update the errors dependence to the latest version (#20917) 2020-11-10 09:50:39 +08:00
f140db6fce executor: fix issue of runtime stats of index merge join is wrong (#20892)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-11-09 23:27:54 +08:00
522275783e executor: fix auto-id allocation during statements retry (#20659) 2020-11-09 16:37:12 +08:00
dy
cc0bef82b7 util, types: fix overflow & adjustment for the year type in index ranger (#20338) 2020-11-06 17:14:54 +08:00
bacd348560 executor: modify the error message of insert time value (#20847) 2020-11-06 16:24:40 +08:00
583cbd265b statistics: store the topn by slice instead of map (#20818) 2020-11-06 15:39:33 +08:00
36ca73db53 store, executor: Fix coprocessor layer may encounter deadlock due to OOM (#20697) 2020-11-06 14:15:04 +08:00
c243a0b8ce expression: fix ADD_DATE daylight saving time change (#20871) 2020-11-06 11:40:01 +08:00
28cdf55009 transaction: lock row key in delete operation (#20755) 2020-11-06 11:16:25 +08:00
abc8f1665f *: optimize for encoding huge plan (#20811) 2020-11-06 10:46:16 +08:00
4e1cbca5c2 executor: fix panic when set partition handle for index join (#20551) 2020-11-05 14:21:35 +08:00