D. Richard Hipp wrote:
James W. Walker wrote:

I'm using in-memory temporary tables for the first time, and running into a problem. memRbtreeInsert asks sqliteMallocRaw to allocate zero bytes, malloc returns NULL, and as a result, sqliteMallocRaw sets the sqlite_malloc_failed flag. According to the C99 standard, it is legal for malloc(0) to be NULL. Should I patch sqliteMallocRaw, or does this indicate a problem higher up the call chain?


Already patched. See http://www.sqlite.org/cvstrac/chngview?gn=1164
typo here--^

Should be: http://www.sqlite.org/cvstrac/chngview?cn=1164

You should upgrade to version 2.8.12.




-- D. Richard Hipp -- [EMAIL PROTECTED] -- 704.948.4565


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to