b52a38981c
*: change SHOW CONFIG to require CONFIG privilege ( #25379 )
2021-06-15 16:56:36 +08:00
07d0b2d845
planner: forbid prepared stale select in txn ( #25375 )
2021-06-15 14:30:37 +08:00
bd11917ca0
bindinfo,planner: report error when creating sql binding on temporary table ( #25058 )
2021-06-15 14:08:37 +08:00
9189ec66ac
*: stale reads compatible with prepare ( #25156 )
2021-06-11 19:32:35 +08:00
5a1606740c
ddl: add create table like check for temporary table ( #25082 )
2021-06-11 16:50:35 +08:00
811253785c
planner, executor: add stale read compatibility for temporary table ( #25206 )
2021-06-07 21:06:28 +08:00
30fcecad7f
planner: add dml support in CTE ( #25024 )
2021-06-03 15:50:27 +08:00
b7e448aa10
ddl: add auto random && shard_row_id_bits compatibility for temporary table ( #24940 )
2021-06-02 15:56:26 +08:00
c8c0dd0bb9
executor: supports as of timestamp compatibility ( #25019 )
2021-06-02 11:29:38 +08:00
d435129d01
executor: make set transaction as of timestamp supports select statement ( #24984 )
2021-06-01 16:29:38 +08:00
11019d6f34
ddl: add admin_checksum_table compatibility for temporary table ( #24867 )
2021-05-31 15:47:36 +08:00
963288a68c
planner: build plan for CTE ( #24792 )
2021-05-28 16:47:35 +08:00
f3557bb591
planner, executor: supports select statement with AS OF ( #24613 )
2021-05-27 21:11:35 +08:00
79669921ff
ddl: add region and split compatibility for temporary table ( #24684 )
2021-05-25 13:17:33 +08:00
89c0e6c91a
ddl: add check table compatibility for temporary table ( #24501 )
2021-05-12 21:49:40 +08:00
af6cece281
*: support read and write operations for the global temporary table ( #24196 )
2021-04-29 21:49:58 +08:00
4072172c05
*: add security enhanced mode part 1 ( #23978 )
2021-04-15 09:51:51 +08:00
276dd0e69e
util: optimize the performance of restore with db ( #22910 )
2021-03-12 16:46:56 +08:00
4b90ef471c
planner: include "CREATE/DROP TEMPORARY TABLE" to noop functions (##609) ( #22860 )
...
* planner: include "CREATE/DROP TEMPORARY TABLE" to noop functions (##609)
TiDB ignores the TEMPORARY keyword in "CREATE/DROP TEMPORARY TABLE" statements.
Report errors when and only when tidb_enable_noop_functions = OFF.
* Add link to pingcap/parser issue
Co-authored-by: bb7133 <bb7133@gmail.com >
Co-authored-by: bb7133 <bb7133@gmail.com >
Co-authored-by: Morgan Tocker <tocker@gmail.com >
2021-02-27 23:31:06 -07:00
d0ca720a5f
*: support ALTER TABLE ADD / DROP TIDB_STATS ( #22127 )
2021-01-14 15:28:28 +08:00
e234403616
planner: fix panic in extractSelectAndNormalizeDigest ( #22333 )
2021-01-11 15:43:10 +08:00
51794e9d30
*: rewrite origin SQL with default DB for SQL bindings ( #21275 )
2021-01-06 16:28:29 +08:00
3e64072c3c
ddl, planner, types: add M>=D checking for decimal column definition with default value ( #21845 )
2020-12-29 16:06:54 +08:00
2c429bdc0a
ddl, planner: fix no failure in modifing and creating column DOUBLE(0,0) ( #22039 )
2020-12-29 15:41:10 +08:00
fa952307bf
ddl: fix default decimal Flen value ( #22036 )
2020-12-29 14:35:13 +08:00
34b4e9a033
planner, privilege: check for table not exists ( #21776 )
2020-12-23 17:40:37 +08:00
b9c5aaf552
planner: error by default for GROUP BY expr ASC|DESC ( #21120 )
2020-12-10 16:01:51 +08:00
7ea8102185
planner: Add table engine name check ( #21110 )
2020-12-09 15:56:06 +08:00
7a88ad852d
planner: check for decimal format in cast expr ( #20836 )
2020-12-03 18:39:48 +08:00
c218c58218
*: support select from tablesample ( #20883 )
2020-12-03 16:46:18 +08:00
f72cec77b6
*: support SQL bind for Update / Delete / Insert / Replace ( #20686 )
2020-11-17 15:19:04 +08:00
e136429d8d
*: refactor parser initialize method and add tidb_enable_strict_double_type_check variable ( #20967 )
2020-11-16 19:58:27 +08:00
99bdecc966
ddl: fix float precision larger than 53 ( #20458 )
2020-11-13 14:08:36 +08:00
3b4ba35e28
DDL: create table should not allow explicit empty name index ( #20617 )
2020-11-03 12:52:44 +08:00
91db54ef8e
ddl: Support multiple table rename ( #19962 )
2020-10-28 11:36:03 +08:00
789581bf29
parser: disallow subquery without table alias ( #19102 )
2020-10-09 15:53:40 +08:00
713c2378f6
planner: let SQL BINDING support UNION ALL/INTERSECT/EXCEPT ( #20010 )
2020-09-27 13:58:37 +08:00
4ec101d7e3
planner: support parentheses change precedence for set operators ( #18968 )
2020-09-21 13:06:10 +08:00
c7a836b609
ddl: support create table with expression index ( #18125 )
...
* done
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* fix
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* add
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* save
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* done
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* Update ddl/ddl_api.go
Co-authored-by: Lynn <zimu_xia@126.com >
* 2
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* done
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* fix
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
Co-authored-by: Lynn <zimu_xia@126.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-09-10 15:26:15 +08:00
c283bc66bd
txn:support wait second grammar for "select for update" ( #19630 )
...
* support select for update wait seconds grammar
* use function
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-09-07 13:47:59 +08:00
c6b80eaeb0
ddl, planner: support ALTER TABLE without use db ( #18784 )
2020-08-26 15:33:16 +08:00
c5c7bf87bb
*: support CREATE / DROP / ADMIN RELOAD STATISTICS ( #18880 )
2020-08-11 17:27:48 +08:00
f3554241bb
planner, executor: support except and intersect set operator ( #18459 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-07-27 17:56:07 +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
d53336bd4a
planner: support sql_select_limit session / global variable ( #17444 )
2020-06-02 18:02:29 +08:00
43764a59b7
RFC + Support of BACKUP and RESTORE statements ( #15274 )
2020-04-30 19:35:56 +08:00
f3b8f60480
ddl, planner: handle sequence name check in preprocess ( #16193 )
2020-04-09 10:59:24 +08:00
1e32b49c67
planner: fix create view grammer check ( #15334 )
2020-03-15 10:06:23 +08:00
8835f8efca
*: set charset and collate for string literals correctly ( #15156 )
2020-03-06 17:01:46 +08:00
27f8c3668f
ddl: fix auto_increment is not compatible with MySQL ( #14755 )
2020-02-14 11:32:14 +08:00