Commit Graph

65 Commits

Author SHA1 Message Date
3d267514d5 expression: cast charset according to the function's resulting charset (#29905) 2021-11-24 17:07:50 +08:00
dbea9892c4 *: Remove old syntax ALTER TABLE ... ADD/REMOVE/ALTER PLACEMENT POLICY ... (#29603) 2021-11-10 01:19:06 +08:00
ec7a638e33 executor: Fix authplugin handling with alter/create (#28468) 2021-11-02 01:10:51 +08:00
b1efb13296 *: implement analyze columns c1, ..., cn (#29024) 2021-10-29 11:28:49 +08:00
7b4ca57ac6 ddl : add admin check table / checksum table compatibility for cache table (#29096) 2021-10-26 20:26:48 +08:00
676683383b *: add support for removed sysvars (#28931) 2021-10-22 11:32:46 +08:00
6553404bb2 *: fix regression from FLUSH PRIVILEGES fix (#28736) 2021-10-13 11:19:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
8d66cb4618 ddl: forbid dropping placement policy which is in use (#28057) 2021-09-17 10:48:42 +08:00
75ee932f00 session: update Host type to char(255) in mysql.* tables for compatible with mysql-8.0 (#27887) 2021-09-13 11:18:39 +08:00
6aec001345 ddl: support table placement option (#27799) 2021-09-07 22:54:57 +08:00
8ba11a66c3 ddl: support create and drop placement policy (#27574) 2021-08-30 11:36:12 +08:00
de22c5a9b6 meta: support storing placement policy into meta (#27251) 2021-08-23 18:08:04 +08:00
90626b8a49 ddl, expression: fix some string functions' flen and refine error message for expression index (#27376)
* done

Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2021-08-20 21:13:58 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
17523d3da8 ddl: support alter table attributes to add a label rule (#26511) 2021-07-30 17:21:05 +08:00
98b2c88045 errno: migrate test-infra to testify (#26082) 2021-07-10 14:29:31 +08:00
2b445a1e4d ddl: DROP GLOBAL TEMPORARY TABLE should fail on normal tables (#25639) 2021-06-24 18:55:23 +08:00
xhe
07d0b2d845 planner: forbid prepared stale select in txn (#25375) 2021-06-15 14:30:37 +08:00
9f8175743f *: refine some error messages (#24767) 2021-06-03 21:14:26 +08:00
79669921ff ddl: add region and split compatibility for temporary table (#24684) 2021-05-25 13:17:33 +08:00
542da5d60b *: prepare errors for CTE (#24763) 2021-05-20 06:03:40 +08:00
e40f8c0881 *: fix revoke statement for CURRENT_USER() and refine error message (#24052)
* *: fix revoke statement for CURRENT_USER() and refine error message
2021-05-12 16:40:58 +08:00
eb2b0ca182 ddl: grant nonexistent user/role incompatible error (#23853) 2021-04-17 00:37:51 +08:00
4072172c05 *: add security enhanced mode part 1 (#23978) 2021-04-15 09:51:51 +08:00
90d02b2eed *: add support for dynamic privileges (#22778) 2021-04-01 00:17:24 +08:00
3641cd4fe0 executor: fix split table with large integers (#21277) 2021-03-15 16:18:56 +08:00
c4f398948c *: add infoschema client errors (#22382) 2021-03-11 19:06:55 +08:00
c1b8347425 statistics: add a test case which builds global-stats on different versions of partition-stats (#23231) 2021-03-11 14:14:58 +08:00
b42a6f449a statistics: add test for analyze single partition (#23167) 2021-03-08 19:58:55 +08:00
550ca8eaeb statistics: enables global-level stats to be generated in fast analyze mode (#22931) 2021-03-01 16:40:50 +08:00
35534ae752 *: apply golangci-lint to the new code (#22824) 2021-02-24 18:24:03 +08:00
57eef1333b server, sessionctx: add multi statement workaround (#22351) 2021-01-21 15:14:58 +08:00
1a9852f85f *: redact some error code, part(3/3) (#21866) 2020-12-19 18:21:34 +08:00
8792bf862e server: redact some error code, part(1/3) (#21864) 2020-12-18 19:08:34 +08:00
dd3087ffb9 server: redact some error code, part(2/3) (#20591) 2020-12-18 18:45:04 +08:00
608cc51d27 types: report error for json object with key length >= 65536 (#21779) 2020-12-16 16:53:35 +08:00
49b926ede7 planner: check for only_full_group_by in ORDER BY and HAVING (#21216) 2020-12-14 14:33:17 +08:00
986b149917 planner: report error when ORDER BY conflicts with DISTINCT (#21286) 2020-12-11 18:07:53 +08:00
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