Skip Menu |

This queue is for tickets about the SQLite_File CPAN distribution.

Report information
The Basics
Id: 122654
Status: resolved
Priority: 0/
Queue: SQLite_File

People
Owner: maj.fortinbras [...] gmail.com
Requestors: justincase [...] yopmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.1000



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.