Commit Graph

26 Commits

Author SHA1 Message Date
78ad1447c0 tikv: distinguish server timeout and server busy error for TiKV and TiFlash (#21109) 2020-12-03 17:16:48 +08:00
c218c58218 *: support select from tablesample (#20883) 2020-12-03 16:46:18 +08:00
4dfb172d9a errno: show column name in redacted duplicate entry error (#21261) 2020-11-25 21:39:23 +08:00
863117ba05 session: Check the partition placement constraint of local transactions (#21039)
Signed-off-by: Song Gao <disxiaofei@163.com>
2020-11-17 14:28:27 +08:00
6e1aa0d765 *: restrict the length of enum/set value (#19109) 2020-11-04 19:10:02 +08:00
b2e6df07c8 session: Support Variable-Setting Hint SET_VAR (#20232) 2020-10-28 14:27:13 +08:00
2f067c0542 *: redact arguments for Error (#20436) 2020-10-21 14:44:08 +08:00
8f7ae677ac errno: batch change functional index to expression index (#20393)
Signed-off-by: lihaowei <haoweili35@gmail.com>
2020-10-13 19:08:23 +08:00
57b244e9e0 ddl, errno: fix expression index allows row function (#19987)
Signed-off-by: wangggong <793160615@qq.com>
2020-09-30 16:23:54 +08:00
0528a1f12f *: handle the to-do item of rebuilding ReorgInfo key when executing modify/change column (#19866) 2020-09-27 08:34:36 +08:00
a428d472e9 *: remove the unused terminology (#19727)
* *: remove the unused terminology

* rename back

* delete more

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-04 17:12:01 +08:00
42eaaa590d *: move backfillWorker code to backfilling.go, update logs and comments (#19503) 2020-09-02 15:48:38 +08:00
089c6a42fc tikv: backoff and do not drop cache on MaxTimestampNotSynced region error (#19473)
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
2020-08-27 11:35:21 +08:00
dy
bbc0502038 expression: add warnings for logarithm functions (#18668) 2020-08-19 16:41:02 +08:00
xhe
e75683c2ee ddl: align placement syntax implementation to RFC (#18957) 2020-08-07 11:37:53 +08:00
32a4805090 ddl, core: fix parser issue 602 (#17995)
* ddl, errno: add TableOptionUnion related error, errcode and errname

* core: add TableOptionUnion grammar check when creating/altering table

* ddl, errno: add TableOptionInsertMethod related error, errcode and errname

* core: add TableOptionInsertMethod grammar check when creating/altering table

* ddl_test: add test

* ddl_test: mv test to TestCreateTable

* remove unnecessary lines

* core: check for unsupported table options

Co-authored-by: Arenatlx <ailinsilence4@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-21 23:26:20 +08:00
8640eb0749 ddl: add warnings for constraint and check (#17830) 2020-06-24 10:03:45 +08:00
b59cb1a94d planner, session, util: support Insert hint (#16966) 2020-06-17 15:56:01 +08:00
f2256261f6 ddl: forbid add column with sequence as default value (#17133) 2020-05-14 11:48:54 +08:00
26e946d25e plannercore: ignore invisible indexes in optimizer (#15421) 2020-05-07 11:00:40 +08:00
43764a59b7 RFC + Support of BACKUP and RESTORE statements (#15274) 2020-04-30 19:35:56 +08:00
14a4a4e916 tikv: fix infinite retry when kv continuing to return staleCommand error (#16481) 2020-04-17 17:00:43 +08:00
94fb1bf18d txn: stop more statement executions if pessimistic transaction ttl manager timed out (#15877) 2020-03-31 11:53:41 +08:00
735f870c6c executor: refine getting prometheus address (#15304) 2020-03-17 14:10:24 +08:00
aec6143179 *: support require-secure-transport startup option (#15341) 2020-03-17 08:46:45 +08:00
9f0736ee8b errno: move the error code from the parser/mysql to tidb/errno (#15277) 2020-03-11 15:40:21 +08:00