Bug #6631 Programm crash when show create script
Submitted: 15 Nov 2004 11:05 Modified: 23 Nov 2004 20:42
Reporter: Frank Büttner Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S2 (Serious)
Version:1.0.14 OS:Linux (Fedora Core 2)
Assigned to: Alfredo Kojima CPU Architecture:Any

[15 Nov 2004 11:05] Frank Büttner
Description:
When I use the mysql-administrator, and i will show the create script of a shema it crashs.

How to repeat:
1. start mysql-administrator
2. select shema
3. click right mouse button in the Table tab and select "Show Create Script"

then the app crashs with a Segmentation fault.
Here the output:
./mysql-administrator: line 9:  7760 Segmentation fault      $MYPATH/mysql-administrator-bin
[15 Nov 2004 22:52] Alfredo Kojima
What is the version of MySQL you're connecting to?
Does the crash happen with any table you try to do a Show Create Script? Can you try doing that with the tables in the mysql schema and verify if it applies to all of the tables?
[15 Nov 2004 23:12] Frank Büttner
The Server have version 4.1.7-standard.
When I select a table and try the Show Create Script it works.
It works with all tables in my databases. It crash only when I try to use the function to see the Create Script of a database.
I have add a screen shot to show the probelm.
[15 Nov 2004 23:14] Frank Büttner
A screenshot to show when it crash's

Attachment: Probelm.jpg (image/jpeg, text), 191.56 KiB.

[23 Nov 2004 20:42] Alfredo Kojima
Ahh, ok!
I understand the problem now. There is currently no way to show the create script for a database, you *must* select a table to use the Show Create Script command. 
I'll add a command for that and fix the crash.