Commit Graph

40 Commits

Author SHA1 Message Date
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
522275783e executor: fix auto-id allocation during statements retry (#20659) 2020-11-09 16:37:12 +08:00
6e1aa0d765 *: restrict the length of enum/set value (#19109) 2020-11-04 19:10:02 +08:00
280e8aa35f *: fix CI break on errors.toml (#20742) 2020-10-31 21:32:55 +08:00
b2e6df07c8 session: Support Variable-Setting Hint SET_VAR (#20232) 2020-10-28 14:27:13 +08:00
bf043c2d1f executor, expression: Fixed the warning messages when calling str_to_date function failed (#20415) 2020-10-28 14:04:01 +08:00
f750afb321 *: introduce errors documentation generator to generate errors.toml (#20516)
Signed-off-by: Lonng <heng@lonng.org>
2020-10-21 15:54:38 +08:00