Skip to content

[Bug 398082] Fix endless loop on importing mysql schema

Oliver Kellogg requested to merge (removed):release/19.12 into release/19.12

umbrello/codeimport/sqlimport.cpp

  • Replace variable index by constant origIndex 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

Merge request reports

Loading