# File lib/dbd/sqlite3/statement.rb, line 5
    def initialize(sql, db)
        sql.gsub!(/\\\\/) { '\\' } # sqlite underneath does this for us automatically, and it's causing trouble with the rest of the system.
        @sql = sql
        @db = db
        @stmt = db.prepare(sql)
        @result = nil
    rescue ::SQLite3::Exception, RuntimeError => err
        raise DBI::ProgrammingError.new(err.message)
    end