mardi 1 mars 2016

sqlite3_reset() when is it needed?

Before you tell me to read the docs, yes I have read them. But my own tests tell me I can sometimes call repeatedly sqlite3_step() on some prepared statements without resetting them first. Examples are: BEGIN and COMMIT. Can you shed some light on when I need to reset a prepared statement, as I would like to avoid making the call whenever possible?

Aucun commentaire:

Enregistrer un commentaire