mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.3-BUG-FIX to HEAD
22123: Fixed NFS path to handle conversion not supporting folder paths. ALF-4462. 22167: ALF-4557: Use batching on population of alf_locale table on upgrade from 2.x on MySQL 22169: Merge V3.3-BUG-FIX-2010_07_13 to V3.3-BUG-FIX 21554 : ALF-2339 - Can not handle the load if a lot of mails arriving a the same time. 22173: Merge from V3.3-BUG-FIX_2010_06_24 to V3.3-BUG-FIX 20976: ALF-2793 IMAP thunderbird takes ages to display the new contents of a folder. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22214 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -696,11 +696,15 @@ INSERT INTO alf_locale (id, locale_str) VALUES (1, '.default');
|
||||
|
||||
-- Locales come from the attribute table which was used to support MLText persistence
|
||||
-- Query OK, 0 rows affected (17.22 sec)
|
||||
--FOREACH alf_attributes.id system.upgrade.alf_attributes.batchsize
|
||||
INSERT INTO alf_locale (locale_str)
|
||||
SELECT DISTINCT(ma.mkey)
|
||||
FROM alf_node_properties np
|
||||
JOIN alf_attributes a1 ON (np.attribute_value = a1.id)
|
||||
JOIN alf_map_attribute_entries ma ON (ma.map_id = a1.id)
|
||||
LEFT OUTER JOIN alf_locale l ON (ma.mkey = l.locale_str)
|
||||
WHERE l.locale_str IS NULL
|
||||
AND a1.id >= ${LOWERBOUND} AND a1.id <= ${UPPERBOUND}
|
||||
;
|
||||
|
||||
-- -------------------------------
|
||||
|
@@ -411,11 +411,15 @@ CREATE TABLE alf_locale
|
||||
INSERT INTO alf_locale (id, locale_str) VALUES (1, '.default');
|
||||
|
||||
-- Locales come from the attribute table which was used to support MLText persistence
|
||||
--FOREACH alf_attributes.id system.upgrade.alf_attributes.batchsize
|
||||
INSERT INTO alf_locale (locale_str)
|
||||
SELECT DISTINCT(ma.mkey)
|
||||
FROM alf_node_properties np
|
||||
JOIN alf_attributes a1 ON (np.attribute_value = a1.id)
|
||||
JOIN alf_map_attribute_entries ma ON (ma.map_id = a1.id)
|
||||
LEFT OUTER JOIN alf_locale l ON (ma.mkey = l.locale_str)
|
||||
WHERE l.locale_str IS NULL
|
||||
AND a1.id >= ${LOWERBOUND} AND a1.id <= ${UPPERBOUND}
|
||||
;
|
||||
|
||||
-- -------------------------------
|
||||
|
Reference in New Issue
Block a user