joomla/joomla-platform — pull request #1871 by brittongr (2014-10-10 06:49:20+00:00)
Title: Add brackets for database name when selecting

Database names like 0_MyDatabase needs to be wrapped in [...], otherway the driver will throw an exception.