Bug #58894 Workbench generates a wrong script (DELIMITER ;USE `Datos` ; in the same line)
Submitted: 13 Dec 2010 7:22 Modified: 13 Dec 2010 19:50
Reporter: Paulo E Ojeda Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.31 OS:Any (win7, Mac OS X)
Assigned to: CPU Architecture:Any
Tags: DELIMITER ;USE, script, workbench, wrong

[13 Dec 2010 7:22] Paulo E Ojeda
Description:
As the title says, when forward engineering a model (I assume with 2 schemas in it), after the sentences for the routines of the first database and before the beginning of the create table statements for the second database, when setting the default delimiter, it puts together the delimiter and the use statements for the create table going next, in my case: DELIMITER ;USE `Datos` ;

How to repeat:
Using a model with 2 or more schemas and some tables and stored procedures in each, forward engineer it.
[13 Dec 2010 12:05] Peter Laursen
I believe this is a duplicate.
[13 Dec 2010 12:34] Johannes Taxacher
Hi Paulo,
could you maybe attach your model to the report (you can mark it as private is needed, so only internal developers can see/access it) for us to reproduce the problem?
thanks in advance
[13 Dec 2010 19:42] Valeriy Kravchuk
Verified on Mac OS X. Indeed, the following line was generated from the .mwb uploaded:

DELIMITER ;USE `Datos` ;
[13 Dec 2010 19:44] Valeriy Kravchuk
And yes, it is a duplicate of Bug #58117 :)