Improve reporting of database errors.
[cumulus.git] / localdb.h
index 45bb132..e8a350e 100644 (file)
--- a/localdb.h
+++ b/localdb.h
@@ -38,6 +38,7 @@ private:
     int64_t snapshotid;
 
     sqlite3_stmt *Prepare(const char *sql);
+    void ReportError(int rc);
     int64_t SegmentToId(const std::string &segment);
     std::string IdToSegment(int64_t segmentid);
 };