kezhenxu94/vim-mysql-plugin

Empty command issued to mysql client

kopolindo opened this issue · 3 comments

If I run ss or ds it works smoothly, but if I try to run a query, it issues the command mysql --default-group-suffix=Foobar -t -e "", as you can see the actual query between double quotes is empty.
My .sql file is structured like this:

-- --default-group-suffix=Foobar -t
--
<empty-line>
select * from schema.table;

Where am I making wrong?
Thank you so much!

well, that's weird, I cannot reproduce this, did you place the caret on the line that you're going to execute?

I think ↑ that PR should have fixed this

I think ↑ that PR should have fixed this

@artfulrobot thanks very much, @kopolindo could you please update and retry :)