TablePlus-Windows icon indicating copy to clipboard operation
TablePlus-Windows copied to clipboard

Row is removed even if there was an error when deleting it

Open johnyvelho opened this issue 1 year ago • 2 comments

  1. Which driver are you using and version of it (Ex: PostgreSQL 10.0): MySQL

  2. Which TablePlus build number are you using (the number on the welcome screen, Ex: build 81): 6.1.4

  3. The steps to reproduce this issue: After executing a select query and deleting one of the items, even if there is an error the row is removed and no message is shown, given the false positive. (eg: the row cant be deleted duo a foreign key). In the macos this works as expected, the row is not removed and the error is shown in the popup

johnyvelho avatar Nov 21 '24 13:11 johnyvelho

thank @johnyvelho for your feedback. I will take a look on it now.

sonswift avatar Nov 21 '24 13:11 sonswift

Hi @johnyvelho, I think I’ve identified the issue. The error occurs when you run a query containing a JOIN clause, where one of the tables has rows that cannot be deleted. I have fixed this issue, and the upcoming update will include this patch.

sonswift avatar Nov 21 '24 14:11 sonswift