MCPcopy Create free account
hub / github.com/buggins/coolreader / longCoverpageQuery

Method longCoverpageQuery

android/src/org/coolreader/crengine/CRDB.java:1010–1023  ·  view source on GitHub ↗
( String sql )

Source from the content-addressed store, hash-verified

1008 }
1009
1010 private Long longCoverpageQuery( String sql )
1011 {
1012 SQLiteStatement stmt = null;
1013 try {
1014 stmt = mCoverpageDB.compileStatement(sql);
1015 return stmt.simpleQueryForLong();
1016 } catch ( Exception e ) {
1017 // not found or error
1018 return null;
1019 } finally {
1020 if (stmt != null)
1021 stmt.close();
1022 }
1023 }
1024
1025 synchronized public void saveBookCoverpage( long bookId, byte[] data )
1026 {

Callers 2

saveBookCoverpageMethod · 0.95
dumpStatisticsMethod · 0.95

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected