Spaces in database list should be ignored

[expired user #6833]'s profile image [expired user #6833] posted 8 years ago in General Permalink

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`;



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.

Thanks.
Code modification/commit 45d74f2 from ansgarbecker, 8 years ago, revision 9.3.0.5089
Trim database names when passed as semicolon separated list. See http://www.heidisql.com/forum.php?t=21505
ansgar's profile image ansgar posted 8 years ago Permalink

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.