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
3104c87230
Add index page on HTTP Server ( #7769 )
2018-10-10 19:48:39 +08:00
05666f5ad3
session: set Sleep state for process info ( #7826 )
2018-10-08 12:38:55 +08:00
5baedaa21c
expression, types: fix some corner case when parsing string to datetime ( #7701 )
2018-10-08 10:35:52 +08:00
05b37de16e
*: use chunk grow for simple executor ( #7540 )
2018-09-27 09:07:51 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
f497444389
server: support resigning ddl owner, use http method ddl/owner/resign ( #7649 )
2018-09-11 15:18:17 +08:00
e7409e38ee
*: correct comment mistakes. ( #7661 )
2018-09-11 09:41:30 +08:00
4212e44c03
metrics: register the metrics when TiDB starting up ( #7642 )
2018-09-10 20:19:07 +08:00
8c44f562f5
metrics: add different labels for restricted SQL and general SQL ( #7631 )
...
The newly added label is `sql_type`, it has value: `general` and `internal`,
users can use this label to filter metrics they have interest.
Also, add keyword `[INTERNAL]` for restricted SQL printed in slow log for
convenient identification.
2018-09-07 14:23:48 +08:00
6e3bbe8e35
*: add HIGH_PRIORITY for the bootstrap SQLs. ( #7616 )
2018-09-06 00:49:12 +08:00
4538bcd52c
server: make long-data type no longer check nullBitmap ( #7573 )
2018-09-05 17:31:12 +08:00
f915575ebe
server: add comment for #7252 ( #7549 )
2018-08-30 14:49:33 +08:00
9070bb6b86
executer: fix the last_insert_id in insert on duplicate key update ( #7534 )
2018-08-30 14:16:30 +08:00
4a3130216f
server: fix type year has too many 0s in prepare/execute ( #7525 )
2018-08-30 11:28:34 +08:00
5b689e8c5b
server: fix insert zero timestamp bug with prepared statement ( #7506 )
2018-08-28 13:36:36 +08:00
09fb68ae3b
server: fix ComStmtSendLongData when data length is 0 ( #7485 )
2018-08-27 13:53:28 +08:00
97b60c9757
server: fix enum type flag ( #7438 )
2018-08-20 19:06:52 +08:00
d567770076
server: fix prepare result for zero timestamp/time/datetime ( #7415 )
2018-08-20 15:25:51 +08:00
0f7bc02700
docs: remove not worked MVCC api ( #7400 )
2018-08-17 18:31:32 +08:00
57f191408c
server: fix column info for resultType/flag for enum&set type. ( #7417 )
2018-08-17 10:29:34 +08:00
6e7d75299d
test: refine test ( #7414 )
2018-08-16 17:05:59 +08:00
9fc67b9a9f
store TiDB server info to PD and add http api handle ( #7082 )
2018-08-15 12:51:00 +08:00
0fa27a4619
*: fix tests failed on Go 1.11beta ( #7178 )
...
Many of the failed tests are due to misuse of format placeholder.
2018-07-30 11:36:33 +08:00
06021c7cfe
remove types.Row interface ( #7170 )
2018-07-27 13:45:03 +08:00
3299f860ff
*: use chunk.Row instead of types.DatumRow in test files ( #7139 )
2018-07-24 21:45:33 +08:00
a7ae09b8e1
metrics,server: add a get_token_duration_seconds metrics ( #7110 )
...
* metrics,server: add a get_token_duration_seconds metrics
2018-07-23 14:29:19 +08:00
ce0843e4f3
binlog: fix bug in load data ( #7074 )
2018-07-19 12:58:57 +08:00
9cf670a324
*: cut off duration.fsp in chunk ( #7043 )
2018-07-17 15:36:27 +08:00
43f0c1ee70
ddl: add slow operations log to add indices, make trouble shooting easier. ( #7060 )
2018-07-17 09:42:58 +08:00
f9a5686f9b
executor: make set system variable log shorter ( #7029 )
2018-07-11 14:09:22 +08:00