Subject: | Default flags are not compatible with DB_File |
The SQLite_File documentation does not mention there is a big difference in the default flags compared to DB_File. With DB_File, the flags default to O_CREAT|O_RDWR, but with SQLite_File it essentially defaults to O_TRUNC, since you are just using open with '<'. This should be changed so it is compatible with DB_File. But if not, it should be clearly documented to avoid data loss.