Bug #18806 corrupt file after deletion of tables
Submitted: 5 Apr 2006 14:15 Modified: 5 Apr 2006 17:48
Reporter: Klaus Bensch Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Workbench Preview Severity:S3 (Non-critical)
Version:1.0.5 OS:Windows (WinXP-SP2, Win2KSP4)
Assigned to: CPU Architecture:Any

[5 Apr 2006 14:15] Klaus Bensch
Description:
A schema seems to get corrupted when tables were deleted. I don't know if there is an additional data loss, but the remaining relations are not shown in the 'Main View'.

Error 10008 in status line: Error calling lua function.

How to repeat:
Load file big.mwb
Delete all tables except aaa to ddd.
Save as small.mwb.
Load small.mwb.
[5 Apr 2006 14:15] Klaus Bensch
test file

Attachment: big.zip (application/x-zip-compressed, text), 20.09 KiB.

[5 Apr 2006 17:48] MySQL Verification Team
Hi,

I get slightly different problem:
The file isn't corrupted. I still see tables AA-DD.
After reloading small.mwb bottom panel says:

Access violation at address 0113A9A6 in module 'libmysqlgrtwbmodule.dll'. Read of address 00000034

I have ATI MOBILITY RADEON 9200, ati2dvag.dll version 6.14.0010.6422
[5 Apr 2006 17:54] MySQL Verification Team
Just retried, this time without closing WB between saving and loading and got this error:
Workbench.loadDocumentData :Error calling lua function Workbench.loadDocumentData: ./lua\Workbench.lua:666: Value assigned to a GRT reference memory is not a GRT object (dict with _id member)

However, the aaa-ddd tables are still visible. Something is wrong since each time I reopen the small.mwb, I get the preceeding error.