mirror of https://github.com/ppy/osu
16f3d1815f
It turns out the SQLite API isn't smart enough to handle nullables directly, so we need to help it out a bit. Stops the following from being thrown: ``` System.InvalidOperationException: Value must be set. at Microsoft.Data.Sqlite.SqliteParameter.Bind(sqlite3_stmt stmt) = 3 at at Microsoft.Data.Sqlite.SqliteParameterCollection.Bind(sqlite3_stmt stmt) = 3 at at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader() at osu.Game.Beatmaps.BeatmapManager.BeatmapOnlineLookupQueue.checkLocalCache(BeatmapSetInfo set, BeatmapInfo beatmap) in /Users/dean/Projects/osu/osu.Game/Beatmaps/BeatmapManager_BeatmapOnlineLookupQueue.cs:line 166 = 166 ``` |
||
---|---|---|
.. | ||
ControlPoints | ||
Drawables | ||
Formats | ||
Legacy | ||
Timing | ||
Beatmap.cs | ||
BeatmapConverter.cs | ||
BeatmapDifficulty.cs | ||
BeatmapDifficultyCache.cs | ||
BeatmapInfo.cs | ||
BeatmapManager.cs | ||
BeatmapManager_BeatmapOnlineLookupQueue.cs | ||
BeatmapManager_WorkingBeatmap.cs | ||
BeatmapMetadata.cs | ||
BeatmapMetrics.cs | ||
BeatmapOnlineInfo.cs | ||
BeatmapProcessor.cs | ||
BeatmapSetFileInfo.cs | ||
BeatmapSetInfo.cs | ||
BeatmapSetMetrics.cs | ||
BeatmapSetOnlineInfo.cs | ||
BeatmapSetOnlineStatus.cs | ||
BeatmapStatistic.cs | ||
BeatmapStatisticIcon.cs | ||
BeatmapStore.cs | ||
DifficultyRating.cs | ||
DifficultyRecommender.cs | ||
DummyWorkingBeatmap.cs | ||
IBeatmap.cs | ||
IBeatmapConverter.cs | ||
IBeatmapProcessor.cs | ||
IBeatmapResourceProvider.cs | ||
IWorkingBeatmap.cs | ||
StarDifficulty.cs | ||
WorkingBeatmap.cs |