[sqlite] Bug: PRAGMA busy_timeout outputs the value, screws up html

2013-12-24 Thread dmitry babitsky
*bug description:* Using PRAGMA busy_timeout outputs the value which in case of html output screws up the display. To be more precise, it creates an extra row/recordset with the timeout value, which is what then shows on the html page. There should be a way to say "set the pragma, but don't output

[sqlite] sqlite .import bug

2013-09-06 Thread dmitry babitsky
*This works fine:* echo 1 | sqlite dbfile ".import '/dev/stdin' foo" But if you have any character (like a space, or newline), or sql statement in front of the '.import', sqlite gives: "Error near "." syntax error *Why it matters:* * * Because what I'm really trying to do is to import data ignor