Bug 84656 - SQL code generation misplaces comments
Summary: SQL code generation misplaces comments
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-07 15:36 UTC by Jussi Ruokomaki
Modified: 2004-07-12 13:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jussi Ruokomaki 2004-07-07 15:36:09 UTC
Version:           1.2.2 (using KDE 3.2.3-1.0.1.kde, Fedora Core release 1 (Yarrow))
Compiler:          gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
OS:                Linux (i686) release 2.4.22-1.2174.nptl_37.rhfc1.atsmp

For example, if attribute1 in a table1 has a comment "comment goes here" the generated code looks like:

CREATE TABLE table1 ( 
	attribute1 int comment goes here ,
	attribute2 int
);

when it should be more like 

CREATE TABLE table1 ( 
	attribute1 int , -- comment goes here
	attribute2 int
);

The comment could also be placed before the CREATE TABLE clause.
Comment 1 Sebastian Stein 2004-07-12 13:59:57 UTC
*** Bug has been marked as fixed ***.