Quantcast
Channel: Zenphoto forum
Viewing all articles
Browse latest Browse all 2917

Ralf on "Auto Increment"

$
0
0

Hi,
a couple of weeks ago I have asked about the auto-increment here:
http://www.zenphoto.org/support/topic.php?id=24081

I was wrong that I suspected the sitemap plugin - but there is a question mark left for me.
To make things clear, this is not a bug report - I just like to unterstand how things work.

Here is the scenario:
My galerie holds 1181 images. They have been uploaded per ftp on several days.
The images database table shows:
1181 rows and a auto-increment value of 1182 which makes sense, because I never deleted images.

Yesterday I have uploaded 4 new images - a control of the database shows me for the images table:
1185 rows and a auto-increment value of 1186
Again: No question marks until yet. Zenphoto has recognized the new added images.

Then I have visited the gallery and viewed one of the new images in detail view.
From this time the database table shows:
1185 rows and a auto-incremet value of 1191.

I am just wondering what has caused the auto-increment value to change from 1186 to 1191.

Because the table already showed 1185 before visiting I see no reason why the auto-increment value changed to a new value.

Again: I just want to understand what happens here :-)

Ralf


Viewing all articles
Browse latest Browse all 2917

Trending Articles