Fix conflict indices (#30585)

Release Notes:

- Fix a bug where python path could be corrupted
This commit is contained in:
Conrad Irwin 2025-05-12 21:52:45 +02:00 committed by GitHub
parent 3ea86da16f
commit 98a18e04f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1403,8 +1403,8 @@ impl WorkspaceDb {
INSERT INTO toolchains(workspace_id, worktree_id, relative_worktree_path, language_name, name, path) VALUES (?, ?, ?, ?, ?, ?)
ON CONFLICT DO
UPDATE SET
name = ?4,
path = ?5
name = ?5,
path = ?6
))
.context("Preparing insertion")?;