Merge pull request #1516 from jellyfin/EraYaN-vacuum-merge-fix

Move VACUUM command to fix merge error
pull/1517/head
Bond-009 5 years ago committed by GitHub
commit f2a56fcd80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -125,6 +125,9 @@ namespace Emby.Server.Implementations.Data
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);
}
@ -170,8 +173,6 @@ namespace Emby.Server.Implementations.Data
columnNames.Add(name);
}
}
// Configuration and pragmas can affect VACUUM so it needs to be last.
queries.Add("VACUUM");
return columnNames;
}

Loading…
Cancel
Save