aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v1/dbi.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v1/dbi.rb')
-rw-r--r--lib/sisu/v1/dbi.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v1/dbi.rb b/lib/sisu/v1/dbi.rb
index 644b150d..edd2e3ef 100644
--- a/lib/sisu/v1/dbi.rb
+++ b/lib/sisu/v1/dbi.rb
@@ -7,7 +7,7 @@
* Author: Ralph Amissah
- * Copyright: (C) 1997 - 2009 Ralph Amissah All Rights Reserved.
+ * Copyright: (C) 1997 - 2010, Ralph Amissah, All Rights Reserved.
* License: GPL 3 or later:
@@ -108,10 +108,10 @@ module SiSU_DBI
rescue
if @opt.mod.inspect=~/--(createall|create)/
puts %{manually create the database: "#{db}" if it does not yet exist}
- #sudo su -p postgres; createdb #{db}; #[createuser?]
+ #sudo su -p postgres; createdb #{@db.db}; #[createuser?]
end
SiSU_DB_DBI::Case.new(@opt,@conn,@sql_type).cases
- @conn=DBI.connect(dbi,user,db)
+ @conn=DBI.connect(@db.dbi,@db.user,@db.db)
ensure
end
end