The source project of this merge request has been removed.
[Bug 398082] Fix endless loop on importing mysql schema
umbrello/codeimport/sqlimport.cpp
- Replace variable
index
by constantorigIndex
located inside the while-loop. - In loop condition replace QLatin1String("COMMENT") by QLatin1String("comment").
- When CHARACTER is not followed by SET, do not take back incrementing of m_srcIndex.
- ON DELETE / ON UPDATE can be used without being nested in REFERENCES reftable [ ( refcolumn ) ] thus pull them out from the REFERENCES dependent then-part.
- After end of while-loop, if token contains COMMENT then advance until it contains "," or ")".
BUG:398082 FIXED-IN:2.30.80 (KDE Applications 19.03.80)
Edited by Oliver Kellogg