Spaces in database list should be ignored

jayknight posted 2 years ago in General

I've recently updated to the newest beta release, and I think this problem started then. In my configuration, I had databases listed in the session settings like "db1; db2; db3" but when I tried to switch to the second or third databases, it failed because it tried to run use ` db2`; (with the space). Of course, changing it to "db1;db2;db3" fixed the problem.

I think either it should trim spaces from the beginning and end of the name, or be really clear in the UI that spaces aren't ignored.


ansgar posted 2 years ago

Yes, makes sense, at least for trailing and leading spaces. So, r5089 now trims these database names. Please update.

Please login to leave a reply, or register at first.