# File lib/sqlite/pragmas.rb, line 136 def integrity_check execute( "PRAGMA integrity_check" ) do |row| raise Exceptions::DatabaseException, row[0] if row[0] != "ok" end end