Commit Graph

2312 Commits

Author SHA1 Message Date
36f0f37b40 expression, planner: remove some fields from `expression.Colum… (#12573) 2019-10-29 15:48:26 +08:00
bb2e349fea bindinfo: support multiply bindings for a sql (#12851) 2019-10-29 14:40:23 +08:00
9c9f79a95f executor: Hide offline pumps/drainers (#12862) 2019-10-28 19:16:59 +08:00
deb7700e85 test: fix ddl_test and make auto id test stable (#12931) 2019-10-28 11:50:00 +08:00
1016acc1e4 executor: wait all fetchChildData exiting in HashAggExec.Close (#12930) 2019-10-25 20:03:26 +08:00
04c8b32de2 executor: fix wrong runtime stats record in index merge join (#12925) 2019-10-25 17:16:26 +08:00
342e8ed96c executor: change outer result to list in index merge join (#12727) 2019-10-25 16:15:21 +08:00
4907685ed2 *: fix bug that the kill command doesn't work when the killed session is waiting for the pessimistic lock (#12852) 2019-10-24 17:26:12 +08:00
bb1c5c8493 executor: fix the projection upon the indexLookUp in indexLookUpJoin can't get result. (#12889) 2019-10-24 11:41:59 +08:00
2e6a2ee478 planner, executor: support create view on union (#12595) 2019-10-24 11:30:12 +08:00
73213999ce executor: reuse chunk row for insert on duplicate update (#12847) 2019-10-23 21:57:07 +08:00
9b0334601a executor: speed up test (#12896) 2019-10-23 21:11:21 +08:00
34b3c9a641 executor: fix data race in GetDirtyTable() (#12767) 2019-10-23 13:57:30 +08:00
bc997d7035 executor: split test for speed up (#12881) 2019-10-23 12:58:29 +08:00
9a074ca8a7 executor: fix inconsistent of grants privileges with MySQL when executing grant all on ... (#12330) 2019-10-23 11:33:53 +08:00
d15bf25961 planner: unfold the wildcard when creating view (#11818) 2019-10-22 17:55:16 +08:00
5bf03c8df4 executor: add SHUTDOWN command and privilege check (#12804) 2019-10-21 21:49:56 +08:00
b8cd65714f *: record and print the plan in slow log. (#12179) 2019-10-17 22:13:19 +08:00
e1ba309148 executor: make IndexHashJoin support keeping the outer order (#12349) 2019-10-17 14:48:24 +08:00
740b7769b0 *: support automatically create sql baselines (#12434) 2019-10-17 14:16:48 +08:00
609b52998f executor: revert mostly changes in #11678 (#12481) 2019-10-16 21:22:49 +08:00
5564267250 Fix forever hanging when HashAgg is called by apply (#12760) 2019-10-16 20:16:21 +08:00
e80bab6d46 fix the STR_TO_DATE incompatible between MySQL and TiDB (#12623)
Signed-off-by: Lonng <heng@lonng.org>
2019-10-15 17:51:25 +08:00
4a43daa882 planner: handle single partition in IndexJoin correctly (#12581) 2019-10-15 11:26:03 +08:00
cc991d90d3 executor: support index lookup merge join in executor. (#12024) 2019-10-14 19:21:33 +08:00
a64ee14279 executor: support projection as inner child of index join (#12640) 2019-10-14 17:51:50 +08:00
99a4e602fb *: support split partition table region (#12213) 2019-10-14 15:40:45 +08:00
cf6dd376a3 table: avoid write untouched index in auto commit and avoid get untouched index key from tikv (#12609) 2019-10-14 11:02:54 +08:00
2dc472fc98 infoschema: add tidb_servers_info memory table (#12580) 2019-10-14 10:58:19 +08:00
03addcbf0f executor: do not return first row until the frame is completed. (#12480) 2019-10-12 19:38:03 +08:00
7ffa4500e6 planner: support a hint to read from tiflash in planner (#12479) 2019-10-11 16:36:35 +08:00
fbf0d90c06 executor: error processing refactor for load data (#12465) 2019-10-11 13:01:32 +08:00
ebc122bb48 *: support where in admin show ddl jobs statement (#12484) 2019-10-11 10:47:13 +08:00
c0d6185144 planner: implement the BatchPointGetPlan to improve the BatchPointGet performance (#12322) 2019-10-10 16:56:03 +08:00
01cddf63d9 dml : Multiple rows insert in a statement should have consecutive autoID if needed. (#11876)
* consecutive id

* add AllocN interface func for util/kvencoder/allocator.go

* fix allocN test

* fix allocN tests

* fix allocN test 1

* fix allocN test 2

* fix allocN test 3

* fix allocN test 4

* fix cache

* add auto consecutive increment id in insert executor

* add auto consecutive increment id comment in insert executor

* try fix test case

* fix session_test.TestAutoIncrementID autoid overflow

* fix session_test.TestAutoIncrementID unsighed autoid overflow

* fix autoid usigned computing overflow

* fix conflict with suli's PR

* fix index out of range

* merge similar function

* delete fillRowLazy

* fix commment

* fix bug of rebase

* fix auto.go maxUint64 will be allocated

* fix maxInt64 autoid allocated

* fix batch rowIdx update

* add maxUint64 and maxInt64 limit in allocN

* reconstruct the autoid lazy alloc

* fix format

* remove commnet

* use new kind of logutil.logger(ctx) instead of logutil.BgLogger()

* combine alloc() and allocN together

* remove cache of hasValue

* remove cache of hasValue

* remove cache of hasValue

* remove cache of hasValue

* add test : autoID can find in retryInfo

* add test : autoID can find in retryInfo

* extract retry logic

* extract retry logic

* Update executor/insert_common.go

Co-Authored-By: bb7133 <bb7133@gmail.com>

* Update executor/insert_common.go

Co-Authored-By: bb7133 <bb7133@gmail.com>

* fix comment

* fix comment

* fix comment

* fix comment

* fix comment

* return min and max instead of slice in alloc autoid

* return min and max instead of slice in alloc autoid

* return min and max instead of slice in alloc autoid

* add comment for alloc N
2019-10-10 10:34:44 +08:00
a177d46663 executor: add index hash join benchmark (#12564) 2019-10-09 17:02:46 +08:00
4642b54de4 log: move autocommit varable value into connection info (#12310) 2019-10-09 14:01:20 +08:00
253cd1f8ab session: remove the mockFail field from txnFuture (#12545)
Signed-off-by: Lonng <heng@lonng.org>
2019-10-08 23:30:47 +08:00
3e8129d59e executor,sessionctx: add correctness for system variables (#12311) 2019-10-08 16:20:52 +08:00
5b3df63ced executor: case refactor for point execution (#12486) 2019-09-30 16:10:08 +08:00
41ac571d7b *: remove the LightningMode from TiDB (#12466) 2019-09-29 15:12:01 +08:00
99a5432dce *: encode the returned data using the Chunk format in mocktikv (#12023) 2019-09-28 20:02:26 +08:00
ba9d1ca960 *: adjust delta schema count and add metrics (#11625) 2019-09-27 20:33:18 +08:00
a582640dc3 executor: make point updates go short path (#12243) 2019-09-27 18:36:01 +08:00
095bee9655 executor: support table reader executor read from tiflash. (#12371) 2019-09-27 15:31:04 +08:00
854e68dc69 executor: display column collate in show create table (#12327) 2019-09-27 15:11:01 +08:00
2bba5654b4 types/data: the bit data type should be treat as uint64 (#11951) 2019-09-26 19:14:31 +08:00
20bdf44d12 ddl: fix the set's default value where create table (#12267) 2019-09-26 12:18:20 +08:00
74eaf327e9 *: log each com_stmt_fetch separately (#11987) 2019-09-25 17:57:16 +08:00
e41458983c executor: record slow-log when log use error level (#12359) 2019-09-25 13:16:15 +08:00