56ed7f129d
expression: change like function's behavior. ( #4683 )
2017-09-29 10:27:23 +08:00
581f354713
vendor: update etcd and kvproto ( #4671 )
...
* vendor: update etcd and kvproto
update etcd to v3.2.6 to fix a etcd client bug
* fix ci
* update goleveldb to fix DATA RACE in test
2017-09-28 19:03:02 +08:00
07e8911628
*: reduce growslice ( #4680 )
2017-09-28 18:00:32 +08:00
2af4ad700e
plan: do some code clean work and error check ( #4677 )
2017-09-28 17:29:09 +08:00
e3ab386874
*: revert 4669 "make prepare stmt retriable when schema is out-dated" ( #4676 )
...
* Revert "executor: analyze use NewSelectResult (#4667 )"
This reverts commit d1d78b726ba6ba4c79d38ce95252fc41753db02e.
* Revert "table: Speed up the add index operation (#4632 )"
This reverts commit d782ce103eea7680f289f6a35576dc9349bb0bb4.
* Revert "*: make prepare stmt retriable when schema is out-dated. (#4669 )"
This reverts commit 3dfbf52e64cc0af6039758d169bf133b965f5584.
2017-09-28 16:19:53 +08:00
459c4691b5
expression: remove useless code ( #4672 )
2017-09-28 16:03:04 +08:00
d1d78b726b
executor: analyze use NewSelectResult ( #4667 )
2017-09-28 13:07:35 +08:00
d782ce103e
table: Speed up the add index operation ( #4632 )
2017-09-28 12:28:35 +08:00
3dfbf52e64
*: make prepare stmt retriable when schema is out-dated. ( #4669 )
2017-09-28 10:41:22 +08:00
2d0041e134
*: add combination sql modes support( #4631 ) ( #4633 )
...
Fix #4631
2017-09-28 10:01:48 +08:00
1c4143e9e4
expression, types: remove the useage of "evalExprToXXX" functions ( #4666 )
2017-09-27 23:42:00 +08:00
f303336d98
kv: mapping txn too large error code to mysql ( #4661 )
2017-09-27 08:20:50 -05:00
0e4e8c9d3a
store/tikv: fix gc bug. ( #4665 )
2017-09-27 20:34:20 +08:00
a6756a4eee
*: make insert with calculated value behave the same as MySQL. ( #4603 )
2017-09-27 19:59:31 +08:00
0548911f52
domain: add prometheus interceptor to etcd client's grpc dial option ( #4663 )
2017-09-27 06:13:04 -05:00
7ac95044a8
ddl: increase wait time for drop index/truncate table test. ( #4662 )
2017-09-27 05:05:14 -05:00
0fd5b5167e
*: change the way transfer handle. ( #4348 )
2017-09-27 03:47:07 -05:00
fe8a57f4e3
store/tikv: simplify error messages that return to mysql client. ( #4656 )
2017-09-27 03:09:36 -05:00
5a47a06dbf
*: move tests ( #4651 )
2017-09-27 14:38:45 +08:00
239d181723
ddl_test: use mock tikv store ( #4655 )
2017-09-27 00:30:12 -05:00
baee1bb864
expression, types, plan: remove the usage of "TypeClass" completely ( #4654 )
2017-09-27 12:39:44 +08:00
5200745d6a
distsql,store/tikv: SelectDAG function parameter refactor ( #4645 )
...
* distsql,store/tikv: SelectDAG function parameter refactor
1. move some distsql.SelectDAG parameter to kv.Request struct
2. modify tikv.RPCContext struct, remove kvrpcpb.Context in it
3. let tikvrpc.Request struct share Context with its subcommand request
2017-09-27 12:33:05 +08:00
dd3b37065b
tidb: add a transaction count metric ( #4646 )
2017-09-26 23:08:11 -05:00
7943d0e843
expression, types: remove the usage of "TypeClass" in "builtin_compare.go" ( #4649 )
2017-09-26 23:33:56 +08:00
b52204d49d
remove unused values. ( #4648 )
2017-09-26 20:38:00 +08:00
fc75c2702b
domain: fix goroutine leak in auto analyze worker ( #4636 )
2017-09-26 18:31:30 +08:00
f6ccdb75e3
stats: pre-calculate the lower and upper scalar ( #4623 )
2017-09-26 03:15:00 -05:00
19ecf92788
ddl: make test stable ( #4642 )
2017-09-26 02:10:39 -05:00
c1d1ddcb12
ddl: add limitation for index comment ( #4619 )
2017-09-26 13:19:26 +08:00
f89db5b6ec
expression, types: export "evalTp" to "EvalType" and move it to package "types" ( #4626 )
...
* expression, types: export "evalTp" to "EvalType" and move it to package "types"
* add source file
* change "ETJSON" to "ETJson"
2017-09-26 11:25:27 +08:00
e19e1ac3ac
owner: revoke on ctx.Done. ( #4624 )
2017-09-26 10:49:33 +08:00
0094512187
*: update start ts for NewTxn. ( #4628 )
...
The start_ts is only updated in `ActivePendingTxn`, it need to be updated in `NexTxn` as well.
2017-09-25 20:07:24 +08:00
24de0a0d64
*: add a flag to control auto analyze ( #4630 )
2017-09-25 20:03:49 +08:00
6f84392d40
*: optimize SortExec ( #4622 )
...
* *: change key of orderByRow from "key []types.Datum" to "key []*types.Datum"
* address comment
2017-09-25 19:50:26 +08:00
9a78f192de
ddl: Clean up tests ( #4629 )
...
* ddl: remove useless bootstrap
* ddl: split the TestIndex
2017-09-25 19:19:18 +08:00
45bdd69cde
*: support signature push down. ( #4495 )
2017-09-25 18:58:42 +08:00
bc84be8df2
*: split separated region for newly created table. ( #4592 )
2017-09-25 15:59:22 +08:00
38cabb10d3
ddl,domain: make test leak more stable ( #4625 )
2017-09-25 02:07:28 -05:00
0d19c5d7c2
domain: change schema validator data struct to queue ( #4578 )
2017-09-25 13:28:12 +08:00
b9c3bc4e43
store-tikv: drop invalid cached region ( #4506 )
2017-09-25 12:59:04 +08:00
e599ceec2b
types: fix 'select cast(12.1 as decimal(3,4))' core. ( #4612 )
2017-09-24 21:17:17 +08:00
d2d14d8c48
*: 1. remove expression/typeinfer.go entirely ( #4611 )
...
2. remove the validator of sql like 'insert into t set a = 1, b = a'
2017-09-22 20:27:03 +08:00
25b5a2ce18
*: Refactor aggregation ( #4605 )
...
Aggregation results were stored in aggregation functions, so one map is created for each function to store different groups’ results, which requires much memory.
The aggregation functions are refactored and are now stateless, and the maps are kept in executor (executor.HashAggExec and mocktikv.aggregateExec) so that only one map is needed to store all the functions’ results, which reduced the memory usage.
2017-09-22 19:41:01 +08:00
d4adb77e4a
executor: set default value for analyze push down ( #4610 )
2017-09-22 06:28:06 -05:00
a60bbd9560
expression: refactor "helper.go" ( #4593 )
2017-09-22 18:54:04 +08:00
a764561dac
*: Speed up the add index operation ( #4579 )
2017-09-22 18:24:03 +08:00
16c008bc70
*: move tests. ( #4604 )
2017-09-22 17:38:40 +08:00
118e8611b4
store/localstore: teardown testMvccSuite should close storage ( #4607 )
2017-09-22 16:50:05 +08:00
7eefb404fd
stats: refine estimate in buckets ( #4601 )
2017-09-22 03:35:51 -05:00
069cc8b222
expression: open new expression framework by default ( #4595 )
2017-09-22 15:29:42 +08:00