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

SQL query gets duplicated when query file is run straight from side bar.

Open karolis-kimtys opened this issue 2 years ago • 1 comments

Please answer the questions below, it helps us to track the issue.

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

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

  3. The steps to reproduce this issue: Create a single SQL file inside a folder ( I have a simple update field query). If you run a query with file open with "Run Current" button, all works fine, but when i right click on query file and click run it append the query and adds additional concatenated queries.

Noted: If the bug is related to data, please attach an example SQL data.

Actual SQL query inside the query file. image

After I click run, opens new query and add additional queries, which obviously does not run and fails. image

Hope this is clear enough.

karolis-kimtys avatar Jun 02 '23 10:06 karolis-kimtys

Hi @karolis-kimtys, thanks for your feedback. I found the problem and fixed it. The next update will contain this fix.

sonswift avatar Jun 02 '23 10:06 sonswift