Commit Graph

2361 Commits

Author SHA1 Message Date
275984501f planner: Support assign DEFAULT in ON DUPLICATE KEY UPDATE statement (#13168) 2019-11-21 12:33:37 +08:00
a0ea49c342 expression : fix bug in insert select union select. (#13632) 2019-11-20 20:36:03 +08:00
889ad618cf planner: projection don't new unnecessary column (#13406) 2019-11-20 13:58:38 +08:00
380216ed20 planner: Fixup error when assign DEFAULT in `INSERT/UPDATE/R… (#13211) 2019-11-19 18:23:02 +08:00
1d4ac098db executor: getNewJoinResult after handling a task for orderd IndexHashJoin (#13451) 2019-11-19 14:59:53 +08:00
163132a5ca *: update the forUpdateTS for insert/replace into select statements (#13561) 2019-11-19 14:54:23 +08:00
ebed3d606c executor: pessimistic txn update forUpdateTS for concurrent insert (#13553) 2019-11-19 10:51:53 +08:00
ceee144692 executor: fix unstable fast analyze test (#13546) 2019-11-19 10:44:23 +08:00
ee1ac01282 planner, executor: fix wrong result in index merge join. (#13192) 2019-11-18 13:34:24 +08:00
39a6f7f4cc *: make transaction duration metrics more reasonable (#13444) 2019-11-15 19:17:36 +08:00
40c9f9c6e4 executor: fix a batch get executor bug inside a transaction (#13473)
When the BatchGetExec runs inside a transaction, it should consider the data changes
in the membuffer.
2019-11-15 16:55:05 +08:00
df1baca19f *: support adding/dropping the primary key by a configuration (#13229) 2019-11-15 01:10:51 +08:00
b5bb7fee67 table, executor: fix the data race of the partition table's hashcode (#13421) 2019-11-15 00:08:24 +08:00
2baaf1f048 planner: support hint for IndexHashJoin and IndexMergeJoin (#13238) 2019-11-13 21:21:04 +08:00
4283263b13 store : add store limit to restrain bad store from occupying too much token limit. (#12779) 2019-11-13 18:49:24 +08:00
aca3f47292 *: Refactoring reading logic of virtual generate column (#12407) 2019-11-13 17:39:53 +08:00
343bb640a0 bindinfo: support drop specific binding (#13245) 2019-11-13 12:32:24 +08:00
b84c5a73ad executor: implement the execution part of the outer hash join (#12882) 2019-11-12 17:48:30 +08:00
5886055b6b ddl: fix error code and error name (#13329) 2019-11-12 17:23:18 +08:00
5c521c8e43 executor: vectorized calculation the key for the group by items in hash aggregation (#12729) 2019-11-12 17:00:00 +08:00
4afbf001ea stats: fix merge cm sketch panic (#13391) 2019-11-12 16:44:59 +08:00
5bc709f13c executor: speed up TestEarlyClose (#13386) 2019-11-12 15:39:10 +08:00
59fedf27b9 executor: fix fast analyze unit test fail (#13367) 2019-11-12 13:57:58 +08:00
2dfaf55410 sysvars: error code package for sysvar.go (#13366) 2019-11-12 13:01:29 +08:00
dffc5152f2 planner: freeze the output order of UPDATE's select (#13166) 2019-11-11 23:09:21 +08:00
413643e25a planner: support point get by _tidb_rowid (#13360) 2019-11-11 19:37:29 +08:00
60bfdf5ba4 Revert "executor, util: rename original List to ListInMemory and add a new interface List (#13353)" (#13363)
This reverts commit 2b5f81add11497b5b5595b3ba16ac88cddf33a65.
2019-11-11 18:30:34 +08:00
2b5f81add1 executor, util: rename original List to ListInMemory and add a new interface List (#13353) 2019-11-11 15:50:43 +08:00
613373e78f planner: refactor the code of buildUpdate to solve some bugs (#13208) 2019-11-11 12:50:35 +08:00
cd7a053dbb ddl, executor: limit the length of the index name when executing "create table" (#13016) 2019-11-09 14:19:42 +08:00
5737729493 stats: fix panic when fast analyze on empty table (#13284) 2019-11-08 19:14:53 +08:00
5c3ed7ff60 *: refine transaction related log (#13263) 2019-11-08 14:56:09 +08:00
f9be8ebf85 *: make log_level working for gotest (#13258) 2019-11-08 14:44:39 +08:00
ab1c939d1c executor: fix fast analyze test (#13275) 2019-11-08 14:11:33 +08:00
26174f11b5 *: disable batch DMLs by default (#13081) 2019-11-07 19:59:15 +08:00
60d4291c5d store: upgrade the CheckTxnStatus API (#13123)
CheckTxnStatus introduces a non-block read mode. In this mode, TiDB can ignore
the secondary lock TTL check and send the CheckTxnStatus request.
2019-11-07 19:09:13 +08:00
5a00578e27 executor: fix data race in TestStatementContext (#13169) 2019-11-07 15:25:47 +08:00
559f5ea87c executor: fix TestShowTableRegion (#13234) 2019-11-07 14:32:23 +08:00
aecc3421dc executor: do update forUpdateTs for err path (#13218) 2019-11-07 13:59:39 +08:00
b697fac4ba expression: vectorize hash calculation during probing (#12048) (#12669) 2019-11-05 21:42:34 +08:00
5fd8b4d251 executor: support innodb_lock_wait_timeout for pessimistic transaction (#13103) 2019-11-05 17:26:40 +08:00
186c6acbfe executor: fix data race in TestAnalyzeFastSample (#13130) 2019-11-05 11:49:19 +08:00
1827c7a701 executor: fix goroutine leak in testRecoverTable (#13135) 2019-11-05 11:44:43 +08:00
f12403ef08 executor: support select for update no wait (#12775) 2019-11-04 17:01:40 +08:00
ff6a4f7e8f kv: add error code for package kv (#12866) 2019-11-01 15:13:27 +08:00
7bfa8967e1 executor: rename HashJoin.outer and inner to probe and build (#13045) 2019-10-31 11:43:36 +08:00
cb99508347 executor: change indexLookupJoin.outerResult to chunk.List (#12972) 2019-10-30 17:53:33 +08:00
e8294ad636 executor: try to cache executor for prepared point select (#12855) 2019-10-30 10:23:18 +08:00
9ed376ada2 util/admin: support admin check table on partition table (#12796) 2019-10-29 20:16:37 +08:00
36f0f37b40 expression, planner: remove some fields from `expression.Colum… (#12573) 2019-10-29 15:48:26 +08:00