[MDEV-24490] mysqldump generate "create Table" by Views Created: 2020-12-25 Updated: 2020-12-27 Resolved: 2020-12-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 10.2.36 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Bernd Buffen | Assignee: | Sergei Golubchik |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Last login: Fri Dec 25 13:10:59 2020 from 94.31.96.126 |
||
| Attachments: |
|
| Description |
|
mysqldump dumps views as tables when there is only one view dump create this: /*!50001 CREATE TABLE `VIEW1` ( i have also test it on Windows Version 10.5.8 with the same error In the attachment is the create, use and the mysqldump output. Regards Bernd |
| Comments |
| Comment by Sergei Golubchik [ 2020-12-27 ] |
|
Expected behavior. See below under the create table you'll find drop table if exists and create view. |