mirror of
				https://github.com/Alfresco/alfresco-community-repo.git
				synced 2025-10-29 15:21:53 +00:00 
			
		
		
		
	Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
107747: Fix for ACE-2125 Boolean properties should be supported in the predicate for transactional metadata queries.
    - also includes float and double
   Fix for ACE-2685 Error when using content length and mimetype in the same query 
    - SQL refactor removes this issue
   Fix for ACE-3889 Support the OR operator with transactional AFTS queries
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@107764 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
			
			
This commit is contained in:
		| @@ -0,0 +1,24 @@ | ||||
| -- | ||||
| -- Title:      Update alf_node_properties to support in-transaction metadata queries on remaining property types | ||||
| -- Database:   Generic | ||||
| -- Since:      V5.1 Schema 9004 | ||||
| -- Author:     Andy Hind | ||||
| -- | ||||
| -- Please contact support@alfresco.com if you need assistance with the upgrade. | ||||
| -- | ||||
|  | ||||
| CREATE INDEX idx_alf_nprop_b ON alf_node_properties (qname_id, boolean_value, node_id);  --(optional) | ||||
| CREATE INDEX idx_alf_nprop_f ON alf_node_properties (qname_id, float_value, node_id);  --(optional) | ||||
| CREATE INDEX idx_alf_nprop_d ON alf_node_properties (qname_id, double_value, node_id);  --(optional) | ||||
|  | ||||
| -- | ||||
| -- Record script finish | ||||
| -- | ||||
| DELETE FROM alf_applied_patch WHERE id = 'patch.db-V5.1-metadata-query-indexes'; | ||||
| INSERT INTO alf_applied_patch | ||||
|   (id, description, fixes_from_schema, fixes_to_schema, applied_to_schema, target_schema, applied_on_date, applied_to_server, was_executed, succeeded, report) | ||||
|   VALUES | ||||
|   ( | ||||
|     'patch.db-V5.1-metadata-query-indexes', 'Manually executed script upgrade V5.1: Updates for metadata query', | ||||
|     0, 9003, -1, 9004, null, 'UNKNOWN', ${TRUE}, ${TRUE}, 'Script completed' | ||||
|   ); | ||||
		Reference in New Issue
	
	Block a user