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
b180334231
server: fix issue 2346 ( #2351 )
...
ComStmtExecute packet just send params type information the first time,
so PrepareStmt should save it for further use.
2016-12-29 23:28:17 +08:00
7c87b92468
*: Use standard error code/message for incorrect function argument count error ( #2335 )
...
* *: Use standard error code/message for incorrect fuction argument count
error
2016-12-28 14:57:39 +08:00
64484a4257
*: refactor context.Context ( #2298 )
...
Make transaction life cycle under control, prepare for correctly handle schema out of date error.
The old `GetTxn(forceNew boll)` is replaced by `Txn` and `NewTxn`,
`CommitTxn` and `RollbackTxn` is removed.
2016-12-23 13:02:41 +08:00
d508b6d2da
util/types: workaround for time roundFrac ( #2289 )
2016-12-21 19:45:27 +08:00
3c7ac58d20
server: defer handshake packet make TiDB crash ( #2267 )
...
malformat packet is just an error
out of range panic should not spread to TiDB
2016-12-17 11:24:26 +08:00
24f27a2622
*: types.TimeInternal GoTime method would return error ( #2185 )
2016-12-12 17:22:49 +08:00
a14d99ef5d
server: defend panic for ill-packet with null connection attribute ( #2211 )
...
* server: defend panic for ill-packet with null connection attribute
2016-12-09 17:38:04 +08:00
296f4a6cf3
util/types: refact Time introduce a TimeInternal interface ( #2098 )
...
Go time representation is not compatible with mysql, this
commit is a prepare before the code refact.
timeInternal is a interface for time representation, and it
would make the refact more smooth.
2016-11-29 21:04:59 +08:00
704a963f70
server: Enlarge token from 100 to 1000 ( #2125 )
2016-11-29 14:30:28 +08:00
b19cc75a94
mysql, types: move MyDecimal and Time from 'mysql' to 'types' package. ( #2082 )
...
So we don't need to handle sql mode in 'mysql' package, avoid potential dependency cycle.
2016-11-24 10:50:31 +08:00
f4b78e44da
server: speed up unit test ( #2010 )
...
run many test cases parallel
split databases in server package for parallel
2016-11-23 10:46:43 +08:00
6b444f8e55
server: check an array out of range for malform packet ( #2048 )
2016-11-21 23:10:28 +08:00
91050ff1f8
parser: parse decimal literal instead of float literal ( #2044 )
...
Improves MySQL compatibility.
2016-11-21 19:29:25 +08:00
2f47f24b22
parser: database.ReservedKeyword as identifier & clean up ( #2027 )
...
1. fix a bug test.desc can't be used as identifier, which is valid in mysql
2. introduce ReservedKeyword in parser.y and clean up
3. fix mysql client "use `select`;" can't work
4. refine lexer's special comment mode pos line/offset
2016-11-19 14:22:10 +08:00
7ddb150920
executor: add more statements for metric of statement counter ( #1967 )
2016-11-15 14:34:15 +08:00
d0cb5d9187
*: truncate data ( #2002 )
2016-11-15 14:02:20 +08:00