silverstripe/sapphire — pull request #504 by schmengler (2012-06-04 18:26:07+00:00)
Title: BUGFIX: Handling of classes with namespaces in database

MySQLDatabase::enumValuesForField() - Added stripslashes because backslashes are escaped in the type description

DataObject::requireTable() - Added double quotes to column names in automatically generated indexes for many_many relationships

DataObject::write() - Escaped class name for DB query

DataQuery::getFinalisedQuery() - Escaped class names for DB query