Skip to content
  • ale's avatar
    Use SQLite in a simpler and less error-prone way · 54575419
    ale authored
    The previous practice of keeping around prepared statements is
    somewhat harmful, as they end up bound to the connection. Drop the
    statementMap concept, and just use tx.Query() directly instead.
    
    Reduce issues with concurrent write access to SQLite by running
    db.SetMaxOpenConns(1).
    54575419