KnoooW / naclports

Automatically exported from code.google.com/p/naclports
0 stars 0 forks source link

Add sqlite to naclports #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This port has been request by several different people and appears
to be non-trivial due to reliance on ftruncate/flock/etc.

Original issue reported on code.google.com by sbc@google.com on 5 Sep 2013 at 5:44

GoogleCodeExporter commented 9 years ago
Landed initial version at r899

Original comment by sbc@google.com on 23 Oct 2013 at 1:12

GoogleCodeExporter commented 9 years ago
Hi,

I finally have found time to try the port, but it does not work. sqlite_exec 
fails when it tries to lock the database file. The failure happens inside 
unixFileLock() at line sqlite-autoconf-3071601/sqlite3.c:24301.

rc = osFcntl(pFile->h, F_SETLK, pLock); 

This call returns -1. Unfortunately gdb could not print the errno value in 
order to see the actual error.

You can find the full backtrace attached.

Original comment by chilons...@gmail.com on 28 Nov 2013 at 5:54

Attachments: