1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-03 17:59:33 +02:00

synchronization with library-service branch

This commit is contained in:
Nikolay Pultsin 2013-01-20 05:53:35 +04:00
parent c207b09df5
commit be507cfd9c
8 changed files with 623 additions and 10 deletions

View file

@ -519,7 +519,7 @@ public final class SQLiteBooksDatabase extends BooksDatabase {
final Cursor cursor = myDatabase.rawQuery("SELECT Series.name,BookSeries.book_index FROM BookSeries INNER JOIN Series ON Series.series_id = BookSeries.series_id WHERE BookSeries.book_id = ?", new String[] { "" + bookId });
SeriesInfo info = null;
if (cursor.moveToNext()) {
info = new SeriesInfo(cursor.getString(0), SeriesInfo.createIndex(cursor.getString(1)));
info = SeriesInfo.createSeriesInfo(cursor.getString(0), cursor.getString(1));
}
cursor.close();
return info;