1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-07 13:07:25 +08:00
osu-lazer/osu.Game
Dean Herbert 16f3d1815f Fix SQLite exception thrown is a beatmap lookup is attempted without an OnlineBeatmapID present
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
```
2021-01-29 19:53:57 +09:00
..
Audio Ensure equality member consistency for SampleInfo 2020-12-03 23:25:53 +01:00
Beatmaps Fix SQLite exception thrown is a beatmap lookup is attempted without an OnlineBeatmapID present 2021-01-29 19:53:57 +09:00
Collections remove unnec using 2020-09-19 15:13:52 -05:00
Configuration Merge branch 'master' into beatmap-colour-setting 2021-01-18 16:07:46 +09:00
Database Merge branch 'master' into android-multiple-import-support-suppot 2021-01-16 23:13:11 +01:00
Extensions Remove all usage of CatchUnobservedExceptions 2021-01-29 16:32:29 +09:00
Graphics Merge branch 'master' into scroll-to-20 2021-01-22 19:58:36 +01:00
Input Update KeyBinding usages in line with interface changes 2021-01-15 14:57:01 +09:00
IO Merge branch 'master' into fix-legacy-skin-texture-loader-store 2020-12-22 12:09:35 +09:00
IPC Add spaces to comments 2020-05-04 18:36:24 -07:00
Migrations Add flag value to database 2020-10-20 00:46:08 +02:00
Online Remove all usage of CatchUnobservedExceptions 2021-01-29 16:32:29 +09:00
Overlays Remove game-local enum [Order] attribute 2021-01-27 22:29:52 +01:00
Properties Merge branch 'master' into correct-preview-loop 2019-01-31 10:53:09 +01:00
Replays Setup all spectator model classes for MessagePack 2021-01-26 16:39:35 +09:00
Rulesets Remove game-local enum [Order] attribute 2021-01-27 22:29:52 +01:00
Scoring Merge branch 'master' into move-cache-logic-to-base-impl 2020-11-06 16:56:35 +09:00
Screens Remove all usage of CatchUnobservedExceptions 2021-01-29 16:32:29 +09:00
Skinning Update namespaces 2021-01-18 21:24:10 +09:00
Storyboards Remove unused using 2021-01-04 15:40:22 +09:00
Tests Mark legacy beatmap skin colour test as abstract 2021-01-19 23:10:15 +01:00
Updater Update EndsWith usages 2020-10-16 12:58:34 +09:00
Users Add MappingFollowerCount field to User 2021-01-21 22:02:19 +03:00
Utils Remove game-local enum [Order] attribute 2021-01-27 22:29:52 +01:00
osu!.res And then everything became one 2017-09-19 16:06:58 +09:00
osu.Game.csproj Merge branch 'master' into fix-ios-beatmap-cache-lookups 2021-01-28 22:33:58 +01:00
OsuGame.cs Merge branch 'master' into android-multiple-import-support-suppot 2021-01-16 23:13:11 +01:00
OsuGameBase.cs Fix multiplayer mod select showing autoplay as a choice 2021-01-18 17:50:32 +09:00
PerformFromMenuRunner.cs Inline complete method as well 2020-12-31 10:27:42 +01:00