Commit Graph

56 Commits

Author SHA1 Message Date
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
d92c49f359 br: add region range check for batch scan regions (#27192) 2021-08-14 14:53:58 +08:00
1a54708a7f *: merge BR into TiDB (#26655) 2021-08-06 00:17:12 +08:00
a9cba7c8e8 ddl: refine some error messages related to generated column and expression index (#26844) 2021-08-04 13:03:06 +08:00
bff152a286 ddl: refine error message for expression index (#26798) 2021-08-02 19:43:06 +08:00
17523d3da8 ddl: support alter table attributes to add a label rule (#26511) 2021-07-30 17:21:05 +08:00
7a188f6b34 ddl: fix create/alter table with duplicate fk name (#26453) 2021-07-23 10:40:14 +08:00
4f26765194 privilege: add restricted read only (#25340) 2021-07-16 12:09:33 +08:00
88cbdecc58 planner: Forbide create view on tmp table (#26091) 2021-07-13 16:57:32 +08:00
xhe
e04181b351 executor: forbid read from stale query result (#25954) 2021-07-13 16:49:32 +08:00
xhe
9cf25b6c24 executor: check privilege before adding (#23519) 2021-07-01 10:09:26 +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
5a1606740c ddl: add create table like check for temporary table (#25082) 2021-06-11 16:50:35 +08:00
cbb6f4e64c *: add global system variable tmp_table_size (#24827) 2021-06-09 18:48:30 +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
dc5c226423 execution: Fix issue 24439 Inconsistent error with MySQL for GRANT CREATE USER ON <specific db>.* (#24485) 2021-05-13 11:15:39 +08:00
89c0e6c91a ddl: add check table compatibility for temporary table (#24501) 2021-05-12 21:49: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
bc4a38c9b9 ddl: add partition compatibility for temporary table (#24406) 2021-05-06 20:27:52 +08:00
eb2b0ca182 ddl: grant nonexistent user/role incompatible error (#23853) 2021-04-17 00:37:51 +08:00
cf813dc63b *: protect read only noop via tidb_enable_noop_functions (#23818) 2021-04-15 17:07:54 +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
8c897b1f33 partition: check partition definition with unsigned option (#23428) 2021-03-23 19:31:37 +08:00
3641cd4fe0 executor: fix split table with large integers (#21277) 2021-03-15 16:18:56 +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
31bbfcef82 executor: refine maxOneRow (#22194)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2021-01-09 13:19:14 +08:00
933e456beb executor: disallow split table region by null values (#20496) 2020-12-26 15:26:02 +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
7ea8102185 planner: Add table engine name check (#21110) 2020-12-09 15:56:06 +08:00
a3a248160f ddl: check partition definition correctly in list partition (#21309) 2020-12-08 14:10:48 +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
b3f8be7d3c *: update pingcap/errors (#21352) 2020-11-30 11:58:29 +08:00
094b462b44 ddl: check the expression in partition definition and refactor code (#21325) 2020-11-30 11:12:00 +08:00
6910eae2a1 executor: load data statement shoule not be prepared (#21188) 2020-11-23 13:49:56 +08:00
dy
a426a0e5ff planner: disallow multi-updates on primary key (#20603) 2020-11-17 18:33:53 +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
99bdecc966 ddl: fix float precision larger than 53 (#20458) 2020-11-13 14:08:36 +08:00
f81a5d1314 planner: check view recursion when building source from view (#20398) 2020-11-12 10:44:23 +08:00