Pass the password argument in db_create

git-svn-id: file:///home/svn/framework3/trunk@7823 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-12-11 18:54:19 +00:00
parent f157d66625
commit e2a5cb0ebe
1 changed files with 1 additions and 1 deletions

View File

@ -1431,7 +1431,7 @@ class Db
system("dropdb #{cargs} #{info[:name]} >/dev/null 2>&1")
system("createdb #{cargs} #{info[:name]}")
opts['pass'] ||= ''
opts['password'] = info[:pass] || ''
# Do a little legwork to find the real database socket
if(! opts['host'])