|
|
@ -125,6 +125,9 @@ namespace Emby.Server.Implementations.Data
|
|
|
|
|
|
|
|
|
|
|
|
WriteConnection.Execute("PRAGMA temp_store=" + (int)TempStore);
|
|
|
|
WriteConnection.Execute("PRAGMA temp_store=" + (int)TempStore);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Configuration and pragmas can affect VACUUM so it needs to be last.
|
|
|
|
|
|
|
|
WriteConnection.Execute("VACUUM");
|
|
|
|
|
|
|
|
|
|
|
|
return new ManagedConnection(WriteConnection, WriteLock);
|
|
|
|
return new ManagedConnection(WriteConnection, WriteLock);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -170,8 +173,6 @@ namespace Emby.Server.Implementations.Data
|
|
|
|
columnNames.Add(name);
|
|
|
|
columnNames.Add(name);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// Configuration and pragmas can affect VACUUM so it needs to be last.
|
|
|
|
|
|
|
|
queries.Add("VACUUM");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return columnNames;
|
|
|
|
return columnNames;
|
|
|
|
}
|
|
|
|
}
|
|
|
|