Re: [sqlite] Shell tool question

2015-01-21 Thread Hick Gunter
35 An: General Discussion of SQLite Database Betreff: [sqlite] Shell tool question Quickie: In the Shell Tool, is '.read' recursive ? In other words, if I use .read to read a script and I have .read in a script, will the shell tool finish both scripts correctly ? I ran a quick test an

Re: [sqlite] Shell tool question

2015-01-21 Thread Simon Slavin
On 21 Jan 2015, at 5:15pm, Richard Hipp wrote: > It appears to be, after a quick glance at the code. It uses a new > stack frame for each level of recursion. So if you create a recursion > loop, you'll overflow the stack and segfault. That's great. Thanks for the fast answer. I will be care

Re: [sqlite] Shell tool question

2015-01-21 Thread Richard Hipp
On 1/21/15, Simon Slavin wrote: > Quickie: > > In the Shell Tool, is '.read' recursive ? In other words, if I use .read to > read a script and I have .read in a script, will the shell tool finish both > scripts correctly ? It appears to be, after a quick glance at the code. It uses a new stack

[sqlite] Shell tool question

2015-01-21 Thread Simon Slavin
Quickie: In the Shell Tool, is '.read' recursive ? In other words, if I use .read to read a script and I have .read in a script, will the shell tool finish both scripts correctly ? I ran a quick test and I know what I got, but I wanted to be reassured I wasn't just lucky. Simon.