Database File Limit#7047
Merged
sovdeeth merged 23 commits intoDec 15, 2024
Merged
Conversation
Contributor
Author
|
Please note, to optimally fix the |
TheLimeGlass
suggested changes
Sep 7, 2024
Contributor
There was a problem hiding this comment.
Looking good.
Dev note: The breaking change is because the field behavior is being changed from type to configuration name, thus the field should be private to avoid anyone extending VariableStorage to be using old behavior.
The current VariableStorage API is very recent, and this change is minimal.
TheLimeGlass
suggested changes
Sep 7, 2024
Added, Javadoc note for getUserConfigurationName() Changed, database(Name|Type) fields to private Changed, all usages of 'databaseName' to 'getUserConfigurationName()' Changed, 'registeredFiles' to Set Changed, 'name' var
Contributor
Author
|
Question, should we also restrict the usage of same database names? |
TheLimeGlass
approved these changes
Sep 19, 2024
sovdeeth
requested changes
Oct 12, 2024
sovdeeth
reviewed
Oct 12, 2024
sovdeeth
approved these changes
Oct 12, 2024
erenkarakal
pushed a commit
to erenkarakal/Skript
that referenced
this pull request
Nov 26, 2025
* Starter Commit * Fixing Fix, the databaseName being set as the type instead of the name Added, databaseType field * Requested Changes Added, Javadoc note for getUserConfigurationName() Changed, database(Name|Type) fields to private Changed, all usages of 'databaseName' to 'getUserConfigurationName()' Changed, 'registeredFiles' to Set Changed, 'name' var * Fix Load Forgot to change the initial constructor call back to original * Requested Changes * Javadocs update * Fix --------- Co-authored-by: Moderocky <admin@moderocky.com> Co-authored-by: sovdee <10354869+sovdeeth@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR aims to restrict the usage of a file to only one database. Precautionary measure
databaseNamefield and adds adatabaseTypefieldTarget Minecraft Versions: any
Requirements: none
Related Issues: #6858