mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #2674] [MERGED] Make variables binding correspond with column names #9185
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/2674
Author: @JustAMan
Created: 3/26/2020
Status: ✅ Merged
Merged: 3/26/2020
Merged by: @Bond-009
Base:
master← Head:fix-attachments-scan📝 Commits (1)
0d2a355Make variables binding correspond with column names📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
Emby.Server.Implementations/Data/SqliteItemRepository.cs(+2 -2)📄 Description
Changes
When building a SQL statement, variables being bound must correspond to placeholder names.
The insert query was using
_mediaAttachmentSaveColumnsfor names, so I'm fixing bindings to use same names.Issues
Without this patch saving scanned attachments for me are completely broken erroring out with
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.