Commit Graph

96 Commits

Author SHA1 Message Date
c4f398948c *: add infoschema client errors (#22382) 2021-03-11 19:06:55 +08:00
7151b4f3b5 config: use tidb_enable_list_partition to enable list table partition feature (#22864) 2021-02-25 22:11:04 +08:00
d6a2b9a372 server: add tests for empty query hang (#22740) 2021-02-11 10:46:42 +08:00
8ddaf03db1 executor: fix load data losing connection when batch_dml_size is set (#22724) 2021-02-05 10:51:42 +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
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
836bf75f1b server: check LOAD DATA is into a base table (#20924) 2020-12-10 15:18:21 +08:00
d19a21d92a ddl, server, session: make gocritic happy (#21544) 2020-12-08 12:09:48 +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
ae5dc3f69a executor: fix issue of load data statement doesn't record into slow query and statements_summary (#20713)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-11-04 16:27:01 +08:00
b892fd8391 server: support for client multi-statement option (#19459) 2020-10-12 13:29:12 +08:00
9ed4159619 server: listen port 0 when testing (#19478)
* server: change all port uesd in test to `0`

* fix panic

Co-authored-by: wjHuang <huangwenjun1997@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-27 14:55:52 +08:00
787b7d2db0 cmd: generate free port instead of hard-code port number (#18951) 2020-08-04 16:30:05 +08:00
5f393fde7e *: support user defined variable and SET clause in LOAD DATA statement (#18753) 2020-08-03 10:42:10 +08:00
1fed1fb895 tests: remove incorrect use of FLUSH PRIVILEGES (#18361) 2020-07-24 23:25:14 +08:00
8a6554a21f telemetry: disable telemetry by default for non-community edition (#18524)
Signed-off-by: Zheng Xiangsheng <hundundm@gmail.com>
2020-07-15 11:37:36 +08:00
2c55650617 *: make QPS more realistic (#17560) 2020-06-04 20:00:43 +08:00
1f451b33da server: change status port in test to 7090 (#17627) 2020-06-03 17:12:57 +08:00
9f0736ee8b errno: move the error code from the parser/mysql to tidb/errno (#15277) 2020-03-11 15:40:21 +08:00
0f0bdef81b upgrade pd-client to support pd client tls reload (#15071) 2020-03-09 21:22:16 +08:00
5c68d537f4 *: support reload tls used by mysql protocol in place (#14749) 2020-03-03 10:01:39 +08:00
1eba965c5f *: use the filepath package to make unit test portable on windows (#14962) 2020-02-27 20:43:32 +08:00
51fd695e66 executor: support the SELECT INTO ... OUTFILE syntax. (#14848) 2020-02-24 18:40:07 +08:00
25952d4a8f ddl, executor, server: add drop if exists warnings (#14807) 2020-02-18 11:40:48 +08:00
c6e4325b09 server: properly support status port over TLS (#14785) 2020-02-14 20:09:24 +08:00
5a9f2fa5ab server, tikv: enable unit test run parallel and add parallel f… (#14296) 2020-01-09 15:12:45 +08:00
744c5c1d67 planner, executor: fix error code (#13733) 2019-12-03 13:14:49 +08:00
9a7e382bc5 *: remove unused code (#13547) 2019-11-19 00:36:23 +08:00
b3bf319b1e domain: refine error code for package domain (#13033) 2019-11-09 22:21:51 +08:00
fbf0d90c06 executor: error processing refactor for load data (#12465) 2019-10-11 13:01:32 +08:00
d438e103be executor: load data statement, separate data preparing routine and commit routine (#11533) 2019-09-16 19:46:12 +08:00
728ed194c0 fix load data rowCount should added first before call colsToRow(). (#11980) 2019-09-02 05:58:28 -05:00
d8589df2f3 *: add a variable to control the back off time and disable txn auto retry by default (#10266) 2019-05-08 10:23:49 +08:00
abeddab5ba privilege, executor: support SET DEFAULT ROLE (#9949) 2019-04-17 14:25:49 +08:00
2ee8f42c49 server: Change runTestConcurrentUpdate to use runTestsOnNewDB (#9906) 2019-04-01 21:13:54 +08:00
5ffa06b6c3 *: unify and normalize the format of the log in the pkg of server (#9878) 2019-03-25 16:10:36 +08:00
6136ab14cf *: start replacing logger with zap logger (#9279) 2019-02-15 16:43:47 +08:00
c190de3d04 server: add test for OPTIONALLY keyword (#9200) 2019-02-12 15:37:44 +08:00
46bebb4db1 server: return correct response if pass specified (#9140)
Improves MySQL compatibility
2019-01-24 19:14:23 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
33b4c3e3c8 executor: fix csv parser (#9005) 2019-01-15 22:46:23 +08:00
73c91738d7 executor: privilege check USE command (#8418) 2018-11-27 19:06:17 +08:00
e69aa2749b server: unix socket should verify user's authentication (#8381) 2018-11-22 13:43:38 +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
48704b8420 *: fix Command and Time in show processlist (#7844) 2018-10-12 14:06:54 +08:00