lundi 20 juillet 2015

Option readonly of SQLite in PDO

I know that the readonly option does not exist in the PDO.

I have a database, accessible only in read mode(chmod for file read only). I need only perform SELECT and SELECT COUNT queries.

Is it safe to such use?

I am afraid that SQLite at some point want to write some logs, logs, etc. And then I'll have to catch this type of situation. It is not easy in a large application.

Or performing SELECT and SELECT COUNT queries excluded any attempt to change the file?

Aucun commentaire:

Enregistrer un commentaire