CRM-18811. Permit spaces in table and column aliases.
authorChris Burgess <chris@giantrobot.co.nz>
Mon, 13 Jun 2016 04:32:54 +0000 (16:32 +1200)
committerChris Burgess <chris@giantrobot.co.nz>
Mon, 13 Jun 2016 04:33:12 +0000 (16:33 +1200)
commit7cec4a9acfbc832b361051979b32d83bfbfa9281
tree5263cc54794f9d5c5ddbedd2ceed22546c4a3941
parentd6766e5a1a76ac93bc9a33bfe667f8aeb962ed13
CRM-18811. Permit spaces in table and column aliases.

Spaces are permitted provided the aliases are surrounded by backticks. This is not intended to be a complete representation of what MySQL permits, it's just expanding to permit things that CiviCRM actually generates.
CRM/Utils/Rule.php
tests/phpunit/CRM/Utils/TypeTest.php