Add multi-prefix comment support for @SqlConfig

gh-23289 introduced support for multiple single-line comment prefixes
for ScriptUtils, ResourceDatabasePopulator, and EmbeddedDatabaseBuilder.

This commit adds the same support for @SqlConfig in the TestContext
Framework. Specifically, @SqlConfig has a new `commentPrefixes`
attribute for setting multiple single-line comment prefixes.

Closes gh-23331
This commit is contained in:
Sam Brannen
2019-07-23 15:23:44 +02:00
parent a3c7ae2c58
commit c3c152f806
9 changed files with 394 additions and 95 deletions

View File

@@ -19,4 +19,7 @@ VALUES('Dilbert')
INSERT INTO user VALUES('Dogbert')@@
%% another custom single-line comment
INSERT INTO user VALUES('Catbert')@@