about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-12-31 19:09:48 +0000
committerEric Wong <e@80x24.org>2015-12-31 19:09:48 +0000
commit901618824a794f4ad1551989c9494f77ac83459f (patch)
treec815509fdd8f253abed326ce727dce220eac3604
parent1caccb72485e06a17cae6cf2c03c54d434d32949 (diff)
downloaddtas-901618824a794f4ad1551989c9494f77ac83459f.tar.gz
For a music collection (even a large one), SQLite is sufficient
and less overhead than all of Sequel.
-rw-r--r--lib/dtas/mlib.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dtas/mlib.rb b/lib/dtas/mlib.rb
index d883523..0012159 100644
--- a/lib/dtas/mlib.rb
+++ b/lib/dtas/mlib.rb
@@ -41,6 +41,8 @@ class DTAS::Mlib # :nodoc:
       db.transaction_mode = :immediate
       db.synchronous = :off
       db.case_sensitive_like = false
+    else
+      warn 'non-SQLite databases may not work in the future'
     end
     @db = db
     @pwd = nil