Commit Graph

419 Commits

Author SHA1 Message Date
3696bc5097 infoschema: add TIDB_CLUSTER_CONFIG virtual table to retrieve all instance config (#13063) 2019-11-07 10:55:11 +08:00
c01006acb0 expression: fix incorrect proto fields and add missing overflow handling for arithmatic functions (#12858)
Signed-off-by: H-ZeX <hzx20112012@gmail.com>
2019-11-06 17:39:14 +08:00
07eed7bd45 server: fix potential goroutine leak when kill connection (#13051) 2019-11-01 16:18:04 +08:00
a8ed9501ee *: support the TiFlash replica of table (#12453) 2019-10-30 00:07:51 +08:00
72c5d26966 server: log last executed prepared stmt when panic (#12905) 2019-10-25 14:32:29 +08:00
b67246614f server: fix typo (#12923) 2019-10-25 11:58:29 +08:00
2dc472fc98 infoschema: add tidb_servers_info memory table (#12580) 2019-10-14 10:58:19 +08:00
fbf0d90c06 executor: error processing refactor for load data (#12465) 2019-10-11 13:01:32 +08:00
4642b54de4 log: move autocommit varable value into connection info (#12310) 2019-10-09 14:01:20 +08:00
52647f0861 domain: move infoSyncer to util to avoid cycle import (#12544) 2019-10-08 22:52:28 +08:00
a3d4f898c5 server: fix wrong deletion introduced by #12454 (#12495)
Signed-off-by: Lonng <heng@lonng.org>
2019-09-30 15:06:06 +08:00
044766f9ae server: improve the addMetrics method performance (#12454)
Signed-off-by: Lonng <heng@lonng.org>
2019-09-29 12:40:44 +08:00
2d3dfac071 executor: cache column info for prepare statement (#12388) 2019-09-29 11:21:02 +08:00
db1eb1cf4a *: enhance the table regions HTTP API (#12357) 2019-09-26 21:13:01 +08:00
74eaf327e9 *: log each com_stmt_fetch separately (#11987) 2019-09-25 17:57:16 +08:00
06629d6ac4 *: check privilege when reusing the cached plan (#12211) 2019-09-23 20:36:45 +08:00
582076b5cc *: wrap the previous statement for performance (#12283) 2019-09-23 15:09:15 +08:00
d438e103be executor: load data statement, separate data preparing routine and commit routine (#11533) 2019-09-16 19:46:12 +08:00
57735957a2 server: add sql to com_exec/com_fetch dispatch error log (#12174) 2019-09-16 10:47:45 +08:00
1ef81a8620 *: replace word error in warning, info, debug logs (#12050) 2019-09-09 18:51:12 +08:00
161ff3c9ab store: implement MVCCDebugger Interface for MVCCLevelDB (#11754) 2019-09-05 17:17:24 +08:00
728ed194c0 fix load data rowCount should added first before call colsToRow(). (#11980) 2019-09-02 05:58:28 -05:00
1c1faab678 *: convert key to hex for logs (#11781) 2019-08-20 11:10:16 +08:00
2813178979 server: improving test coverage for /debug/zip api (#11760) 2019-08-19 11:21:46 +08:00
adb3071c90 *: refine the attribute definition of types.Time and types.Dur… (#11672) 2019-08-14 11:30:40 +08:00
44292d01e9 server/conn: log more detailed errors (#11731) 2019-08-13 21:04:11 +08:00
6d51ad33fd *: Optimize struct memory usage by adjust field order (#11629) 2019-08-13 17:20:53 +08:00
a08918ab74 fixup (#11688) 2019-08-12 11:53:03 +08:00
036e7e207d *: support new 'log' format for trace (#11681) 2019-08-09 12:43:33 +08:00
3f3ead2d59 executor: fix #10513, alias identifier maximum length compatible with MySQL (#10597) 2019-08-05 19:14:11 +08:00
d2b5387183 infoschema: fix load drop database schema bug and refine db-table api error. (#11573) 2019-08-02 15:03:24 +08:00
7715341cb7 server: tiny refactor, more go style (#11478) 2019-08-01 17:36:05 +08:00
7b63293180 http: add region-id when getting mvcc by handle (#11436) 2019-08-01 13:10:39 +08:00
8f51214533 server: move log operation out of lock scope (#11536)
It's a bad style to print log under a lock, tiny refactor to make the code better.
Lock() is also changed to RLock() to reduce lock contend
2019-07-31 17:24:44 +08:00
730e1408cf server: remove the error stack in logs when connection reset by client (#11542)
All tests passed, auto merged by Bot
2019-07-31 16:54:15 +08:00
a13671a02e server: fix format for select constant (#9689) 2019-07-31 13:52:39 +08:00
6ba79d4d44 fix http handler ut (#11494)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2019-07-29 13:33:54 +08:00
d135ff161f server: handle partitioned table in some http APIs (#11463) 2019-07-26 20:07:43 +08:00
99e4dd4c3c fix a coding mistake (#11393) 2019-07-24 11:34:28 +08:00
651632e792 fix scatter range (#11281)
Signed-off-by: Ryan Leung <rleungx@gmail.com>
2019-07-17 20:49:36 +08:00
77b6858bf0 *: refine text protocol multiple query response (#11263) 2019-07-17 13:01:22 +08:00
eae30ebbcb *: reduce tikvrpc resp struct size (#11056) 2019-07-16 13:21:00 +08:00
d420a1f212 *: reduce tikvrpc request size (#11055) 2019-07-15 16:11:14 +08:00
tp
ad404bb645 *: avoid tidb-server -h output test flags (#11209) 2019-07-12 15:19:57 +08:00
84432823b3 refactor the logic of load data batch insert, make batchCheckGet happen once per transaction (#11132) 2019-07-12 13:36:58 +08:00
5664dd2abc infochema, server: export region_id in hot_region table (#10982) 2019-07-11 12:44:55 +08:00
8c20289c7d server: don't interrupt when nodelay executed (#11135) 2019-07-10 19:28:19 +08:00
66f5754c68 *: add trace support for the AllocAutoIncrementValue function (#11158) 2019-07-10 15:07:42 +08:00
8104494b91 plugin: support dynamic enable/disable plugins (#11122) 2019-07-09 13:02:50 +08:00
cb23b524ac *: directly save prepare execute args as datums in binary proto (#10884) 2019-07-02 13:49:06 +08:00