joereynolds / SQHell.vim

An SQL wrapper for vim
MIT License
131 stars 9 forks source link

Sorting doesn't working correctly for MySQL if multiple tables are returned #43

Open misterbuckley opened 6 years ago

misterbuckley commented 6 years ago

If you're using MySQL and you do an SQHExecute(File) with multiple queries, so that the resulting SQHResult buffer has multiple tables in it, the s/S/:SQHSortResult commands will not work correctly. Currently they simply sort from line 4 of the file to the (last - 1) line of the file. Need to determine a way to only sort on one table at a time.

Note: This will work correctly for PSQL once #41 is in