sasha-alias / sqltabs

Rich SQL client for Postgresql, MySQL, MS SQL, Amazon Redshift, Google Firebase (Firestore)
https://www.sqltabs.com
GNU General Public License v3.0
803 stars 57 forks source link

blank screen when requesting "object info" when current transaction is aborted #64

Closed demikl closed 8 years ago

demikl commented 8 years ago

How to reproduce:

begin;
select non_existent_function();

Then go to menu "database" -> "Object info". SQLTabs is non-responsive and only display a blank canvas.

It looks like sqltabs is reusing the same connection as the current query for its 'object info' internal query, but since this connection is in an "abort transaction" state, the internal query fails and.... boom ! :)

sasha-alias commented 8 years ago

Good catch, thanks for reporting!

sasha-alias commented 8 years ago

sqltabs v0.13.0 released