Commit Graph

12144 Commits

Author SHA1 Message Date
ceddc106f0 executor,planner/core,util/plancodec: extend executor.ShuffleExec and planner.core.PhysicalShuffle to support multiple data sources (#20942) 2020-11-24 10:59:03 +08:00
95adbe1a72 parser: Update (#21212) 2020-11-23 21:54:54 +08:00
2effb7dd19 planner: make index-hash-join and index-merge-join consider the collation in the right way (#21221)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-11-23 20:37:43 +08:00
e6d7e7b89e planner: make index-hash-join and index-merge-join consider collation (#21201)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-11-23 17:34:53 +08:00
c2fae0343b table/tables: make the test case more stable (#21117) 2020-11-23 17:21:54 +08:00
4246568d20 domain, kv: release table which was unlocked (#21180) 2020-11-23 16:27:00 +08:00
ea3e4fa519 executor: fix bug when parsing the slow logs if the logNum is small (#20959) 2020-11-23 15:43:14 +08:00
4caa23e8d2 session: add encoded plan cache to avoid repeated encode plan when recording slow-log and statement (#21139) 2020-11-23 15:30:27 +08:00
1cdc15baaa planner: DELETE cannot delete data in some cases when the database name is capitalized (#21202)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-11-23 14:59:39 +08:00
b085cad80c ddl, infoschema: Support aborting the transaction when the placement rules are changed (#21116) 2020-11-23 14:06:24 +08:00
6910eae2a1 executor: load data statement shoule not be prepared (#21188) 2020-11-23 13:49:56 +08:00
93c3e6becd *: fix default decimal precision (#21162) 2020-11-21 21:07:54 +08:00
fbaab3ecb6 ddl, planner: make partition table consider collation in create table and select sentence (#20937) 2020-11-21 09:53:53 +08:00
2c66371d8b planner, sessionctx : Add 'last_plan_from_binding' to help know whether sql's plan is matched with the hints in the binding (#18017) 2020-11-20 20:43:23 +08:00
1d668fa930 expression: keep the original data type when doing date arithmetic operations (#20940) 2020-11-20 17:29:11 +08:00
92c012c449 log: desensitize of dispatching error and parsing error (#21141) 2020-11-20 15:39:54 +08:00
eca1ce192b util: fix wrong calculation to get memory usage. (#21158) 2020-11-20 11:14:23 +08:00
22feeb4aef executor:Add runtime stat for IndexMergeReaderExecutor (#20653)
Signed-off-by: jyz0309 <45495947@qq.com>
2020-11-19 19:36:54 +08:00
49a1527893 expression: adjust int constant when compare with year type (#21099) 2020-11-19 19:04:53 +08:00
38bbb0dd21 planner: ban (index) merge join heuristically when convert eq cond to other cond (#21138) 2020-11-19 17:17:53 +08:00
61b9930c5c tikv: don't set undetermined error for cancelled prewrites (#20983)
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2020-11-19 17:02:53 +08:00
42d0208032 expression: fix builtin IF truncation of type len (#20743) 2020-11-19 16:47:33 +08:00
aa9f7584f8 server: remove prepare stmt if no retry in stmt close() (#20867)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-11-19 16:20:33 +08:00
91cd12f83f store: update the PD client to support the Global/Local TSO (#20980) 2020-11-19 15:30:43 +08:00
2e918a2e8f executor: specially handle empty input for apply's outer child aggregate (#20544) 2020-11-19 13:54:23 +08:00
2b363fb80d *: support to modify config server-memory-quota-ratio dynamically (#20927) 2020-11-19 13:40:31 +08:00
629ef07597 plan: fix the IsSelectForUpdateLockType check (#21125) 2020-11-19 12:24:23 +08:00
27c59c7363 server: make dump binary time more compatible with MySQL (#21127) 2020-11-19 12:03:47 +08:00
6a175f1036 distsql: fix issue of table reader runtime stats display wrong result. (#21072) 2020-11-19 11:43:43 +08:00
7475d92393 *: inject projection for the plan pushed to TiDB (#21090) 2020-11-19 11:27:53 +08:00
c5caca14c5 tikv: add size limit to batch get cache (#21015)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-11-19 11:14:43 +08:00
e6e894dcc4 executor: add missing update table delta for TxnCtx (#20982) 2020-11-19 10:58:45 +08:00
f55aa04713 ddl: fix partition value type check (#21016) 2020-11-18 19:27:52 +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
863117ba05 session: Check the partition placement constraint of local transactions (#21039)
Signed-off-by: Song Gao <disxiaofei@163.com>
2020-11-17 14:28:27 +08:00
7e0821f12b planner: fix point get and batch point get should not use invisible index (#21088) 2020-11-17 14:09:27 +08:00
c20369d075 tikv: fix race at minCommitTS (#21032)
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2020-11-17 13:23:57 +08:00
ee5d026855 executor: fix unstable test of TestIntegrationCopCache (#21071) 2020-11-17 12:02:27 +08:00
9c3b93750a pd: rename GetMemberInfo to GetAllMembers (#20218)
Signed-off-by: Zheng Xiangsheng <hundundm@gmail.com>
2020-11-17 11:18:56 +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
eb8c3d1deb util: avoid to create tmp directory if memory-alarm is closed. (#20851) 2020-11-16 18:02:56 +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