The problem seems to be that sqlite is not recognizing
<newline> as a comment terminator (unless the comment
is alone on a line). I think you should write a bug
ticket; meanwhile, the work-around is to end your
comment with a semicolon.

sqlite> select * from t1; -- comment
   ...> 
   ...> ;
a           c         
----------  ----------
1           One       
2           Two       
sqlite> select * from t1; -- comment ;
a           c         
----------  ----------
1           One       
2           Two       
sqlite> -- comment
sqlite>


Regards

Reply via email to