[MDEV-22914] Difference of MySQL 8.0 syntax from MariaDB Created: 2020-06-16 Updated: 2020-06-24 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Artyom | Assignee: | Kaj Arnö |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
1. MySQL 8.0 supports a different compression algorithm for each table (table option COMPRESSION). MariaDB supports defining one global algorithm for all tables. Perhaps, while MariaDB does not have the ability to set different algorithms, it is possible to make, like syntactic sugar, the possibility of using the COMPRESSION table option if the algorithm specified in it matches the global one, otherwise give an error or warning. construct for compatibility with ODBC. This helps with compatibility with some third-party applications, but is not official ODBC syntax. |
| Comments |
| Comment by Alexander Krizhanovsky (Inactive) [ 2020-06-18 ] |
|
https://jira.mariadb.org/browse/MDEV-11180 was closed as invalid, but could make sense to make MariaDB syntax compatible with MySQL. |
| Comment by Vicențiu Ciorbaru [ 2020-06-18 ] |
|
For SET ROLE ALL, MariaDB's implementation was specifically designed to only enable one role at a time. I believe this will require a few "hacks" to get it to work, hacks that we might not want to maintain. Potential implementation ideas: If we support the "ALL" role, it might be expected to support a subset of roles enabled at any one time. This can be done either via method 1 or method 2. Option 3. |
| Comment by Kaj Arnö [ 2020-06-18 ] |
|
1. Depends on outcome of GSoC code submission. Please wait. |
| Comment by Artyom [ 2020-06-18 ] |
|
> 3. Please clarify! Is this in MySQL 8? MySQL 5.7? Is there a clear definition for it somewhere? I mean OJ from JOIN Clause (5.7 and 8.0) |
| Comment by Sergei Golubchik [ 2020-06-24 ] |
|
3. is supported since at least 2007 (MySQL-5.1?) and it was always supported in MariaDB since the first day it was branched off MySQL |