On Tue Nov 01, 2016 at 02:21:02AM +0100, mark wrote:

>     assertion "0" failed: file "sqlite3.c", line 70020, function
>     "valueFromExpr"

I read the source code a little further and found that the NEVER at
line 70020 is actually a macro:

    if( NEVER(op==TK_REGISTER) ) op = pExpr->op2;

That macro resolves to an assert, which is failing because op: 

>       (gdb) info locals
>       op = 157
>       zVal = Variable "zVal" is not available.

is the same as TK_REGISTER:

        $ grep 'define TK_REGISTER' sqlite3.c
        #define TK_REGISTER                       157

op then gets set to pExpr->op2 (0 - NULL?) which does not appear to be
a valid TK_* value.

That's about as far as I can go.

-- 
Mark Lawrence
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to