Re: [fossil-users] SQLite abort?

2016-11-06 Thread Artur Shepilko
src/sqlite3.c:80663 -- if( pOp->p1==1 ){ /* Invalidate all prepared statements whenever the TEMP database ** schema is changed. Ticket #1644 */ sqlite3ExpirePreparedStatements(db); p->expired = 0; } -- SQLITE_PRIVATE void

Re: [fossil-users] SQLite abort?

2016-11-06 Thread Andy Goth
The issue seems to be resolved for now. Phone typing is hard, so just have a look at check-in 5258a43d78. I'll quickly summarize: the schema was getting changed right in the middle of running a prepared statement. ___ fossil-users mailing list

Re: [fossil-users] SQLite abort?

2016-11-06 Thread Andy Goth
The very last thing SQLite does before the abort is an OP_OpenRead, but p->expired which triggers SQLITE_ABORT_ROLLBACK. Using the sqlite3.c included with the Fossil version at issue, I put a breakpoint at line 78001 with an ignore count of 69. The 70th time that line hits is immediately

Re: [fossil-users] th_tcl.c: undefined reference to `count'

2016-11-06 Thread jungle boogie
On 11/06/2016 08:19 AM, Andy Bradford wrote: Thus said jungle boogie on Sat, 05 Nov 2016 21:59:33 -0700: I think this commit broke it: http://www.fossil-scm.org/index.html/info/3cb9ba4de68923d0 I think this commit fixes it: http://www.fossil-scm.org/index.html/info/36e7558a11598f3e You

Re: [fossil-users] th_tcl.c: undefined reference to `count'

2016-11-06 Thread Andy Bradford
Thus said jungle boogie on Sat, 05 Nov 2016 21:59:33 -0700: > I think this commit broke it: > http://www.fossil-scm.org/index.html/info/3cb9ba4de68923d0 I think this commit fixes it: http://www.fossil-scm.org/index.html/info/36e7558a11598f3e Andy -- TAI64 timestamp: 4000581f582f

[fossil-users] SQLite abort?

2016-11-06 Thread Andy Goth
First off, sorry I haven't been active on the mailing list. I just kind of disappeared, I know. Work's been very busy with constant travel, and I only have my phone for personal email. Next, why the flurry of activity the last few days? I finally got a few days off work, and I wanted to make the