[umbrello] [Bug 398082] Endless loop on importing mysql schema
Oliver Kellogg
bugzilla_noreply at kde.org
Thu Jan 9 14:46:34 GMT 2020
https://bugs.kde.org/show_bug.cgi?id=398082
Oliver Kellogg <okellogg at users.sourceforge.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |okellogg at users.sourceforge.
| |net
--- Comment #2 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
(In reply to Ralf Habacker from comment #1)
> Git commit 67d006cab83ff53aa3088ada99df0c1ed5b24c79 by Ralf Habacker.
> [...]
> M +1 -1 umbrello/codeimport/sqlimport.cpp
>
> https://commits.kde.org/umbrello/67d006cab83ff53aa3088ada99df0c1ed5b24c79
Hi Ralf,
@@ -313,7 +313,7 @@ SQLImport::ColumnConstraints
SQLImport::parseColumnConstraints(QString &token)
ColumnConstraints constraints;
int index = m_srcIndex;
- while(token != QLatin1String(",") && token != QLatin1String(")")) {
+ while(token != QLatin1String(",") && token != QLatin1String(")") &&
token.toLower() != QLatin1String("COMMENT")) {
Shouldn't that be token.toUpper() ?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list