diff options
Diffstat (limited to 'lib/sisu/v0/dbi.rb')
-rw-r--r-- | lib/sisu/v0/dbi.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/v0/dbi.rb b/lib/sisu/v0/dbi.rb index fbe3014b..1746c71c 100644 --- a/lib/sisu/v0/dbi.rb +++ b/lib/sisu/v0/dbi.rb @@ -129,7 +129,8 @@ module SiSU_DBI ensure end begin - @conn.disconnect if @sql_type =~/sqlite/ + #@conn.disconnect if @sql_type =~/sqlite/ and @opt.mod.inspect !~/^--(?:re)?create/ + @conn.disconnect if @sql_type =~/sqlite/ rescue connect end |