diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-06-25 00:07:44 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-06-25 00:07:44 -0400 |
commit | c25fc2751886278a4e7f30f127e80449160a47f1 (patch) | |
tree | d19cab06d629a995848a296409693b5890d59f60 /lib/sisu/v4/dbi_discrete.rb | |
parent | v5: "general code cleaning" fix (diff) |
v4: general code cleaning, sync with v5sisu_4.1.6
Diffstat (limited to 'lib/sisu/v4/dbi_discrete.rb')
-rw-r--r-- | lib/sisu/v4/dbi_discrete.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sisu/v4/dbi_discrete.rb b/lib/sisu/v4/dbi_discrete.rb index 3499bc9c..5b7d36bf 100644 --- a/lib/sisu/v4/dbi_discrete.rb +++ b/lib/sisu/v4/dbi_discrete.rb @@ -151,7 +151,6 @@ module SiSU_DBI_Discrete #% database building end def connect begin - sql_type='sqlite' SiSU_Screen::Ansi.new(@opt.cmd,"DBI (#{@sql_type}) #{@opt.mod}",@opt.fns).dbi_title unless @opt.cmd =~/q/ @db.sqlite_discrete.conn_sqlite3 rescue @@ -165,7 +164,7 @@ module SiSU_DBI_Discrete #% database building end def sql_maintenance_file file=if @opt.inspect =~/M/ - x=if @opt.fns and not @opt.fns.empty? + if @opt.fns and not @opt.fns.empty? @env=SiSU_Env::InfoEnv.new(@opt.fns) if @opt.fns puts "\n#{@env.processing_path.sqlite}/#{@opt.fns}.sql" if @sql_type =~/sqlite/ and @opt.cmd =~/M/ @db=SiSU_Env::InfoDb.new |