Commit Graph

225 Commits

Author SHA1 Message Date
4185e53006 tikv/txn: support local latch in transaction (#6418) 2018-05-07 10:57:01 +08:00
e5ab00e5e3 http: scatter table API for table handler (#6378)
* http: scatter table API for table handler
2018-05-03 20:09:14 +08:00
8729424629 stats: fix dump stats (#6285) 2018-04-26 17:40:10 +08:00
d3290b936b HTTP API: support query the DDL history (#6245) 2018-04-16 11:15:48 +08:00
f994f4f987 *: clean up MvccStore in mocktikv (#6256)
* *: clean up MvccStore in mocktikv
2018-04-11 10:30:27 +08:00
ccf6da1a46 *: rename NextChunk to Next (#6214) 2018-04-03 20:00:30 +08:00
87405c8408 server: fix a goroutine leak in unit test (#6183) 2018-03-29 19:49:34 +08:00
c398110154 *: improve performance of DecodeBytes in DecodeOneToChunk (#6135) 2018-03-29 19:11:44 +08:00
951bc41566 server: use scientific notation to format float value. (#6160) 2018-03-28 19:45:25 +08:00
96a51da57c * Add conn ID to the transaction log (#6115) 2018-03-26 20:13:07 +08:00
501de19821 stats: add average column size for the histogram (#5974) 2018-03-23 13:44:24 +08:00
f287451eed tidb: move tidb/*.go to session directory (#6062)
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00
8fa4980ae0 server, tablecodec: show region key's record id or index values. (#6030) 2018-03-20 16:01:46 +08:00
8f4f9b6c90 http: refactor region handler. (#6051) 2018-03-15 18:19:14 +08:00
631141b22c *: remove Next function for RecordSet (#6040) 2018-03-13 21:05:10 +08:00
c981480094 executor: remove Next function for ShowExec (#5998) 2018-03-12 17:43:04 +08:00
649a7a3fb1 server: fix column length when convert column info for tinyint (#6008)
When column type is tinyint, ao checks both jdbc type and its precision in qualifiers. It needs precision in qualifiers to be 1 but tidb returned column's precision is 4(here precision is just column length). This PR fixes this.
2018-03-12 11:12:42 +08:00
a3bf058304 *: 1. remove EnableChunk 2. implement Next in baseExecutor to return nil (#5988) 2018-03-09 17:40:11 +08:00
831c93f645 server, docs: change rowBin to request. (#5983) 2018-03-09 15:35:52 +08:00
0b7bf3eef5 server: support decode column (#5927) 2018-03-07 20:46:31 +08:00
913db283ea *: remove SupportChunk() from interface ResultSet and RecordSet (#5969) 2018-03-07 19:36:15 +08:00
cddc45a7b4 server: add http api for settings (#5860) 2018-03-07 10:21:38 +08:00
c4a7242a1d executor: fix two bugs when enable chunk (#5945) 2018-03-06 22:00:45 +08:00
50e98f427e config: add validation for configuration (#5864) 2018-03-06 14:56:28 +08:00
ad814b0d6c executor, util: employ memory Tracker to track memory usage during query execution (#5826) 2018-03-06 11:02:09 +08:00
5807feaf5b makefile,store/tikv: allow golint check context.Context in 'make check' (#5898) 2018-02-24 19:38:28 +08:00
e1121814d2 *: don't import golang.org/x/net/context as goctx alias (#5895)
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
0157fe5e70 metrics: unify metrics naming (#5863) 2018-02-11 18:31:38 +08:00
eb71063db1 metrics, ddl, server: Add metrics for ddl and server (#5840)
DDL: is owner
Server events: start/stop/kill/hang
2018-02-09 16:08:49 +08:00
e6eb3ae9f5 executor, metrics: add metrics for expensive executors and statement nodes (#5798) 2018-02-09 12:15:20 +08:00
08720d01f9 executor: add more comments (#5728) 2018-02-08 19:55:59 -06:00
de9c192cba *: move mocktikv from tikv pkg (#5834) 2018-02-08 23:31:29 +08:00
c92b3056c0 *: refine code for StmtTxn (#5763) 2018-02-08 07:07:12 -06:00
bf1b4e27b5 server: log the actual error before return "mysql.ErrBadConn" (#5786) 2018-02-05 21:23:55 +08:00
14a9a3df76 server, metrics: move and refine server metrics (#5766) 2018-02-01 19:04:31 +08:00
ddca655fcb server: forget to add StmtCommit when loading data (#5758) 2018-02-01 14:22:12 +08:00
775dcf4503 stats: support 'load stats' command (#5724) 2018-01-31 17:25:27 +08:00
9e67bd8cbe *: add metrics package and recover panic of workers. (#5733) 2018-01-31 12:16:01 +08:00
24333b3b29 *: don't record binlog when statement rollback (#5699) 2018-01-25 06:50:57 -06:00
88b8740724 *: avoid the generation of mysql.TypeNewDate (#5705) 2018-01-23 21:41:02 +08:00
225d69053e executor: avoid unnecessary log format in slow query log (#5696) 2018-01-23 11:28:21 +08:00
0b23ff48a6 *: execute statement meets error should make no side effect (#5678) 2018-01-22 13:49:29 +08:00
c30309acec server: Add metrics for tidb-server panic (#5692) 2018-01-22 10:15:48 +08:00
a2a48b3085 executor: use batch get to speed up LOAD DATA (#5632)
* use batch get to speed up LOAD DATA
2018-01-19 15:58:00 +08:00
8069afd38c server: optimize com_field_list, make use database faster. (#5677) 2018-01-18 22:17:39 +08:00
f57b8438bc table: index.addindices reuse temp buffer (#5600) 2018-01-17 05:32:30 -06:00
45f00fe55a server: close result set for FieldList (#5650) 2018-01-16 15:01:12 +08:00
ecbd60c3ff *: add arguement StatementContext to Encode functions. (#5566) 2018-01-06 17:31:08 +08:00
8b149c3323 Prealloc / collides with package name (#5560) 2018-01-05 19:15:54 +08:00