bumped some internal size limits for names.fixes #408
This commit is contained in:
@@ -121,7 +121,7 @@ namespace Database
|
||||
}
|
||||
|
||||
private:
|
||||
static constexpr std::size_t _maxNameLength{ 128 };
|
||||
static constexpr std::size_t _maxNameLength{ 256 };
|
||||
|
||||
friend class Session;
|
||||
// Create
|
||||
|
||||
@@ -188,7 +188,7 @@ namespace Database
|
||||
Wt::WDate getDate(bool original) const;
|
||||
std::optional<int> getYear(bool original) const;
|
||||
|
||||
static constexpr std::size_t _maxNameLength{ 128 };
|
||||
static constexpr std::size_t _maxNameLength{ 256 };
|
||||
|
||||
std::string _name;
|
||||
std::string _MBID;
|
||||
|
||||
@@ -225,9 +225,9 @@ namespace Database {
|
||||
Track(const std::filesystem::path& p);
|
||||
static pointer create(Session& session, const std::filesystem::path& p);
|
||||
|
||||
static constexpr std::size_t _maxNameLength{ 128 };
|
||||
static constexpr std::size_t _maxCopyrightLength{ 128 };
|
||||
static constexpr std::size_t _maxCopyrightURLLength{ 128 };
|
||||
static constexpr std::size_t _maxNameLength{ 256 };
|
||||
static constexpr std::size_t _maxCopyrightLength{ 256 };
|
||||
static constexpr std::size_t _maxCopyrightURLLength{ 256 };
|
||||
|
||||
int _scanVersion{};
|
||||
std::optional<int> _trackNumber{};
|
||||
|
||||
Reference in New Issue
Block a user