Menu

#27 Apostrophes in comments cause yasql to silently fail

open
nobody
None
5
2016-07-29
2016-07-29
No

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

Discussion


Log in to post a comment.

MongoDB Logo MongoDB