From 98a18e04f7edcbccea29a233bf29fc2545d0329d Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Mon, 12 May 2025 21:52:45 +0200 Subject: [PATCH] Fix conflict indices (#30585) Release Notes: - Fix a bug where python path could be corrupted --- crates/workspace/src/persistence.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/workspace/src/persistence.rs b/crates/workspace/src/persistence.rs index f437165111644063bb6abf9bb38a25db16586594..2d0aded1ed4a99fecd121c9a9b95b06e1f01d6f3 100644 --- a/crates/workspace/src/persistence.rs +++ b/crates/workspace/src/persistence.rs @@ -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")?;