Description
In MySQL, you can create tables, procedures, functions, triggers and events with all the same name in one database. The scope of their names seems to include the object types. When exporting such "duplicates", HeidiSQL writes only one file, and the last one wins.

HeidiSQL version
12.11
Database server version
Reproduction recipe
- Have a table and a procedure with the same name in one database
- go to SQL export, select output "Directory - one file per object"
- export
Error/Backtrace