Skip to content

Commit

Permalink
[NO ISSUE][*DB][MD] Allow '.' in database object names on Windows
Browse files Browse the repository at this point in the history
Change-Id: I18183e9cf0906a6313b48ee19d48dec6f6ad5549
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/11663
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <mblow@apache.org>
Reviewed-by: Till Westmann <tillw@apache.org>
Tested-by: Michael Blow <mblow@apache.org>
  • Loading branch information
mblow committed May 28, 2021
1 parent ad58fc2 commit 7332722
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -32,7 +32,7 @@ public class MetadataConstants {
public static final int METADATA_OBJECT_NAME_LENGTH_LIMIT_UTF8 = 251;
public static final int DATAVERSE_NAME_TOTAL_LENGTH_LIMIT_UTF8 = METADATA_OBJECT_NAME_LENGTH_LIMIT_UTF8 * 4;
public static final Pattern METADATA_OBJECT_NAME_INVALID_CHARS =
Pattern.compile(SystemUtils.IS_OS_WINDOWS ? "[\u0000-\u001F\u007F\"*/:<>\\\\|+,.;=\\[\\]\n]" : "[\u0000/]");
Pattern.compile(SystemUtils.IS_OS_WINDOWS ? "[\u0000-\u001F\u007F\"*/:<>\\\\|+,;=\\[\\]\n]" : "[\u0000/]");

// Name of the dataverse the metadata lives in.
public static final DataverseName METADATA_DATAVERSE_NAME = DataverseName.createBuiltinDataverseName("Metadata");
Expand Down

0 comments on commit 7332722

Please sign in to comment.