mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-03 05:34:16 -04:00
Updated TryGetGuid for migration
This commit is contained in:
parent
3d87d0faa2
commit
07ed9a3ea4
@ -127,8 +127,16 @@ namespace Emby.Server.Implementations.Data
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
result = reader.GetGuid(index);
|
try
|
||||||
return true;
|
{
|
||||||
|
result = reader.GetGuid(index);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
result = Guid.Empty;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool TryGetString(this SqliteDataReader reader, int index, out string result)
|
public static bool TryGetString(this SqliteDataReader reader, int index, out string result)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user