Commit Graph

71 Commits

Author SHA1 Message Date
2b580f7392 ddl: fix table attributes error (#30065) 2022-01-14 16:09:43 +08:00
9ffeff2857 types: convert to new charset before inserting to blob or json column (#31031)
close pingcap/tidb#30690
2021-12-30 21:35:50 +08:00
89fd69788d *: Retry when placement PutBundles failed (#30590) 2021-12-10 09:35:57 +08:00
4063e9c2e6 ddl: add support create or replace placement policy (#29865) 2021-11-18 14:17:47 +08:00
1eec13120d planner: lazy the subquery-more-than-1-row error after the insert duplicate is actually triggered (#29270) 2021-11-12 01:43:05 +08:00
dbea9892c4 *: Remove old syntax ALTER TABLE ... ADD/REMOVE/ALTER PLACEMENT POLICY ... (#29603) 2021-11-10 01:19:06 +08:00
dcbfda914a ddl, executor: add warning log for lock/unlock tables (#29301) 2021-11-04 14:23:01 +08:00
ec7a638e33 executor: Fix authplugin handling with alter/create (#28468) 2021-11-02 01:10:51 +08:00
01e4bdd723 ddl : ddl forbid partition table switch into cache and add view feature test (#29256) 2021-11-01 19:00:51 +08:00
b1efb13296 *: implement analyze columns c1, ..., cn (#29024) 2021-10-29 11:28:49 +08:00
21a4a7e441 br: Add hdfs backend support (#28718) 2021-10-27 17:54: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
271df167fb *: Support Reset database placement options by ALTER (#28463) 2021-10-18 22:48:42 +08:00
6553404bb2 *: fix regression from FLUSH PRIVILEGES fix (#28736) 2021-10-13 11:19:26 +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
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