/usr/local/lib/ruby/gems/2.3.0/gems/sqlite3-1.3.12/lib/sqlite3/pragmas.rb:301: warning: method redefined; discarding old integrity_check
Nov 17 14:25:14 dave dovecot: lmtp: Error: /usr/local/lib/ruby/gems/2.3.0/gems/sqlite3-1.3.12/lib/sqlite3/pragmas.rb:107: warning: previous definition of integrity_check was here
Nov 17 14:25:14 dave logstats[29232]: Error: unrecognized auto_vacuum true
--
You received this message because you are subscribed to the Google Groups "sqlite3-ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sqlite3-ruby...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,Thanks for the bug report. I'll fix the issue with the `integrity_check` and create a new release. Are you calling `auto_vacuum` in any of your code? I see it implemented in the gem, but it doesn't actually seem to be used by anything right now.
begin
@db = SQLite3::Database.new(Strings::STATSDB)
@db.results_as_hash = true
@db.busy_timeout = 10
# @db.auto_vacuum = true
@db.execute("pragma foreign_keys=on;")
rescue SQLite3::LockedException => l
As a work-around, just downgrade to version 1.3.11 until I can ship 1.3.13.
On Nov 17, 2016, at 3:38 PM, ste...@niteflyte.net wrote:
On Thursday, November 17, 2016 at 2:48:46 PM UTC-8, Aaron Patterson wrote:Hi,Thanks for the bug report. I'll fix the issue with the `integrity_check` and create a new release. Are you calling `auto_vacuum` in any of your code? I see it implemented in the gem, but it doesn't actually seem to be used by anything right now.I found the ref to 'auto_vacuum' & commented it out... Has this been deprecated?
No, it isn't deprecated. It looks like it just doesn't have any tests. I will add tests for it and make sure it's fixed in the upcoming release. Thanks for the sample code!