TablePlus / TablePlus-Windows

TablePlus Windows issue tracker
https://tableplus.com
189 stars 3 forks source link

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

Open karolis-kimtys opened 1 year ago

karolis-kimtys commented 1 year ago

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.

sonswift commented 1 year ago

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