a2d4bd1df0
log: temporary remove recvTs from context log ( #9673 )
2019-03-12 17:20:42 +08:00
22af193369
Allocate slice from memory pool ( #9643 )
2019-03-11 18:32:56 +08:00
4188ae19c0
log,server: add contextual log util & test it in conn.go ( #9548 )
2019-03-09 11:23:45 +08:00
2c90855cb7
*: add rollback for load data statement ( #9444 )
2019-02-28 21:03:01 +08:00
a8664ef00b
table: add a http api to control whether tidb check inserting 4 bytes in utf8 charset column ( #9024 )
2019-02-18 16:57:03 +08:00
6136ab14cf
*: start replacing logger with zap logger ( #9279 )
2019-02-15 16:43:47 +08:00
c3f64b2629
*: tiny update for the whitelist plugin ( #9271 )
2019-02-12 15:54:45 +08:00
c190de3d04
server: add test for OPTIONALLY keyword ( #9200 )
2019-02-12 15:37:44 +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
46bebb4db1
server: return correct response if pass specified ( #9140 )
...
Improves MySQL compatibility
2019-01-24 19:14:23 +08:00
63936cc1fa
ddl: resolve the charset by the order: table->database->server ( #9105 )
2019-01-21 19:56:40 +08:00
5f8265a8f9
server: adjust the result of curl * ( #9104 )
2019-01-17 20:13:24 +08:00
ec833bc4d2
*: fix some lints produced by golangci-lint ( #8999 )
2019-01-16 16:44:49 +08:00
33b4c3e3c8
executor: fix csv parser ( #9005 )
2019-01-15 22:46:23 +08:00
00c4ff4fa9
*: refactor Executor.Next() to receive RecordBatch ( #8994 )
2019-01-14 15:04:36 +08:00
504b10c27c
server: try graceful close connection first ( #8711 )
2019-01-11 18:44:53 +08:00
692693a1ff
server, tidb-server: improve unix socket handling ( #8836 )
2019-01-09 09:51:26 +08:00
7a966426ee
metric: replace QueryDurationHistogram's "general" type to more detail stmt type ( #8819 )
2018-12-29 13:10:30 +08:00
eedc6af305
server: compatible to old handshake protocol ( #8812 )
2018-12-26 20:55:27 +08:00
61a8699c47
server: fix noise log for wait_timeout ( #8813 )
2018-12-25 20:26:28 +08:00
7bf23e8c47
server: add hot region table/index api ( #7890 )
2018-12-21 18:18:36 +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
e5b9fc079a
server: close all connection directly when terminate tidb ( #8692 )
2018-12-17 15:51:08 +08:00
808eab1911
session: support system variable interactive_timeout ( #8487 ) ( #8573 )
2018-12-14 22:22:25 +08:00
e2b3912296
reset bound arguments when it is executed by execute command ( #8645 )
2018-12-11 16:42:03 +08:00
ac16ad5a9b
server: tweak error info(consistent with the previous handleLoadData) ( #8626 )
2018-12-10 13:47:57 +08:00
93acd10f53
*: add context.Context to NewTxn(), tiny refactor ( #8530 )
2018-12-06 17:45:16 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
bb7bb14fc3
support system variable wait_timeout. ( #8245 ) ( #8346 )
2018-11-28 11:53:07 +08:00
73c91738d7
executor: privilege check USE command ( #8418 )
2018-11-27 19:06:17 +08:00
654964a35b
server: close connection when tidb server closed. ( #8446 )
2018-11-27 17:51:47 +08:00
18503e469d
server: integrate trace format view tool to the web UI ( #8430 )
...
trace output a json format data, now it can be visualized in
http://localhost:10080/web/trace
2018-11-26 19:29:07 +08:00
1e0876fe81
server/http: fix scatter table API and add document ( #8424 )
2018-11-23 19:47:36 +08:00
bb1f239516
http: add http api for get db and table info that is related to the tableID ( #8256 )
...
* http: add http api for get db and table info that is related to the tableID
2018-11-22 21:52:05 +08:00
e69aa2749b
server: unix socket should verify user's authentication ( #8381 )
2018-11-22 13:43:38 +08:00
3742a0d602
*: Txn() function signature refactor and remove ActivePendingTxn() ( #8327 )
...
* change Txn() function signature to Txn(active bool)
* ActivePendingTxn() is not used any more because Txn() does the work
* change executor builder getStartTS() uint64 to getStartTS() (uint64, error)
2018-11-16 11:10:39 +08:00
3c0d0534f2
server,types: convert zero input correctly for column type year ( #8292 )
2018-11-14 15:25:08 +08:00
29f14d4178
*: change default charset and collation from 'utf8 utf8_bin' to 'utf8mb4 utf8mb4_bin' ( #7965 )
2018-11-09 16:32:21 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
9ec7515743
*: Add few error checks in tests, clean error messages and fix a misspell ( #8101 )
2018-10-31 18:50:43 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
cc1da16878
stats: support show stats for partition table ( #8023 )
2018-10-24 15:49:01 +08:00
8b2590f78f
server: add log for binary execute statement ( #7987 )
2018-10-23 17:08:17 +08:00
edaec7bdaf
*: move Statement and RecordSet from ast to sqlexec package ( #7970 )
2018-10-21 13:21:26 +08:00
f4d41273ba
server: allow cors http request ( #7939 )
2018-10-21 11:53:36 +08:00
a8f2909d40
*: remove kv.BypassLatch option and enable latch scheduler by default ( #7882 )
...
kv.BypassLatch was introduced to handle the fake transaction confliction problem
in the old implementation. After redesign of the latch scheduler, it's not
needed any more.
Enable latch scheduler makes CI to run it, we can fix bugs and make this feature
more stable.
There is a small performance penalty, less than 5%, users are free to disable it.
2018-10-15 13:49:38 +08:00
48704b8420
*: fix Command and Time in show processlist ( #7844 )
2018-10-12 14:06:54 +08:00
db151bb66f
domain: fix memory leak for stats ( #7864 )
2018-10-11 10:58:22 +08:00