Changeset 12747 for branches/2.3/include/functions_user.inc.php
- Timestamp:
- Dec 16, 2011, 2:52:40 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/include/functions_user.inc.php
r12339 r12747 447 447 pwg_query($query); 448 448 449 // Due to concurrency issues, we ask MySQL to ignore errors on 450 // insert. This may happen when cache needs refresh and that Piwigo is 451 // called "very simultaneously". 449 452 mass_inserts 450 453 ( … … 455 458 'date_last', 'max_date_last', 'nb_images', 'count_images', 'count_categories' 456 459 ), 457 $user_cache_cats 460 $user_cache_cats, 461 array('ignore' => true) 458 462 ); 459 463 … … 465 469 pwg_query($query); 466 470 471 // for the same reason as user_cache_categories, we ignore error on 472 // this insert 467 473 $query = ' 468 INSERT I NTO '.USER_CACHE_TABLE.'474 INSERT IGNORE INTO '.USER_CACHE_TABLE.' 469 475 (user_id, need_update, cache_update_time, forbidden_categories, nb_total_images, 470 476 image_access_type, image_access_list)
Note: See TracChangeset
for help on using the changeset viewer.