Commit Graph

961 Commits

Author SHA1 Message Date
a2d4bd1df0 log: temporary remove recvTs from context log (#9673) 2019-03-12 17:20:42 +08:00
52c8267a73 *: tiny refactor, more go idiom (#9660) 2019-03-12 14:12:56 +08:00
80110fbf78 *: refactor slow log format and parse slow query log to SLOW_QUERY table. (#9290) 2019-03-11 14:42:29 +08:00
4188ae19c0 log,server: add contextual log util & test it in conn.go (#9548) 2019-03-09 11:23:45 +08:00
3910a720df *: add assertion in kvproto to check data consistency (#9180) 2019-03-08 16:49:31 +08:00
63b49c9e42 util: fix issue #9532, quote database name before running SQL with it (#9547) 2019-03-05 14:07:23 +08:00
560e8cfe57 *: sleep 0 when retry whole transaction (#9454) 2019-03-02 13:16:28 +08:00
4449eb062a ddl: add ddl job error count limit, exceed the limit should cancel the ddl job (#9295) 2019-02-27 15:03:04 +08:00
c8c92e2dd7 ddl: refine cancel modify column, add/drop foreign key rollback (#9419) 2019-02-27 14:07:34 +08:00
8369ed2ffc ddl, util: Handle default values for generating column expressions when adding an index (#9371) 2019-02-27 12:59:18 +08:00
2f3842a8da executor, planner: refine merge join compare methods to avoid some rare cases (#9390) 2019-02-25 14:19:26 +08:00
79a88a0b3c ddl: fix cancel truncate table ddl error (#8977) 2019-02-22 16:58:04 +08:00
aabd330d1e *: support "show create user" (#9240) 2019-02-21 13:58:19 +08:00
45ee205896 ddl :fix cancel add/drop partitioned table ddl job (#8938) 2019-02-19 17:22:41 +08:00
40fa006cac *: collect coprocessor runtime stats for explain analyze (#9057) 2019-02-19 16:22:00 +08:00
bc0e70dc5c planner/core: implement skyline pruning (#9337) 2019-02-19 11:19:30 +08:00
33a961decf ddl: fix canceling model.ActionRebaseAutoID and model.ActionShardRowID ddl jobs (#9226) 2019-02-18 11:34:13 +08:00
6136ab14cf *: start replacing logger with zap logger (#9279) 2019-02-15 16:43:47 +08:00
632a8c4c82 executor, util: add Benchmarks for HashAggExec and StreamAggExec (#8998) 2019-02-14 13:29:35 +08:00
65066c8d1e Control the number of rows in chunks returned by SelectResult (#9293) 2019-02-14 11:48:01 +08:00
9bdba3a5d1 plan: handle DNF expressions in Selectivity (#9282) 2019-02-13 10:53:12 +08:00
469fa877d6 util/hack: define a MutableString type for function hack.String (#9230) 2019-02-12 12:30:40 +08:00
2ea6e1bff5 session,server: remove error for RollbackTxn (#9202) 2019-02-11 09:53:12 +08:00
4a90503130 util/chunk: correct a typo in the comment (#9256) 2019-02-09 11:34:28 +08:00
H
6a06977dd1 plan: rewrite exact like expression to equal condition (#9071) 2019-01-28 19:12:30 +08:00
5c65128632 ddl: make the leak test stable (#9139) 2019-01-23 13:01:55 +08:00
36176be874 *: improve syntax error code & message compatibility (#9103) 2019-01-23 10:46:29 +08:00
818ec911c5 admin: fix admin check table err when add column not null, then add index on the column (#9108) 2019-01-20 22:44:10 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
365264cd21 ddl: add restore deleted table (#7937) 2019-01-16 15:37:33 +08:00
3835bef7ae executor: support window func for aggregate without frame clause (#8899) 2019-01-15 15:23:17 +08:00
82d2726300 planner, statistics: build new histogram using range information (#7921) 2019-01-14 20:33:36 +08:00
00c4ff4fa9 *: refactor Executor.Next() to receive RecordBatch (#8994) 2019-01-14 15:04:36 +08:00
786a9d54a3 expression,util/encrypt: add support for AES OFB mode (#8605) 2019-01-11 14:22:57 +08:00
b552bf8b98 Log duration using seconds instead of the default Duration.String(). It would help the log collector to parse the duration. (#9015) 2019-01-11 13:17:42 +08:00
a9de2093e5 util/codec, types: add new method to get comparable hash key from MyDecimal (#8930) 2019-01-11 11:01:15 +08:00
084aa5a030 config: add initChunkSize config item, make chunk start with 32 (#8480) 2019-01-07 11:14:47 +08:00
18d75a30ae executor: support parallel partition for HashJoinExec (#7911) 2019-01-03 13:17:45 +08:00
e06c87d3c1 add an option for AddRecord and Create (#8884) 2019-01-02 11:30:53 +08:00
9b0eb88b20 util/ranger: fix incorrect behavior about index who has prefix column(#8851) (#8878) 2018-12-29 19:48:15 +08:00
eaeaca74ae ddl: fix cancel drop column ddl error (#8545) 2018-12-28 11:28:26 +08:00
ffd9ba6659 gc_worker: Remove timezone name from the times that are saved in mysql.tidb (#8745)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2018-12-27 12:16:18 +08:00
ffa375fdc2 ddl: fix cancel drop table/database ddl job bug. (#8537)
* ddl: fix cancel drop table bugs
2018-12-26 10:34:07 +08:00
351c4a5568 *: refine commit txn slow log (#8731) 2018-12-25 20:49:50 +08:00
bd69b15e79 *: add the error check (#8770) 2018-12-24 22:22:00 +08:00
98b96cc769 executor: speedup unit tests by spliting them into separate suites (#8618) 2018-12-24 21:37:12 +08:00
b818fb2f01 expression,util/encrypt:add support for AES CFB mode (#8760) 2018-12-21 17:10:58 +08:00
a7907ede7a *: remove fail field from TxnState (#8712)
Originally, `fail` is added to simplify error handling, avoiding large changes on
the Txn() interface API. But it turns out that `fail` becomes the root of many bugs.
So this commit remove the `fail` and make an API refactory.
2018-12-20 16:36:12 +08:00
7528a059cf executor/server/session: add extra info message sent to mysql client (#8285) 2018-12-19 15:32:49 +08:00
f4f8b3db01 util/chunk: fix incorrect result when set duration to MutRow (#8725) 2018-12-19 14:58:08 +08:00