CRM-18683 don't use non transaction-safe function to clear smart group cache.
authoreileenmcnaugton <eileen@fuzion.co.nz>
Sun, 29 May 2016 22:15:44 +0000 (10:15 +1200)
committerSeamus Lee <seamuslee001@gmail.com>
Wed, 3 Aug 2016 21:02:26 +0000 (07:02 +1000)
commit9e826d3c7febdab015f25817346233a3b59baee8
tree2a76ccecbc23ff8f73603a047f774c08d348e2c3
parentb9ff33e4f383a52d426d6c90dd851765c475dc45
CRM-18683 don't use non transaction-safe function to clear smart group cache.

Note that there is a function elsewhere that allows the code to use truncate where there is no transaction.

I have left that possibility for future consideration as there is some debate over whether truncate is faster on all sites
CRM/Contact/BAO/GroupContactCache.php