ac77039d83
*: Make travis happy ( #3821 )
2017-07-20 13:33:05 +08:00
2cef5c15b3
server: fix an Error Format ( #3769 )
2017-07-17 13:23:04 +08:00
d309490b6a
server,expression: fix CI and make golint happy ( #3723 )
2017-07-12 11:40:14 +08:00
954ff094df
server: escape database name "use xxx" in OpenCtx ( #3713 )
2017-07-11 19:36:58 +08:00
c8feff878f
conn: fix database info leaking problem ( #3699 )
2017-07-11 17:39:35 +08:00
cfd2515a75
tidb-server: fix incorrect error message when auth failed ( #3696 )
2017-07-11 10:41:33 +08:00
58b003db74
server: close connection after sending ERR_Packet ( #3678 )
2017-07-10 20:49:10 +08:00
6135cabb3d
*: tikv.NewMockTikvStore API refactor ( #3573 )
2017-07-04 20:51:21 +08:00
ebfacce977
*: set length and decimal for constant values ( #3608 )
2017-07-04 13:43:40 +08:00
eea5cb2237
*: tiny clean up ( #3542 )
2017-06-26 10:47:52 +08:00
3a06c4c0a8
*: fix a go vet warning. ( #3484 )
2017-06-16 20:44:17 +08:00
77b87ed170
variable: remove GoSQLDriverTest ( #3361 )
2017-05-31 11:43:38 +08:00
31579bb3f0
Fix asyncGetTSWorker goroutine leak ( #3291 )
2017-05-22 16:53:31 +08:00
1e4bf4775c
document store: add JSON type and codec. ( #3248 )
...
Document store: add JSON type and codec.
The JSON binary representation is same with MySQL 5.7. we prefer
this not bson because 1) bson only supports JSON compound types
but not JSON primitive types, and 2) this representation is better
than bson on random access.
This PR now can support these statements:
```
CREATE TABLE t (a json_field);
INSERT INTO t (a) values ('{"a": "b"}');
SELECT * FROM t;
```
JSON codec uses MySQL 5.7 compatible format, which doesn't support use JSON field as key or index. We will limit this in tidb later.
2017-05-17 12:00:34 +08:00
53713af731
store/tikv: fix retry without limit when committing the primary ( #3258 )
2017-05-16 16:48:50 +08:00
213954d2e7
*: add specified columns for LOAD DATA INFILE Syntax ( #3240 )
...
* : add specified columns for LOAD DATA INFILE Syntax
2017-05-15 16:40:47 +08:00
9f08180d7d
information_schema: Fill information_schema.key_column_usage ( #2721 )
2017-05-12 20:27:43 +08:00
5f34aa4776
*: Add warnings for load data ( #3224 )
2017-05-11 08:11:52 +08:00
654c10fd80
*: use etcd for privilege update notification ( #3030 )
2017-04-11 19:47:25 +08:00
1789a43db5
*: update pd vendor. ( #2944 )
2017-03-28 21:07:48 +08:00
1944ba5772
server: add txn check ( #2920 )
2017-03-27 18:03:04 +08:00
93083651ba
http_test:wait until http is already started before http test. ( #2888 )
2017-03-20 13:44:47 +08:00
af3fb807ed
server: stop listener on critical error. ( #2854 )
2017-03-17 18:54:51 +08:00
ce3f61c6b7
regions:fix bug for function not defined in make race ( #2861 )
2017-03-17 14:32:41 +08:00
e791b9a3be
http: get region's info ( #2774 )
2017-03-17 12:08:53 +08:00
14da0e9e84
server: simplify conn.go recover. ( #2827 )
...
The runtime.Stack never return out of range size.
2017-03-15 03:18:35 -05:00
33cd76f105
server: avoid a panic in exception handling ( #2818 )
2017-03-14 10:20:10 +08:00
a623e670e6
*: implement "kill tidb xxx" statement ( #2768 )
2017-03-08 13:32:22 +08:00
87d39986fe
*: show processlist ( #2744 )
2017-03-01 14:39:13 +08:00
07952cb108
*: basic support show warnings. ( #2724 )
2017-02-24 16:29:39 +08:00
b3a57325a0
*: make TiDB more robust when synchronize mysql.user table ( #2722 )
...
* load privilege table will ignore data that can't recognize
* convert IP to domain for connection verification
2017-02-24 13:04:59 +08:00
95f6b237ab
executor: fix statement count metrics for prepared statement. ( #2704 )
2017-02-22 13:22:45 +08:00
e6435e4fb1
server: ignore parseAttrs error in handshakeResponse ( #2692 )
...
It seems .NET send the wrong packet format.
Connection attribute is not important and can be ignored.
2017-02-21 16:07:47 +08:00
8ba5d9ee2a
*: avoid using TypeDecimal ( #2619 )
...
TypeDecimal is misleading, it is not used as Decimal type, it's an unspecified type.
2017-02-10 10:53:05 +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
e1b78140a3
server: update defaultLoadDataBatchCnt value ( #2538 )
2017-01-23 17:20:42 +08:00
9d536e34a7
*: run a bootstrap session before store is ready (fix race) ( #2491 )
2017-01-22 11:39:25 +08:00
5aec72ce81
expression,plan: fix some issues of ROUND func ( #2461 )
2017-01-22 11:35:26 +08:00
0d9744261b
*: slow log and metrics includes execute prepared statement. ( #2512 )
...
Execute prepared statement was ignored in slow query log and query metrics.
2017-01-21 10:06:55 +08:00
19546d119a
server: refine time query ( #2506 )
...
Log slow query even if there is error.
Reduce slow time from 1s to 300ms.
2017-01-18 23:49:13 +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
2828e29a5b
executor: refine statement count metrics ( #2477 )
2017-01-16 12:34:21 +08:00
02dfb04c84
server: add metrics for error counter. ( #2435 )
...
Use terror error class and code to generate error label.
2017-01-11 10:33:28 +08:00
0f15c2ec5d
kv: limit transaction size, len, and entry length, reduce retry times ( #2426 )
2017-01-10 12:26:18 +08:00
ee9a0fea1c
parser: limit error information size ( #2415 )
2017-01-09 14:31:18 +08:00
696bea9f37
*: Support batch load data ( #2394 )
2017-01-05 16:15:00 +08:00
a44d9c3891
*: add builtin function UNIX_TIMESTAMP ( #2369 )
2017-01-05 14:09:21 +08:00
b5c9650b5a
server: rename IStatement to PreparedStatement ( #2358 )
2016-12-30 20:59:58 +08:00
0668c5fa03
server: rename IContext to QueryCtx ( #2356 )
...
* server: rename IContext to QueryCtx
2016-12-30 19:57:56 +08:00