Skip to content

Fix: regex for table names to create - #748

Merged
justingit merged 1 commit into
justingit:masterfrom
openstrike:sql-parse
Jul 17, 2018
Merged

Fix: regex for table names to create#748
justingit merged 1 commit into
justingit:masterfrom
openstrike:sql-parse

Conversation

@openstrike

Copy link
Copy Markdown
Contributor

On performing a big upgrade through many versions we discovered that the new tables in extras/SQL/postgres_schema.sql were not being created properly because the regex in Guts.pm didn't account for more than one space between the tablename and the following open bracket.

This is a simple PR which fixes this by making each regex more lenient.

@justingit

Copy link
Copy Markdown
Owner

Thanks! I'll check this out. On first blush, it looks good!

@justingit
justingit merged commit e876791 into justingit:master Jul 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants