lib/amalgalite/database.rb in amalgalite-0.2.1 vs lib/amalgalite/database.rb in amalgalite-0.2.2
- old
+ new
@@ -435,11 +435,11 @@
##
# Run a pragma command against the database
#
# Returns the result set of the pragma
- def pragma( cmd )
- execute("PRAGMA #{cmd}")
+ def pragma( cmd, &block )
+ execute("PRAGMA #{cmd}", &block)
end
##
# Begin a transaction. The valid transaction types are:
#