Commit Graph

1570 Commits

Author SHA1 Message Date
28446605c2 expression: fix tidb can't alter table from other-type with null value to timestamp with NOT NULL attribute (#29664) 2021-12-03 15:57:54 +08:00
2242f9c8bc parser: support multi bracket for subquery (#29656) 2021-12-02 18:15:54 +08:00
6898975a7d parser: fix missing charset and collation of handle column (#30320) 2021-12-02 17:05:54 +08:00
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00
13d0deb7fe parser: respect TiDB comment when DROP INDEX IF EXISTS (#30173) 2021-11-30 19:35:53 +08:00
a0f7643e3f *: forbid set TiFlash Replica for a table with unsupport charset (#30162) 2021-11-30 15:55:53 +08:00
a90c98816e ddl: fix none info of alter table placement (#29929) 2021-11-24 16:53:53 +08:00
eb4bc5dc89 parser: update cznic/parser&y to new 1.0.2/1.0.1 (#29846) 2021-11-23 12:07:51 +08:00
9d531488b5 parse: support set local sysvar=xxx (#30005) 2021-11-23 11:53:51 +08:00
e2e6e5561b encoding: refactor the character encoding (#29935) 2021-11-22 16:59:49 +08:00
c835349972 table, parser: check for invalid GBK characters before insertion (#28814) 2021-11-22 13:29:49 +08:00
723242ad24 parser: support trace plan statement (#29720)
* support trace plan statement

Signed-off-by: yisaer <disxiaofei@163.com>

* fix conflict

Signed-off-by: yisaer <disxiaofei@163.com>

* fix fmt

Signed-off-by: yisaer <disxiaofei@163.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-11-22 13:09:45 +08:00
35f4816d5a planner: rename duplicated anonymous columns when creating view (#29895)
* planner: rename duplicated anonymous columns when creating view

* add some tests

* modify test

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-11-19 15:37:24 +08:00
9ec688ebe8 expression, parser: support GBK for builtin function ord (#29527) 2021-11-18 14:33:47 +08:00
4063e9c2e6 ddl: add support create or replace placement policy (#29865) 2021-11-18 14:17:47 +08:00
afa41c36da parser: remove outdated and unnecessary checkout-pr-branch.sh (#29887) 2021-11-18 03:07:47 +08:00
5f340b88c9 parser: format error message during parsing when meet a big value. (#28791) 2021-11-18 00:51:47 +08:00
b3bae059ee parser: add Str2Type method. (#29857) 2021-11-17 16:27:47 +08:00
64f34345d9 parser: forbid invalid column name for analyze columns (#29567) 2021-11-12 02:57:06 +08:00
1d179552f4 mockstore: set FieldType.charset in coprocessor (#29646) 2021-11-11 17:53:06 +08:00
a237e41d9f ddl : support alter table xx nocache operations switch a table into uncacheable (#29621) 2021-11-11 17:19:06 +08:00
17edc5758f parser: add ANALYZE TABLE t ALL COLUMNS syntax (#29361) 2021-11-10 18:17:05 +08:00
dbea9892c4 *: Remove old syntax ALTER TABLE ... ADD/REMOVE/ALTER PLACEMENT POLICY ... (#29603) 2021-11-10 01:19:06 +08:00
49d995d577 *: Remove ALTER TABLE ... ALTER PARTITION ... (#29556) 2021-11-08 18:05:04 +08:00
9409d54d81 expression: support builtin func password for GBK (#29202) 2021-11-05 12:17:02 +08:00
ec7a638e33 executor: Fix authplugin handling with alter/create (#28468) 2021-11-02 01:10:51 +08:00
ad85341857 charset: support builtin function convert (#28943) 2021-11-01 16:56:51 +08:00
8d9647dee5 privileges: fix create temporary tables privilege (#29279) 2021-11-01 16:46:51 +08:00
11b61738f3 parser: migrate test-infra to testify (#29191) 2021-10-28 12:30:49 +08:00
9a780a2138 parser: migrate test-infra to testify (#29087) 2021-10-27 19:28:49 +08:00
a3f3924388 parser: support analyze/stats options when create/alter table (#29056) 2021-10-27 14:54:49 +08:00
63d5b02496 DDL: Support skip placement validation (#29016) 2021-10-27 13:10:49 +08:00
1777bd0e86 ddl : support alter table xx cache operations (#29022) 2021-10-25 22:08:48 +08:00
1bde14a6e9 *: Finish alter placement for objects (#28982) 2021-10-25 20:54:49 +08:00
b332a085a3 parser: add new analyze option SAMPLERATE (#28961) 2021-10-25 16:04:48 +08:00
412dd4f763 parser: refactor Parse() interface to make it extensible (#28975) 2021-10-21 10:56:45 +08:00
549fac6b26 parser: support the 'alter table xx cache' and 'alter table xx nocache' (#28922) 2021-10-21 10:36:45 +08:00
acb3a89634 expression, parser: fix the result of trim3Args (#28936) 2021-10-19 21:00:43 +08:00
9f8c053d06 parser: refactor encode and decode (#28917)
* refactor encoding

* add a simple test case for encoding

Co-authored-by: tangenta <tangenta@126.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-10-19 15:50:33 +08:00
ad8fbb4549 parser: remove souspicious switch break in lexer (#28885) 2021-10-19 14:42:43 +08:00
271df167fb *: Support Reset database placement options by ALTER (#28463) 2021-10-18 22:48:42 +08:00
fce1a03e40 parser: analyze predicate/user-specified columns and show column_stats_usage (#28846) 2021-10-18 16:52:43 +08:00
39d5f8e16f *: Delete circle.yml (#28886) 2021-10-18 14:00:43 +08:00
42001503cb expression, parser: support GBK charset for builtin function lower() (#28869) 2021-10-15 18:02:41 +08:00
cc96f59bdb *: rename RECREATOR to REPLAYER (#28826) 2021-10-15 16:23:27 +08:00
ac9dcbb53f expression: support GBK charset for builtin function upper() (#28817) 2021-10-15 15:29:27 +08:00
7700bd2fd5 parser: add "second syntax" for REVOKE (#28738) 2021-10-14 12:03:27 +08:00
c1ec51e049 privilege: add Event and Routine privilege on db level (#28690) 2021-10-13 14:07:27 +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