Commit Graph

146 Commits

Author SHA1 Message Date
Jiri Pechanec
b552a1cf56 DBZ-3333 Support MOD as function in MySQL 2021-03-23 15:32:47 +01:00
Chris Cranford
7d607b4a50 DBZ-3311 Add TokuDB ROW_FORMAT variants support to MySQL DDL parser 2021-03-19 11:20:58 +01:00
Chris Cranford
135fd152e5 DBZ-3310 Allow ORDER keyword to be a MySQL table-name 2021-03-18 06:10:59 +01:00
ani-sha
c39192e9f2 DBZ-3067 Add OR REPLACE condition for create index 2021-02-23 08:54:28 +01:00
Jiri Pechanec
08e4988c72 DBZ-3093 Unify snapshot and streaming parsing 2021-02-16 10:02:17 +01:00
Jiri Pechanec
b98de6c44f DBZ-3039 Add MariaDB existence predicates 2021-02-05 05:44:20 +01:00
Jiri Pechanec
5e887b2bfb DBZ-3020 Ignore expressions in default values 2021-02-03 10:12:09 +01:00
Jiri Pechanec
bfc7e25705 DBZ-3018 Signal option values can be calculated 2021-02-03 08:55:53 +01:00
Jiri Pechanec
e526821594 DBZ-3017 Allow parentheses for functions with optional 2021-02-03 08:01:45 +01:00
Jiri Pechanec
3a55caf8b5 DBZ-2972 Handle IP only for user to avoid false matches;
If for example a label is used without space like `label1:BEGIN`, then the
tokenizer would create tokens `label1`, `:BE` and `GIN` as `:BE` matches
`IP_ADDRESS` token. As the tokenization is globally executed it is
better to skip a separate token and link IPv6/IPv4 directly to the
username token.
2021-01-27 09:37:00 +01:00
Jiri Pechanec
368e67e998 DBZ-2882 Support for MariaDB PERSISTENT keyword 2021-01-04 11:40:24 +01:00
Jiri Pechanec
6d37049d38 DBZ-2840 Parse comments followed by tabs 2020-12-21 19:01:25 +01:00
Jiri Pechanec
663427298c DBZ-2366 Log DDL causing parsing error 2020-12-18 20:46:37 +01:00
Jiri Pechanec
969bfe8699 DBZ-2743 Test for IPv6 address 2020-12-09 10:34:07 +01:00
Jiri Pechanec
e237b70728 DBZ-2743 Simplify IP address matchers 2020-12-09 10:34:07 +01:00
Jiri Pechanec
070a0fccf9 DBZ-2743 Unqouted IP address as part of username 2020-12-09 10:34:07 +01:00
Jiri Pechanec
a967afbd1a DBZ-2821 Support for CHAR VARYING use 2020-12-04 10:34:49 +01:00
Jiri Pechanec
e5051647c1 DBZ-2692 Allow procedure variables in LIMIT clause 2020-12-01 11:45:48 +01:00
Vadzim Ramanenka
476a294c04 DBZ-2794: No viable alternative at input 'optimize tables' on MySQL
`optimize table` is not documented but a valid mysql statement.
2020-11-30 09:57:29 +01:00
Jiri Pechanec
732291d49b DBZ-2771 Support for BINARY collation shortcut 2020-11-19 09:36:41 +01:00
Jiri Pechanec
74cf3ea106 DBZ-2760 Support for DROP CONSTRAINT 2020-11-16 07:39:53 +01:00
Vadzim Ramanenka
ef19f09095 DBZ-2738 MySqlParser: expect aggregate function names to be used as an identifier 2020-11-12 08:38:25 +01:00
rkerner
9c5db0cd2f DBZ-2580 Fix "The primary key cannot reference a non-existant column" error from MySQL DDL parser when CREATE TABLE statement starts with a primary key definition like "CREATE TABLE Products (PRIMARY KEY (id), ..." where the referenced primary key column is not yet defined 2020-11-12 07:42:48 +01:00
Jiri Pechanec
b699e37359 DBZ-2670 Modify testing approach 2020-10-21 17:41:22 +02:00
karamel
4898d18184 DBZ-2670 Allow non-Ascii characters in MySQL ids 2020-10-21 17:41:22 +02:00
Jiri Pechanec
32f4c47552 DBZ-2671 Support for MariaDB sequence functions 2020-10-20 10:37:19 +02:00
Jiri Pechanec
1b09fed957 DBZ-2639 Refer to arbitrary table alias 2020-10-08 15:19:26 +02:00
Jiri Pechanec
2270d23adb DBZ-2641 BLOB type has dimension 2020-10-08 09:01:23 +02:00
Kewei Shang
a9d5cf8634 DBZ-2615: Use expression as default for variable declaration.
The value of the default can be specified as an expression; it need not  be a constant.
Source: https://dev.mysql.com/doc/refman/5.7/en/declare-local-variable.html
2020-10-01 12:38:12 +02:00
Jiri Pechanec
c67c5df876 DBZ-2586 BY is valid for setting password 2020-09-30 09:23:50 +02:00
Jiri Pechanec
18a4262ceb DBZ-2586 Mark MariaDB extensions 2020-09-30 09:23:50 +02:00
Jiri Pechanec
ac940711c7 DBZ-2586 Cover all MariaDB auth extensions 2020-09-30 09:23:50 +02:00
Justin Hiza
d95db50f57 DBZ-2586 updating ANLTR parser for grants to support mariadb VIA 2020-09-30 09:23:50 +02:00
Justin Hiza
fbf42c8072 DBZ-2586 updating ANLTR parser for grants to support mariadb VIA 2020-09-30 09:23:50 +02:00
Chris Cranford
127f5e86eb DBZ-2576 Support new MySQL 8 alter user password options 2020-09-30 07:10:43 +02:00
Jiri Pechanec
c7338690a9 DBZ-2453 Support for JSON operators 2020-08-27 12:17:52 +02:00
Ruslan Gibaiev
262894586b DBZ-2425 Added MySql8 visible/invisible index support 2020-08-12 13:46:10 +02:00
Ruslan Gibaiev
710e10d9f2
DBZ-2415 Added support for MySql dynamic privileges 2020-08-11 05:45:09 +02:00
Jiri Pechanec
6e1eb61e72 DBZ-2365 LONG types have separate grammar rules 2020-07-24 08:30:40 +02:00
Jiri Pechanec
18d0143d64 DBZ-2365 Support for crss-db datatypes 2020-07-24 08:30:40 +02:00
rkerner
24adef37cc DBZ-2318 add column check constraints and JSON validation check constraints to debezium-ddl-parser ANTLR v4 MySQL grammar 2020-07-16 06:55:26 +02:00
Michael Wang
d7ae30a8d1 DBZ-2305 Allow single dimension DECIMAL in CAST 2020-07-13 20:52:12 +02:00
Justin Hiza
5bf573633f DBZ-2219 Expanding support for MariaDB IF EXISTS/IF NOT EXISTS support on ALTER TABLE ddl 2020-06-25 10:47:29 +02:00
Gunnar Morling
3e5f0cef38 DBZ-2151 Completing support for ALTER TABLE DROP INDEX IF EXISTS 2020-06-08 10:58:12 +02:00
Justin Hiza
ae8f530d7e DBZ-2151 updating ANTLR parser to respect MariaDB syntax for ALTER TABLE DROP INDEX [IF EXISTS] 2020-06-08 10:58:12 +02:00
Andy Teijelo
37e939364f DBZ-2154: add test for UTC_TIMESTAMP without parenthesis 2020-06-08 09:47:58 +02:00
Andy Teijelo
2dbac5ef41 DBZ-2154: function UTC_TIMESTAMP can be called without parenthesis 2020-06-08 09:47:58 +02:00
Andy Teijelo
81b50b0278 DBZ-2153: support CAST AS INTEGER 2020-06-08 09:47:07 +02:00
Andy Teijelo
d2345af9b3 DBZ-2153: add a test for casting as integer 2020-06-08 09:47:07 +02:00
Jiri Pechanec
964c4f6505 DBZ-2142 Support multiple SETs for trigger 2020-06-03 17:32:13 +02:00