6 # We do the delete in pure SQL because Attribute collections
7 # otherwise attempt to hash everything in memory. As this may
8 # be a large list, do it directly.
9 RT->DatabaseHandle->dbh->do(<<EOSQL);
10 DELETE FROM Attributes
11 WHERE (Name = 'LinkValueTo' OR Name = 'IncludeContentForValue')
12 AND (LENGTH(Content) = 0 OR Content IS NULL)