The zJournal path must have at least 2 null characters at the end of the string 
or an "Acess violation reading" exception can be thrown. With the current code 
the second null characters is overridden by these instructions:
...
pPager->zWal = &pPager->zJournal[nPathname+8+1];
memcpy(pPager->zWal, zPathname, nPathname);
...

I think pPager->zWal should start one position further: pPager->zWal = 
&pPager->zJournal[nPathname+8+2];


Regards

Mariano Quesada

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

Reply via email to