mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 22:13:06 +03:00
add sqlite logging
This commit is contained in:
@@ -33,8 +33,17 @@ namespace Emby.Server.Implementations.Data
|
||||
//CheckOk(rc);
|
||||
}
|
||||
|
||||
private static bool _versionLogged;
|
||||
|
||||
protected virtual SQLiteDatabaseConnection CreateConnection(bool isReadOnly = false)
|
||||
{
|
||||
if (!_versionLogged)
|
||||
{
|
||||
_versionLogged = true;
|
||||
Logger.Info("Sqlite version: " + SQLite3.Version);
|
||||
Logger.Info("Sqlite compiler options: " + string.Join(",", SQLite3.CompilerOptions.ToArray()));
|
||||
}
|
||||
|
||||
ConnectionFlags connectionFlags;
|
||||
|
||||
//isReadOnly = false;
|
||||
|
||||
Reference in New Issue
Block a user