[MDEV-19609] Unsupported syntax used for auto-generation of CREATE TABLE Created: 2019-05-27 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 5.5, 10.1, 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Brandon Nesterenko |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | upstream | ||
| Description |
|
CREATE TABLE is written into the binary log as
– note the TYPE= clause instead of ENGINE=, even though TYPE is not supported anymore, even with sql_mode=MYSQL40. Expectedly, it causes further replication abort.
Reproducible on all current versions of MariaDB and MySQL 5.7, 8.0 (didn't try the latest, though). |
| Comments |
| Comment by Andrei Elkin [ 2019-05-28 ] |
|
sujatha.sivakumar If I got it right the report has said it all: type should be replaced with engine. |
| Comment by Elena Stepanova [ 2019-05-28 ] |
|
... or, we need to revive TYPE=. I don't know if MYSQL40 mode implies it. |