diff options
author | plegall <plg@piwigo.org> | 2004-11-30 20:26:44 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2004-11-30 20:26:44 +0000 |
commit | 759b1e883999c12f7f59865e4fd8c5aea7e90885 (patch) | |
tree | b8e7e52a65c5277f2cb4cd7890d77ae468e9b633 /template/default/category.tpl | |
parent | 514bac91c66f6eaff63380ec544fe5bccfdebed4 (diff) |
- update_global_rank new function : far more intelligent update. Take into
account the possiblity to have category tree not in category id ascending
order
- update global_rank when moving categories among the same parent
- new function mass_updates : depending on MySQL version, create a temporary
table, make one big insert and one big update by joining 2 tables (4.0.4
or above) or make 1 update per primary key
- function update_category improved for representative_picture_id check :
only one useful query (equivalent to NOT EXISTS) instead of N (N = number
of categories) queries
git-svn-id: http://piwigo.org/svn/trunk@625 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/default/category.tpl')
0 files changed, 0 insertions, 0 deletions