Dear Simon,

Thanks for your reply.

Below is how we are running sqlite on board. i.e.

1.      *#* sqlite3 TempDB <Database-Name>                          * // At
# Prompt on Board UCLINUX*
SQLite version 3.7.17 2013-05-20 00:56:22
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
2.  sqlite>
.databases                                                         *// At
sqlite prompt*

seq  name             file
---  ---------------
----------------------------------------------------------
0    main

Above we are not getting the filepath where the database is created.But the
database is getting created in /home/ directory on UCLINUX Board.

When we traced the sqlite3_API for the "Database is locked" Error .we are
getting error from below function
*static int unixLock(sqlite3_file *id, int locktype)*
*{ *
*     s = fcntl(pFile->h, F_SETLK, &lock);
    sqlite3DebugPrintf("Aijas: %s - %d - %d\n","SHARED lock fcntl S value",
__LINE__, s); //Aijas added for Debug
    *
*   }*
** *On Linux PC it is working fine but on Board it is not.Please find the
difference document attached to this mail.we have kept debug statements in
the code to trace it out.*
***

*


-- 
Thanks & Regards,
Mohammed Aijas
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to