Steps to recreate
- Create the view
- Backup the database
Example view
CREATE VIEW testview AS SELECT 'test' as c1, 'other as c2;
Error with line number. This happends in the CreateSQL function in dump.go
template:mysqldumpTable:9.3: executing "mysqldumpTable" at <.CreateSQL>:error calling CreateSQL: sql: expected 4 destination arguments in Scan, not 2