[BUGFIX] Allow multiline comments in SqlReader
When using c-style multiline comments in the ext_tables.sql of an extension, the SchemaMigrator would then ignore the subsequent "CREATE TABLE" statement, because the SqlReader also read the multiline comments into the statement array. This patch fixes this behaviour. Now the following comments are possible inside ext_tables.sql: /* Some comment text more text */ /* Same line c-style comment */ /* More multiline comments */ CREATE TABLE table1 ( header varchar(255) DEFAULT '' NOT NULL, bodytext text ); Resolves: #89714 Releases: master, 9.5 Change-Id: I49e687215d0b42d6ca5416c687fdbc19b44d237d Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63951 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Susanne Moog <look@susi.dev> Tested-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de>
Please register or sign in to comment