Apostrophes in comments cause yasql to silently fail
Brought to you by:
nicodemus
Apostrophes in "--" comments cause yasql to silently fail in batch mode. Have not tested to see if other comments are affected.
Compare output of these two:
:::bash
echo -e "-- TEST\nselect sysdate from dual; commit;"|yasql user/pass@host
echo -e "-- 'TEST\nselect sysdate from dual; commit;"|yasql user/pass@host