0d6490efc4
*: interpret timestamp datum based on session's time_zone ( #3167 )
...
1. FromPackedUint don't consider time_zone any more, moved to Unflatten
2. use session's time_zone instead of time.Local
3. add a time.Location parameter to some Encode/Decode functions in tablecodec
2017-05-08 11:58:55 +08:00
cc3676abc0
*: fix aggregation bug in new plan. ( #3210 )
2017-05-05 13:37:06 +08:00
d128a10fad
plan, executor: implement index look up executor. ( #3204 )
...
index look up executor implements index double reading. we reuse the concurrency algorithm in old index executor.
2017-05-04 21:33:36 +08:00
67c62b3b39
*: make string in select result convert to bit correctly. ( #3188 )
2017-05-03 14:14:09 +08:00
dbcab85ba6
*: support index reader executor. ( #3175 )
2017-05-03 10:58:55 +08:00
20be357e86
expression: fix buildin function found_rows() ( #3134 )
...
fix issue #3131 .
2017-05-02 11:40:10 +08:00
858d76bbe3
executor: fixed comments warning. ( #3187 )
2017-05-01 19:19:32 +08:00
b4f20e6f0b
util/testkit: refine testkit ( #3177 )
2017-04-29 23:20:49 +08:00
a9a33b0209
fix typo ( #3179 )
2017-04-29 00:24:27 +08:00
ea310f614c
executor, store: let old plan use old store. ( #3160 )
2017-04-27 20:50:10 +08:00
350c79382a
*: support new table reader executor. ( #3133 )
2017-04-27 13:27:26 +08:00
7018898f30
Revert "*: Remove useless code and use the DAG mode in tests ( #3069 )" ( #3142 )
...
This reverts commit d8c52e8ac9325df750c2f985fe5f743e840d3938.
2017-04-25 23:20:09 +08:00
0de1339979
store/tikv: export mocktikv as a storage engine. ( #3107 )
...
So DAG mocktikv can run integration tests.
2017-04-21 14:11:38 +08:00
59154905aa
*: rename table-driven tests name. ( #3081 )
2017-04-19 10:02:57 +08:00
d8c52e8ac9
*: Remove useless code and use the DAG mode in tests ( #3069 )
2017-04-17 22:14:16 +08:00
70df9c0464
*: support topN with DAG ( #3008 )
2017-04-07 18:05:55 +08:00
5eb8a819b7
*: Support limit with DAG ( #3004 )
2017-04-07 17:13:45 +08:00
b799b182e8
store: Support table scan, index scan and selection with DAG. ( #2930 )
2017-03-28 22:36:21 +08:00
99b7606624
executor: Make admin test stable ( #2940 )
2017-03-28 14:50:30 +08:00
0e172acd8e
Add a controller in Selection to control the conditions of the below scan plan. ( #2834 )
...
Prepare for IndexLookupJoin.
2017-03-28 09:58:49 +08:00
ed56d82fa7
sessionctx/variable: refine TiDB specific system variables. ( #2915 )
2017-03-24 12:57:33 +08:00
51fce6fd51
plan: fix bug about column prunning. ( #2796 )
2017-03-09 15:40:16 +08:00
624e7edebe
executor: fix bug about topn pushing down. ( #2693 )
2017-02-21 14:54:56 +08:00
6859d121b9
txn:improvement for point get by unique key or pk ( #2631 )
2017-02-20 22:39:36 +08:00
43c73b7caa
util/types: fix bug when truncating string values. ( #2686 )
2017-02-20 20:35:47 +08:00
846b267b46
util/types: ignore string truncate error. ( #2685 )
2017-02-20 19:51:08 +08:00
1972558dc9
*: change default collation to utf8_bin ( #2617 )
...
Currently we doesn't support case insensitive index, our duplication check is always case sensitive.
We should not use case insensitive collation as default collation.
2017-02-10 11:45:35 +08:00
59e8ccf0a5
expression: workaround for wrong timediff function input ( #2611 )
2017-02-08 20:57:27 +08:00
8bafc3d515
tidb: accelerate unit test ( #2590 )
...
Avoid BootstrapSession everytime, just do it once in testSessionSuite.SetUpSuite
2017-02-06 15:11:38 +08:00
7965666bce
executor: ajust some code. ( #2574 )
2017-01-30 09:45:50 +08:00
32173e988f
plan: fix a bug of exists sub query ( #2549 )
2017-01-25 14:41:53 +08:00
873403ab70
plan: refine the range calculating. ( #2534 )
2017-01-24 12:49:12 +08:00
150574bacf
plan: remove aggregation grouped by unique key. ( #2424 )
2017-01-23 19:08:48 +08:00
9d536e34a7
*: run a bootstrap session before store is ready (fix race) ( #2491 )
2017-01-22 11:39:25 +08:00
f145a32063
*: refactor apply plan and executor. ( #2411 )
2017-01-22 11:06:17 +08:00
12ae004603
executor: fix join leak ( #2505 )
...
In HashJoin Executor When Close is called after fetched 1000 rows, the result channel is full,
Close is blocked forever.
2017-01-18 23:31:41 +08:00
999517c4f1
Revert "*: run a bootstrap session before store is ready" ( #2490 )
2017-01-17 15:14:24 +08:00
e1ecc1059e
*: run a bootstrap session before store is ready ( #2481 )
2017-01-17 14:46:35 +08:00
ba8b6a9c26
fix bug of union type converting ( #2471 )
2017-01-16 12:09:27 +08:00
1b72b11ffa
util/types: fix truncate float ( #2405 )
2017-01-06 17:14:04 +08:00
696bea9f37
*: Support batch load data ( #2394 )
2017-01-05 16:15:00 +08:00
36e9570051
*: concurrently begin a transaction and compile ( #2393 )
2017-01-05 15:00:43 +08:00
e38c67e086
executor: implements nested loop join. ( #2365 )
2017-01-03 19:53:03 +08:00
31d58b69ed
executor: consider uint = int in join condition. ( #2355 )
2016-12-30 19:00:49 +08:00
64484a4257
*: refactor context.Context ( #2298 )
...
Make transaction life cycle under control, prepare for correctly handle schema out of date error.
The old `GetTxn(forceNew boll)` is replaced by `Txn` and `NewTxn`,
`CommitTxn` and `RollbackTxn` is removed.
2016-12-23 13:02:41 +08:00
0adabe53a1
*: begin a transaction in PrepareTxnCtx, unify in transaction. ( #2290 )
...
Transaction should has the same life cycle as TxnCtx, so create a
new transaction in PrepareTxnCtx if transaction is nil or invalid.
2016-12-21 16:48:19 +08:00
c24c90b4d3
tidb, variable: refactor retry, add TransactionContext ( #2256 )
2016-12-16 11:07:59 +08:00
d406c77c1f
Revert "tidb, variable: refactor retry, add TransactionContext" ( #2255 )
2016-12-15 10:42:04 +08:00
ff0ceb1785
tidb, variable: refactor retry, add TransactionContext ( #2254 )
2016-12-15 10:35:57 +08:00
dd4dcfee36
fix primary key's type ( #2222 )
...
* executor: fix primay key type error
When we do single read index scan, primay key's type should be determined
by it's flag.
* executor: add test
* executor: format code:
* executor: address comment
2016-12-12 01:35:22 -06:00