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?
--
James W. Walker, ScriptPerfection Enterprises, Inc.
<http://www.write-brain.com/>


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



Reply via email to