From "Michael Pheasant <mike@pheasant.co.nz>"
authorNathan Bird <nathan@acceleration.net>
Mon, 24 Aug 2009 13:53:50 +0000 (09:53 -0400)
committerNathan Bird <nathan@acceleration.net>
Mon, 24 Aug 2009 13:53:50 +0000 (09:53 -0400)
commit0f82f4d309d861b377645694f2d3d8e5897b07bb
tree0ec188c77faebe86235ee9c807310f93760746e3
parent6bf69ed2c616ea75e5402bd95853adee5551743b
From "Michael Pheasant <mike@pheasant.co.nz>"

Database-list ignores a supplied database name and instead uses
"mysql". It is possible that a mysql userid has permissions to issue
"show databases" but no permission to connect to db "mysql".
database-list gives an error in this scenario.

The following patch overcomes this by using the user-supplied db name
or else "mysql" if nil supplied.
db-mysql/mysql-sql.lisp