f3d2a62200
executor: add test for rebuilding prepared statement plan. ( #5220 )
2017-11-28 01:12:07 +08:00
4f91997b56
executor: improve show full processlist tests ( #5222 )
2017-11-27 07:10:52 -06:00
20bd1b6842
executor: support chunk for Sort ( #5221 )
2017-11-27 20:39:26 +08:00
ee0d3f37a2
types, ranger: move Range to package ranger. ( #5231 )
2017-11-27 18:17:29 +08:00
e440ac32f4
executor: notify TiDB update privilege after alter/drop user ( #5226 )
2017-11-26 21:45:24 -06:00
fb610e6429
*: change executor Next() interface to Next(goctx.Context) ( #5223 )
2017-11-26 21:17:33 -06:00
a428e9d820
executor: support chunk for IndexLookupReader. ( #5206 )
2017-11-25 16:33:43 +08:00
af4e73c43a
tidb: always rebuild plan for retry. ( #5218 )
...
Fixes a bug that results in index and record inconsistency.
We build UnionScan based on if transaction is dirty, but this is a runtime property, may change during retry.
To simplify the logic and avoid potential bug, always rebuild the plan for retrying statements.
2017-11-25 09:50:32 +08:00
ced6efc7f4
expression: support vectorized execution of expressions ( #5184 )
2017-11-22 23:41:36 +08:00
02f6bb27c7
*: remove goCtx from session struct ( #5174 )
...
1. go context should not be stored
2. change Executor interface to Open(goctx.Context)
3. many other changes forced by this refactor
2017-11-22 02:17:38 -06:00
0ff13ce876
executor: simplify logic ( #5185 )
...
* : simplify
2017-11-22 00:55:56 -06:00
aba165718c
ddl: limit the length of the index name ( #5161 )
2017-11-22 14:08:57 +08:00
f828016e9f
*: move sessionctx/domainctx.go to domain package ( #5168 )
2017-11-22 13:41:58 +08:00
55b8f9f1ee
executor, expression: support Chunk in ProjectionExec ( #5178 )
2017-11-22 13:34:03 +08:00
8b15cb52b7
*: move StatementContext to its own package. ( #5177 )
2017-11-22 00:11:14 +08:00
16003f0d82
executor: fix missing index update when automatic updating for timestamp 5172 ( #5176 )
2017-11-21 19:04:54 +08:00
cd914b6611
plan, executor: remove NeedHandle field ( #5144 )
2017-11-21 15:20:24 +08:00
dd2812fa55
mysql, expression: support sql_mode 'PAD_CHAR_TO_FULL_LENGTH' ( #5065 )
2017-11-21 13:22:29 +08:00
a32b8dbcf6
*: use Chunk for TableReader. ( #5142 )
2017-11-21 10:08:50 +08:00
726c3a0fa9
executor: tiny refine for join ( #5099 )
2017-11-20 23:05:57 +08:00
b9ca00ad5f
plan, executor: deep clone TopN when push it down through Join ( #5158 )
2017-11-20 17:24:12 +08:00
c459da6887
*: refactor executor.checkHandleExists to tables.CheckHandleExists to reuse code ( #5157 )
2017-11-20 16:50:22 +08:00
4a75a103e4
executor: some clean up. ( #5156 )
2017-11-20 15:41:12 +08:00
14ed94132c
executor: fix issue #5132 , update handle id with some other unique keys report Duplicate keys. ( #5138 )
2017-11-20 11:06:28 +08:00
628751439a
privileges: grant privilege identified by password should be hash string ( #5129 )
2017-11-20 10:05:46 +08:00
ee2168ed62
Remove ineffectual assignment to joinedRow ( #5133 )
2017-11-17 16:06:43 +08:00
81652dbeef
*: remove returned value isNull in Row methods. ( #5131 )
2017-11-17 11:12:41 +08:00
fff58a812b
executor: slow startup for double read. ( #5123 )
...
* executor: slow startup for double read.
2017-11-16 06:32:31 -06:00
693787b103
Revert "plan: covert max/min to Limit + Sort operators ( #5105 )" ( #5127 )
...
This reverts commit 4b669b749e437a43a8d5c2674c4bd6f8bdcdedea.
2017-11-16 19:25:22 +08:00
cf5a22b5fd
*: replace *ast.Row with types.Row ( #5124 )
2017-11-16 18:36:28 +08:00
4b669b749e
plan: covert max/min to Limit + Sort operators ( #5105 )
2017-11-16 15:53:36 +08:00
f8c96f1f92
plan, executor: build logical plan to check column name validation when doPrepare ( #5116 )
2017-11-16 13:49:55 +08:00
a67c4b1ee1
plan, executor: refine projection elimination when projection is the inner child of an outer join ( #5086 )
2017-11-15 04:28:07 -06:00
e362f1ed56
types: add deepcopy for update operation ( #5098 )
2017-11-15 14:46:24 +08:00
1ef93dc274
executor: Add debug logs ( #5083 )
2017-11-13 21:19:08 +08:00
cd5c665c8c
executor: use baseExecutor for all Executors ( #5087 )
...
Makes it easy to add new method on Executor interface.
2017-11-13 21:06:31 +08:00
6f8db3167c
executor: pre-allocate memory for slices ( #5071 )
2017-11-12 21:37:00 -06:00
cedc35ca8c
executor: add default database to query log ( #5078 )
2017-11-12 21:26:56 -06:00
a13d24cff5
executor: fix a data race in dataReaderBuilder ( #5067 )
2017-11-12 20:47:36 -06:00
ec9d1f0cc6
*: simplify RecordSet.Fields. ( #5068 )
2017-11-12 12:07:18 +08:00
7cdcc1d990
plan: return error instead of panic when subquery in join ON condition ( #5062 )
2017-11-10 18:27:03 +08:00
15212587e1
*: remove resolver.go ( #4988 )
2017-11-10 14:42:10 +08:00
ecbee2e81a
executor: don't reuse Executor in IndexLookUpJoin, remove doRequestForDatums() ( #5031 )
2017-11-10 14:21:35 +08:00
03e23ee93a
executor: refine the log msg when 'set character_set_results=null' ( #5052 )
2017-11-09 20:36:30 -06:00
68cd5b09c4
plan, executor: improve hash join to support all join types ( #4987 )
2017-11-09 10:22:35 +08:00
30a080db5c
*: build and use count-min sketch ( #5042 )
2017-11-08 22:34:01 +08:00
49f2a908a6
remove read-only statement from transaction auto retry ( #5026 )
...
* *: Ignore readonly statement when retrying
* remove explain statement from retry
* remove all select statement from retry except It has setvar functions
* remove execute statement from retry if it is read-only statement
2017-11-08 19:03:05 +08:00
7891b638bc
util/testkit: fix Sort ( #5044 )
2017-11-08 01:33:38 -06:00
0977fd07e6
*: begin opentracing from dispatch() and change interface to Execute(ctx, sql) ( #5027 )
2017-11-07 02:52:15 -06:00
f3cc26e2a1
executor: make batch size of index join increasing slowly. ( #5022 )
2017-11-07 14:29:05 +08:00