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
ce0312bd43
executor: handle unsigned primary key for fast analyze ( #11074 )
2019-07-04 16:08:39 +08:00
ea6b865c08
executor: fix a logical error which is introduced in a previous refactor ( #11060 )
2019-07-04 11:46:03 +08:00
027851fe3b
executor: fix two data races in tests ( #11062 )
2019-07-04 10:41:48 +08:00
ff82b62b97
*: refactor the optional arguments for table.AddRecord and index.Create ( #11018 )
2019-07-02 15:51:29 +08:00
cb23b524ac
*: directly save prepare execute args as datums in binary proto ( #10884 )
2019-07-02 13:49:06 +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
08d821931d
executor: fix point get snapshot TS for pessimistic transaction. ( #11012 )
2019-07-01 19:26:25 +08:00
1916effb04
*: fix oom action cancel bug ( #10993 )
2019-07-01 13:40:54 +08:00
f29b36ca1d
*: fix malformed SQL statements in test ( #10992 )
2019-07-01 10:37:35 +08:00
b63a8bfedf
meta: make auto increment id can be adjust. ( #10978 )
2019-06-28 22:26:08 +08:00
2e369cd520
planner,executor: relax the restrictions of trace format='row' ( #10979 )
2019-06-28 16:47:33 +08:00
0d984d8ffc
executor: locks key in point get executor for pessimistic transaction ( #10972 )
2019-06-28 14:06:43 +08:00
0d563f1e2d
stats: fix unstable test ( #10953 )
2019-06-27 13:51:16 +08:00
d244723a5e
executor: remove unused structure RecordBatch ( #10891 )
2019-06-26 15:26:16 +08:00
a57b6e60a6
*: Add support for MAX_EXECUTION_TIME. ( #10541 )
2019-06-25 01:18:11 +08:00
c5a157a883
*: revert all of the radix-join-related commits ( #10926 )
2019-06-24 23:35:15 +08:00
a935d93990
*: support IF EXISTS/IF NOT EXISTS for some DDLs ( #10723 )
2019-06-24 19:46:26 +08:00
91b889d2b5
store/tikv: fix insert on dup update for pessimistic transaction ( #10905 )
2019-06-24 14:56:46 +08:00
dc378a2cff
executor: tiny refactor the runtimeStats collection code ( #10917 )
2019-06-24 14:09:31 +08:00
c59028a2b5
*: let baseFuncDesc.typeInfer return error instead of panic ( #10910 )
2019-06-24 13:09:14 +08:00
b26cb0d93c
stats: fix the index cm sketch for fast analyze ( #10839 )
2019-06-22 12:55:14 +08:00
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