Commit Graph

2212 Commits

Author SHA1 Message Date
b0d6c5b35b *: print an expensive query log when a query is out of memQuota (#10799) 2019-06-18 16:18:48 +08:00
beb8268d85 executor: fix the issue that pb memory cannot be released quickly (#10815) 2019-06-18 15:51:34 +08:00
612936bbd4 *: Support LOCK/UNLOCK TABLES feature (#10343) 2019-06-18 15:38:04 +08:00
c59a108c28 ddl, expression: Disallow add stored generated columns through ALTER TABLE (#10758) 2019-06-13 21:14:40 +08:00
2b611274e3 domain: load stats when stats lease is 0 (#10771) 2019-06-13 15:28:56 +08:00
7d27fa63d3 ddl, table: allow using SHARD_ROW_ID_BITS with auto_incremental columns (#10759) 2019-06-12 20:43:29 +08:00
cd8c4e6e37 *: add a blacklist to disallow pushing down specific expressions (#10688) 2019-06-12 13:54:33 +08:00
fbf58fc9b5 planner: fix wrong selectivity for inner selection in index join (#10633) 2019-06-12 12:50:14 +08:00
980f5bbf4f executor: speed up unit tests in executor package (#10769) 2019-06-12 11:26:24 +08:00
45ff4f62cc executor: add a 'load data' into partitioned table test case (#10762) 2019-06-11 15:43:00 +08:00
f5bdc26e38 executor: fix split table bug (#10761) 2019-06-11 13:45:58 +08:00
71def9c726 executor: improve UT coverage of executor package (#10728) 2019-06-11 10:01:43 +08:00
59b5e1d2bf *: add split table syntax to split table region (#10553) 2019-06-10 14:38:56 +08:00
78881f6d2d executor: execute some statement (create user grant etc) would commit current transaction automically (#10707) 2019-06-06 15:45:48 +08:00
7bf3d69313 *: split index region with lower upper syntax (#10409) 2019-06-06 10:47:24 +08:00
f67352d238 *: print an expensive log when a query exceeds time threshold (#10350) 2019-06-05 20:38:11 +08:00
1fb0e97b72 planner, executor: return TableDual in tryFastPlan for predicate like handlePK=1.1 (#10716) 2019-06-05 15:04:19 +08:00
08e4bd988f store/tikv: support single statement rollback for pessimistic transaction (#10654) 2019-06-05 13:40:12 +08:00
b6cf05a4b2 planner, executor: return TableDual when tryFastPlan is promised to be false (#10676) 2019-06-04 14:31:10 +08:00
ce91d25008 *: fix panic for create view using prepare (#10651) 2019-06-04 12:54:55 +08:00
89bfed305c executor, stats: fix fast analyze bugs (#10680) 2019-06-04 12:32:41 +08:00
8bc55537a1 executor: fix show create table for partitioned table (#10682) 2019-06-04 11:10:18 +08:00
8599fee538 *: implement IterReverse for tikvSnapshot and use desc scan to get latest N ddl history jobs. (#10152) 2019-05-31 23:40:09 +08:00
03bb568611 parser: Support SQL_BIG_RESULT, SQL_SMALL_RESULT, SQL_BUFFER_RESULT (#10658) 2019-05-31 17:33:23 +08:00
7cf35f1ae6 *: preload load frequent use variable (#10463) 2019-05-29 15:40:40 +08:00
0324cf5d19 executor: reset groupChecker for StreamAggExec when Close (#10615) 2019-05-29 13:55:44 +08:00
80bc2bb078 planner: should clone column in injectProjBelowSort (#10452) 2019-05-27 16:46:53 +08:00
d126b59fb0 executor: add some missing test suite back (#10602) 2019-05-27 15:48:08 +08:00
5215a11385 executor: fix analyze worker panic (#10603) 2019-05-27 15:21:07 +08:00
c4db7b7655 planner, executor: fix show view privileges for explain (#10585) 2019-05-27 13:22:28 +08:00
8344801d32 executor,privilege: fix "show grants" result for RBAC (#10571) 2019-05-24 13:18:58 +08:00
96c6ea1ca9 *: support 'tidb_txn_mode' session variable. (#10574) 2019-05-24 00:50:04 +08:00
9071ab9131 planner, executor: merge window functions with same specification name (#9866) 2019-05-23 16:39:59 +08:00
abd013c82f Add tidb_low_resolution_tso session scope variable on master (#10428) 2019-05-22 21:42:57 +08:00
233554a25d *: refine the error message in latch (#10566) 2019-05-22 19:53:57 +08:00
998a6ebee4 executor: fix point get -1 return max.uInt64 value (#10113) 2019-05-22 19:49:15 +08:00
54899f66f6 parser: support LOAD DATA ... IGNORE/REPLACE (#10336) 2019-05-22 17:03:29 +08:00
3439e6be48 executor: add warning for "drop user if exists" (#10395) 2019-05-22 16:53:19 +08:00
81167c72ba planner: ByItem should filter NULL out (#10488) 2019-05-22 16:30:56 +08:00
2fedfd0ac4 executor: only retry needed regions when get region row count (#10429) 2019-05-21 13:54:29 +08:00
0afa567046 store/tikv: use ConflictCommitTS in WriteConflict error (#10517) 2019-05-17 23:10:58 +08:00
8ec79bea50 executor: RANGE frame can have no ORDER BY clause (#10496) 2019-05-17 22:54:17 +08:00
d97e7d93c7 *: refine transaction retry error messages (#10466) 2019-05-15 17:51:07 +08:00
5c21fa4b43 ddl: implement ALTER DATABASE to alter charset/collation (#10393) 2019-05-15 17:32:21 +08:00
ba7134d4e9 executor: correct range calculation for CHAR column (#10124) 2019-05-14 16:15:31 +08:00
7d7c146786 *: fix bug when unsigned histogram meets signed ranges in feedback (#10415) 2019-05-14 15:49:02 +08:00
118a88c860 fix pessimistic txn and run pessimistic test (#10432) 2019-05-14 14:57:54 +08:00
088603f1df ddl: prohibit modification decimal precision to avoid inconsistency problem (#10433) 2019-05-14 13:29:40 +08:00
aafca88eda executor,sessionctx: add correctness checking for more system variables (#10396) 2019-05-12 19:29:25 +08:00
373748adf7 *: support pessimistic transaction (experimental feature) (#10297) 2019-05-11 09:48:45 +08:00