neurolabs / henplus

HenPlus is a SQL shell that can handle multiple sessions in parallel. The commandline interface with the usual history functions features TAB-completion for commands, tables and columns. Database connect via JDBC.
GNU General Public License v2.0
97 stars 51 forks source link

completing with tab leads to second-to-last line executed #23

Open neurolabs opened 13 years ago

neurolabs commented 13 years ago

under certain circumstances not the last line, but the second to last line is executed. Reproduction:

rollback;
select * from person where person_id = 1; # press tab anywhere after the table name, e.g. in the where or after the 1...

result: rollback is executed twice, the select statement is not executed.