--- a/DBI.lua Sat Dec 06 00:32:37 2008 +0000 +++ b/DBI.lua Sat Dec 06 07:35:31 2008 +0000 @@ -36,7 +36,7 @@ -- High level DB connection function -- This should be used rather than DBD.{Driver}.New -function Connect(driver, name, username, password, host, port) +function Connect(driver, ...) local modulefile = name_to_module[driver] if not modulefile then @@ -55,7 +55,7 @@ local connection_class = package.loaded[class_str] -- Calls DBD.{Driver}.New(...) - return connection_class.New(name, username, password, host, port) + return connection_class.New(...) end -- Help function to do prepare and execute in