fatal if the blob.db is required and missing
1 files changed, 2 insertions(+), 0 deletions(-) M database.go
M database.go +2 -0
@@ 1208,5 1208,7 @@ func prepareStatements(db *sql.DB) { if g_blobdb != nil { stmtSaveBlobData = preparetodie(g_blobdb, "insert into filedata (xid, content) values (?, ?)") stmtGetBlobData = preparetodie(g_blobdb, "select content from filedata where xid = ?") + } else if !storeTheFilesInTheFileSystem { + elog.Fatal("the blob.db has disappeared") } }