Commit Graph

575 Commits

Author SHA1 Message Date
613373e78f planner: refactor the code of buildUpdate to solve some bugs (#13208) 2019-11-11 12:50:35 +08:00
f9be8ebf85 *: make log_level working for gotest (#13258) 2019-11-08 14:44:39 +08:00
559f5ea87c executor: fix TestShowTableRegion (#13234) 2019-11-07 14:32:23 +08:00
1827c7a701 executor: fix goroutine leak in testRecoverTable (#13135) 2019-11-05 11:44:43 +08:00
36f0f37b40 expression, planner: remove some fields from `expression.Colum… (#12573) 2019-10-29 15:48:26 +08:00
2e6a2ee478 planner, executor: support create view on union (#12595) 2019-10-24 11:30:12 +08:00
9b0334601a executor: speed up test (#12896) 2019-10-23 21:11:21 +08:00
bc997d7035 executor: split test for speed up (#12881) 2019-10-23 12:58:29 +08:00
d15bf25961 planner: unfold the wildcard when creating view (#11818) 2019-10-22 17:55:16 +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
99a4e602fb *: support split partition table region (#12213) 2019-10-14 15:40:45 +08:00
2dc472fc98 infoschema: add tidb_servers_info memory table (#12580) 2019-10-14 10:58:19 +08:00
ebc122bb48 *: support where in admin show ddl jobs statement (#12484) 2019-10-11 10:47:13 +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
5b3df63ced executor: case refactor for point execution (#12486) 2019-09-30 16:10:08 +08:00
a582640dc3 executor: make point updates go short path (#12243) 2019-09-27 18:36:01 +08:00
73e762c032 executor: testShowStatsSuite should not inherit testSuite (#12350) 2019-09-24 16:17:16 +08:00
15011b6c49 executor: new execution path for point execution within prepared plan cache (#11970) 2019-09-17 14:14:45 +08:00
fa675ca3b8 executor: fix scatter region timeout issues and "show processlist" display issues (#12057) 2019-09-17 12:00:15 +08:00
d438e103be executor: load data statement, separate data preparing routine and commit routine (#11533) 2019-09-16 19:46:12 +08:00
4ee517cea4 conn: fix lost connection when insert from select panic cause by out of memory quota (#12090) 2019-09-10 15:10:03 +08:00
0fbd21c085 *: replace pessimistic default config option with global variable (#12041) 2019-09-05 18:32:58 +08:00
f9d85418ed *: support a region divided into multiple regions (#11739) 2019-09-03 13:30:49 +08:00
ba4eb8fba5 *: add region read/write bytes info and approximate size/keys in show table regions result. (#11847) 2019-08-29 11:33:44 +08:00
8b679ed3e2 executor: fix panic when execute change pump state (#11730) 2019-08-22 13:40:45 +08:00
ddace4f3fc executor: split a separate region for index when split table region (#11721) 2019-08-22 10:35:46 +08:00
5d88749b6f ddl: refine pre-split region logic (#11794) 2019-08-20 19:17:36 +08:00
2addc25984 planner: use BatchPointGet to improve SELECT ...WHERE IN performance (#11750) 2019-08-20 19:10:35 +08:00
036e7e207d *: support new 'log' format for trace (#11681) 2019-08-09 12:43:33 +08:00
554594b0bb build: use make testSuite to ensure all testSuites enabled (#11627) 2019-08-08 15:23:28 +08:00
265b654809 model: add schema name, table name to ddl job. (#11561) 2019-08-05 17:30:23 +08:00
59e3eb75cd *: speed up the operation of "admin check table" (#8572) 2019-07-31 17:11:30 +08:00
da8e7d267c executor: refactor union_scan executor by using txn_mem_buffer_reader (#10673) 2019-07-30 17:40:33 +08:00
268cbf1a5d stats: support more analyze options (#11278) 2019-07-25 13:25:24 +08:00
abbca5375e *: add trace support for subquery (#11182)
Test pass, auto merge by Bot
2019-07-24 19:03:47 +08:00
3b6d2f475f executor/split: return split result when do split region and refine split timeout logic. (#11259) 2019-07-23 17:35:13 +08:00
c1a5e79b28 planner: correct the generation of the field name (#11324) 2019-07-23 14:17:49 +08:00
b6a634638f executor: speedup unit test (#10930) 2019-07-18 19:16:22 +08:00
fcc15b1256 types: fix delete error when convert string to float or int (#10861) 2019-07-16 19:50:04 +08:00
368119b8df executor: compute ADMIN CHECKSUM for partitioned tables correc… (#11089) 2019-07-16 07:39:17 +08:00
f496b775fd planner: unsigned pk cannot be pushed as index column (#11094) 2019-07-12 16:25:01 +08:00
84432823b3 refactor the logic of load data batch insert, make batchCheckGet happen once per transaction (#11132) 2019-07-12 13:36:58 +08:00
4a1374d93a planner: fix bug when pruning columns for TableDual (#11054) 2019-07-11 20:26:03 +08:00
b43668da82 planner: fix union scan on partition table bug (#11187) 2019-07-11 11:00:44 +08:00
66f5754c68 *: add trace support for the AllocAutoIncrementValue function (#11158) 2019-07-10 15:07:42 +08:00
04cfda8699 *: add show table regions syntax (#10612) 2019-07-10 11:54:52 +08:00
58f5632b90 executor: make TestShowAnalyzeStatus more stable (#11090)
If TestShowAnalyzeStatus run parallelly with others, the results would be affected.
use a new testShowStatsSuite for it.
2019-07-05 10:56:27 +08:00
e1f2b3728d *: make assertion check more reasonable (#10424)
Make sure there are no "ASSERTION fail" logs in session and executor unit test
2019-07-04 16:20:38 +08:00
027851fe3b executor: fix two data races in tests (#11062) 2019-07-04 10:41:48 +08:00
5886bb90d1 executor: let flush privileges do nothing when skip-grant-table is configured (#10986)
When skip-grant-table is enabled, privilege handle is not initialized, calling flush privileges
would meet nil pointer panic
2019-07-02 10:44:30 +08:00