Hi ,
I am working on ARM9 based s3c2440 embedded platform on linux OS. The database
I use is SQLITE over QT application. The "insert into" query is failing once I
try to insert values into a database. The database resides on a NAND flash with
yaffs2 formated filesystem. The following is the query which I execute:
QString stat = QString("insert into user20 values('%0', '%1','%2'
)").arg(id).arg(name).arg(address);
k = query.exec(stat);
if(k == false) qDebug("K is false for record ,%s
\n",id.toAscii().data());
After continuous read/write the query is failing. Once I restart my target
(s3c2440), the query is again executed fine. Before the query is executed, I
delete the database file, if it exist, so that ideally the record insertion can
happen. What can be the problem of query failure ? Is the continuous read/write
in NAND flash corrupting the memory. ? Please help.
With RegardsGIGIN
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users