Commit Graph

329 Commits

Author SHA1 Message Date
e472f5aa3b server: handle ClientPluginAuthLenencClientData capability properly (#1772)
fix issue https://github.com/pingcap/tidb/issues/1768
2016-09-29 10:38:50 +08:00
453158c5a3 *: update server metrics (#1749) 2016-09-21 19:44:35 +08:00
5cf2c28e5a store/tikv: add metrics. (#1741) 2016-09-21 10:32:53 +08:00
999fa025c7 server: Add metrics (#1729)
Add metrics for server package.
Update gitcookie.sh.
2016-09-17 11:45:57 +08:00
a02323047e *: remove go-metrics (#1728)
We use prometheus to do metrics jobs now.

It is useless now.
2016-09-14 15:07:41 +08:00
a82abef98f server: Add git hash into status api (#1724)
It is more convenient to get git hash from http api then from log file.
2016-09-14 10:32:29 +08:00
5755249263 server: support mysql CLIENT_CONNECT_ATTRS capability (#1684) 2016-09-06 18:28:15 +08:00
06f0c4cbeb server/driver.go: fix typo 2016-08-31 02:28:42 -05:00
ed4649e85d *: Support load data local (#1634) 2016-08-30 09:38:37 +08:00
a09d282711 executor: tiny clean up (#1653)
* executor: tiny clean up

* replace more time.Now().Sub() with time.Since()
2016-08-29 06:20:23 -05:00
d642c89656 server: check 'capability' more strictly (#1639)
some client doesn't obey mysql handshake protocol on capability
so we force it
2016-08-26 17:01:42 +08:00
5ebdc1c765 server: support MULTI_STATEMENTS and MULTI_RESULTS capability (#1628)
only handle COM_QUERY currently, COM_STMT_PREPARE would be supported later
http://dev.mysql.com/doc/internals/en/capability-flags.html#flag-CLIENT_MULTI_STATEMENTS

implement set option in client/server protocol
http://dev.mysql.com/doc/internals/en/com-set-option.html
2016-08-26 12:27:52 +08:00
997e4a59f2 *: pass make race (#1617) 2016-08-23 10:46:11 +08:00
b2e8aa93e9 #1586 support MySQL multi-packet packets (#1588) 2016-08-22 10:02:40 +08:00
3ad82590ba server: trim large sql statement for logging. (#1573) 2016-08-09 19:11:52 +08:00
8f93071389 *: Merge pprof and status port and add flag to set host (#1541) 2016-08-02 22:23:46 +08:00
9574322317 support join reorder. (#1522) 2016-08-01 15:57:47 +08:00
8169806756 *: Use prometheus for metrics (#1525)
Add prometheus metrics framework.
2016-07-30 12:08:36 +08:00
945fd1d371 *: add error trace (#1477) 2016-07-20 11:50:33 +08:00
e0dfdc25ed Length check for database, table and column name (#1418) 2016-07-11 13:36:20 +08:00
4eca9cc825 *: fix data races detected by go test -race (#1407) 2016-07-07 15:35:40 +08:00
0450ba0b47 *: unify "See url" format (#1391)
* *: unify "See url" format
2016-07-05 11:21:10 +08:00
09306241b3 server: adjust log level (#1348) 2016-06-24 14:13:56 +08:00
e3597b6548 Add Datum.IsNull() fucntion (#1298)
Add IsNull function for Datum to simplify null check.
2016-06-07 23:35:25 +08:00
7c7b1b59f5 *: Unify error (#1273)
* *: unify error format in table, server and xapi package

* terror: remove duplicated code
2016-05-31 15:06:11 +08:00
a98ecf8907 optimizer/plan: fix join panic (#1246)
* optimizer/plan: fix join panic
2016-05-23 15:37:10 +08:00
5c9bf7a305 server: Add some time cost logs for query and cmd (#1200) 2016-05-05 13:49:40 +08:00
4eab06df0d *: Fix issue 1135 (#1188)
* *: fix issue 1135

* tidb_server: set the logging level to error
2016-05-03 21:22:28 +08:00
0ecb4da39d *: migrate to vendor (#1175) 2016-04-28 16:57:18 +08:00