aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3dv/dbi.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-03-12 18:49:49 -0400
committerRalph Amissah <ralph@amissah.com>2012-03-12 18:50:04 -0400
commit86b767b0f9a5aeac4708e48231d2010215b35e2b (patch)
tree0d9f69401731ac3cc670e6826e88a390558c9a06 /lib/sisu/v3dv/dbi.rb
parentv3dv: documentation sisu_commands, rearranged & update with regard to excludes (diff)
v3dv: sqlite3 discreet .sql.db file for each document (possibility added)
* in addition to existing possibility of a shared db in sqlite3 or postgresql
Diffstat (limited to 'lib/sisu/v3dv/dbi.rb')
-rw-r--r--lib/sisu/v3dv/dbi.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v3dv/dbi.rb b/lib/sisu/v3dv/dbi.rb
index e0bd169e..f11d9e81 100644
--- a/lib/sisu/v3dv/dbi.rb
+++ b/lib/sisu/v3dv/dbi.rb
@@ -71,7 +71,7 @@ module SiSU_DBI
SiSU_Env::Load.new('dbi',true).prog
@opt=opt
@db=SiSU_Env::InfoDb.new
- if @opt.cmd =~/d/i \
+ if @opt.cmd =~/[Dd]/ \
or @opt.mod.inspect =~/--(pg(?:sql)?|(?:sq)?lite)/
@sql_type=if @opt.cmd=~/D/ \
or @opt.mod.inspect =~/--pg(?:sql)?/