c8d1ff7ca6
*: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' ( #10866 )
2019-06-21 19:13:31 +08:00
8183f35563
executor: tiny clean up ( #10875 )
...
code refactor for the tracing related code
2019-06-20 16:35:59 +08:00
9dd32e84c6
*: rename and add tidb_wait_split_region_timeout session variable to set wait split region timeout. ( #10797 )
2019-06-20 14:57:35 +08:00
8c81e434db
stats: correct fast analyze stats caclulation ( #10766 )
2019-06-20 14:01:55 +08:00
75b9470a74
*: add a column describing memory usage for table information_schema.processlist ( #10837 )
...
*: add a column describing memory usage for table information_schema.processlist
Closes #10199
2019-06-20 11:48:49 +08:00
421de5ef20
executor,server: re-implement the kill statement by checking the Next() function ( #10841 )
2019-06-20 11:03:21 +08:00
711582a674
executor: log inconsistent handles when inconsistent-check fail in IndexLookupReader ( #10838 )
2019-06-19 20:07:31 +08:00
90096b3da5
executor: fix wrong row count in fast analyze ( #10859 )
2019-06-19 19:45:58 +08:00
f6be085bc6
executor: tiny refactor the Executor interface ( #10846 )
...
Introduce a base() method to get the baseExecutor, so we don't need to add
method from baseExecutor to the Executor interface any more
Before:
```
type Executor interface {
Open(context.Context) error
Next(ctx context.Context, req *chunk.RecordBatch) error
Close() error
Schema() *expression.Schema
retTypes() []*types.FieldType
newFirstChunk() *chunk.Chunk
}
```
After:
```
type Executor interface {
base() *baseExecutor
Open(context.Context) error
Next(ctx context.Context, req *chunk.RecordBatch) error
Close() error
Schema() *expression.Schema
}
```
2019-06-19 15:55:28 +08:00
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