Commit Graph

635 Commits

Author SHA1 Message Date
602bcd2e40 *: fix some structcheck lint warnings (#22983) 2021-03-02 23:12:54 +08:00
4e44674615 server: support MVCC-get HTTP API for clustered index (#22904) 2021-03-01 19:48:54 +08:00
bc37f088ba *: fix some varcheck lint warnings (#23011) 2021-03-01 15:10:54 +08:00
febac515b1 store/tikv: move coprocessor out (#22922) 2021-03-01 11:42:54 +08:00
8357f809ff *: remove some useless codes and do tiny update (#22972) 2021-02-26 19:14:53 +08:00
7151b4f3b5 config: use tidb_enable_list_partition to enable list table partition feature (#22864) 2021-02-25 22:11:04 +08:00
daf3337a43 oracle: make @@txn_scope only support local and global (#22784) 2021-02-25 15:26:03 +08:00
e360454b2d util: fix Host column of show processlist to host_name:client_port format (#22707) 2021-02-24 18:54:03 +08:00
8ea5930ea8 *: separate use of kv.Storage and tikv.Storage (#22891)
* *: separate use of kv.Storage and tikv.Storage

Signed-off-by: disksing <i@disksing.com>

* fix compile

Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Co-authored-by: Shirly <wuxuelian@pingcap.com>
2021-02-24 17:54:03 +08:00
001b34ea8d server, sessionctx: Support for the status command of MySQL Shell (#22752)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Co-authored-by: Morgan Tocker <tocker@gmail.com>
2021-02-23 12:56:48 +08:00
d6a2b9a372 server: add tests for empty query hang (#22740) 2021-02-11 10:46:42 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
7f8935a61c server: fix tcp-keep-alive config (#22745)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-02-05 15:13:42 +08:00
20ddc19f22 server: retry executing sql without tiflash after tiflash is down (#22459) 2021-02-05 12:14:41 +08:00
8ddaf03db1 executor: fix load data losing connection when batch_dml_size is set (#22724) 2021-02-05 10:51:42 +08:00
825c98f3cc config: use label key instead of txn-scope (#22639)
Signed-off-by: Song Gao <disxiaofei@163.com>
2021-02-04 12:08:15 +08:00
b35e15c8cf store:move tikv/gcworker to store/gcworker (#22678)
Signed-off-by: shirly <AndreMouche@126.com>
2021-02-03 15:16:28 +08:00
7a275a77bb store/tikv: move EtcdBackend out (#22676)
Signed-off-by: disksing <i@disksing.com>
2021-02-03 14:59:57 +08:00
17a65ab98b statistics: refactor the statistics package use the RestrictedSQLExecutor API (#22636) 2021-02-03 13:28:57 +08:00
4e4968c501 metric: record prepare execute fail as "Failed Query OPM" in monitor (#22596)
Signed-off-by: lysu <sulifx@gmail.com>
2021-02-02 17:31:59 +08:00
3dff7cd348 store/tikv: resolve variable dependency (#22609)
Signed-off-by: disksing <i@disksing.com>
2021-01-29 15:52:14 +08:00
ea6ccf82e9 *: refactor the RestrictedSQLExecutor interface (#22579) 2021-01-29 12:56:44 +08:00
d4796a82fa server: remove TokenLimitGauge and use ConfigStatus instead. (#22590)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2021-01-28 14:58:31 +08:00
f5399b6b55 config: add config metrics (#22586)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2021-01-28 12:39:00 +08:00
c54932640b server: add token usage gauge for tidb (#22511)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2021-01-27 18:08:31 +08:00
fbcf75acc9 store/tikv: refactor: remove import tidb.config.security in store/tikv (#22538)
Signed-off-by: shirly <AndreMouche@126.com>
2021-01-27 12:08:24 +08:00
6931ece23d server: use ParseWithParams to avoid injection (#22545) 2021-01-27 11:14:54 +08:00
c5e147196b server, sessionctx: change default for tidb_multi_statement_mode (#22484) 2021-01-22 13:51:58 +08:00
57eef1333b server, sessionctx: add multi statement workaround (#22351) 2021-01-21 15:14:58 +08:00
8ef1031623 *: remove tidb-lightning pkg to fix unexpected config change (#22164) 2021-01-06 14:17:34 +08:00
960dab5444 executor:return warning when load data meet no partition for incompatiable mysql,but err and abort (#22042) 2021-01-04 12:49:43 +08:00
b1bd2856ca config: disable list partition by default since it's an experimental feature (#22045) 2020-12-29 09:56:18 +08:00
32d8cad845 server: double type column from table should ignore its decimal (#21788)
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-12-22 11:27:02 +08:00
e90b93098c server: cleanup authswitchrequest (#20970) 2020-12-16 11:56:35 +08:00
a02660e2dd *: fix tiny bug and add more DML test for list partition table (#21423)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-12-11 21:32:22 +08:00
499a31f3c3 server: fix float fmt returned to mysql client (#21660) 2020-12-11 15:37:16 +08:00
e87d9d75d8 session: set default connect collation to utf8mb4_bin (#21179) 2020-12-10 15:33:22 +08:00
836bf75f1b server: check LOAD DATA is into a base table (#20924) 2020-12-10 15:18:21 +08:00
5d9bb45815 config: add tcp4only for lvs whitelist! (#21552) 2020-12-09 14:44:35 +08:00
d19a21d92a ddl, server, session: make gocritic happy (#21544) 2020-12-08 12:09:48 +08:00
ba57d5c34e ddl: fix a bug that doesn't add NoDefaultValueFlag when creating a table (#21468)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-12-03 17:46:18 +08:00
d67a102118 server: return results of ongoing queries when graceful shutdown (#19669) 2020-12-03 14:29:00 +08:00
ab9ddcce4a executor: fix issue of explain for connection can't show the last query plan (#21242) 2020-11-26 14:19:17 +08:00
727d8f195c server: add metric for connection idle time (#21265) 2020-11-25 21:16:00 +08:00
1a91c1a10c executor: fix sum(double) result if value is +Inf or -Inf (#21058) 2020-11-25 11:21:54 +08:00
92c012c449 log: desensitize of dispatching error and parsing error (#21141) 2020-11-20 15:39:54 +08:00
aa9f7584f8 server: remove prepare stmt if no retry in stmt close() (#20867)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-11-19 16:20:33 +08:00
27c59c7363 server: make dump binary time more compatible with MySQL (#21127) 2020-11-19 12:03:47 +08:00
160cb9b814 *: fix set tidb_general_log not work (#20993)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-11-12 13:54:23 +08:00
8eaccd41a9 variable: add txn_scope sys var (#20721) 2020-11-12 11:09:54 +08:00