[MDEV-18846] mysqldump should add DROP routines into dump file before CREATE Created: 2019-03-07 Updated: 2019-03-09 Resolved: 2019-03-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Silver Asu | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
While dumping database with --routines option, it is impossible to import this dump into same database because there will be FUNCTION xxx already exists error. |
| Comments |
| Comment by Silver Asu [ 2019-03-07 ] |
|
Sorry, please delete this ticket. Problem was that --skip-opt removes DROP function. |