Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.1.6, 1.1.7
-
None
-
None
Description
There is now a java.sql.SQLSyntaxErrorException when trying to connect to a database containing spaces.
It's since version 1.1.6 and these changes in MySQLProtocol.java :
if (database != null && database.length() > 0)
{
// and switch to this database
executeQuery(new MySQLQuery("USE " + database));
}