Bug #55940 Dumping throws error
Submitted: 12 Aug 2010 8:43 Modified: 12 Aug 2010 8:44
Reporter: Susanne Ebrecht Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S1 (Critical)
Version: OS:Any
Assigned to: CPU Architecture:Any
Tags: regression

[12 Aug 2010 8:43] Susanne Ebrecht
Description:
Start Workbench
Double click instance
Data Dump
Choose a database and all tables
Export to Dump Project Folders
Mark:
Dump Views
Dump Stored Routines
Start Export

An error is popping up:

Error
Unhandled exception: global name 'views_by_schema' is not defined

How to repeat:
See above

Suggested fix:
...
[12 Aug 2010 8:44] Johannes Taxacher
This is a duplicate of Bug #55833
[12 Aug 2010 8:48] Susanne Ebrecht
If ((dump views) == FALSE) && ((dump routines) == FALES)) all works fine.

If ((dump views) == FALSE) && ((dump routines) == TRUE)) all works fine.

If ((dump views) == TRUE) && ((dump routines) == FALSE)) error pops up.