mtxr / SublimeText-SQLTools

SQLTools for Sublime Text 3
https://code.mteixeira.dev/SublimeText-SQLTools/
GNU General Public License v3.0
177 stars 40 forks source link

Table description does not work when using SQLite #128

Closed ilvetz closed 6 years ago

ilvetz commented 6 years ago

Issue Type

Prerequisites (For bugfixes)

Description

Using a SQLite DB, command Table description shows the message "Your database has no table" but it currently does and list them when executing SQLite command .tables

Steps to Reproduce (For bugfixes)

  1. Connect to a populated SQLite database
  2. Run Table Description command

Expected behavior:

Execution of .tables SQLite native command and presentation of the output

Actual behavior:

shows the message "Your database has no table"

Versions

tkopets commented 6 years ago

I've just tried to reproduce the issue, but all works fine for me. I can list all tables, show table description, show table records.

Can you post your entire contents of SQLTools.sublime-settings in your Sublime User folder? It could be that you have saved old versions of queries (these queries were changed not too long ago). Try to remove all non-custom settings from your SQLTools.sublime-settings to see if that solves your problem.

tkopets commented 6 years ago

@ilvetz Any news on this issue? Does it works for you after cleaning up the SQLTools.sublime-settings file?

ilvetz commented 6 years ago

Thank you @tkopets

Sorry but I'm using the extension for the first time. Now it works. I thought about some cached list of tables or a issue with single-table databases.

tkopets commented 6 years ago

No problem!