1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 02:09:35 +02:00

fixed book/position forgetting

This commit is contained in:
Nikolay Pultsin 2011-02-13 17:34:12 +00:00
parent 3a6c9bee7c
commit 016297dadd
2 changed files with 2 additions and 1 deletions

View file

@ -520,7 +520,7 @@ public final class SQLiteBooksDatabase extends BooksDatabase {
if (id == -1) {
if (myInsertFileInfoStatement == null) {
myInsertFileInfoStatement = myDatabase.compileStatement(
"INSERT OR REPLACE INTO Files (name,parent_id,size) VALUES (?,?,?)"
"INSERT OR IGNORE INTO Files (name,parent_id,size) VALUES (?,?,?)"
);
}
statement = myInsertFileInfoStatement;