[Uml-devel] [Bug 84656] New: SQL code generation misplaces comments
Jussi Ruokomaki
jsruok at ruokomaki.fi
Wed Jul 7 07:49:10 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=84656
Summary: SQL code generation misplaces comments
Product: umbrello
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: umbrello-devel.kde.org
ReportedBy: jsruok ruokomaki fi
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.
More information about the umbrello-devel
mailing list