[see above] O.K. it's not "automatic" but it did in fact run automatically without my permission. I ran:
'./cleanup_database.pl --zebraqueue -v'
and Koha *updated* from 3.8.5 to some variant of 3.8.10. Note the '-v' -- but it sat there running with nothing "verbose."
You can take a look at the release notes for the versions between 3.8.5 and 3.8.10:Â http://git.koha-community.org/gitweb/?p=koha.git;a=tree;f=misc/release_notes;h=fd4b7d4bf8f9d401c87878ec184593a078bb5a93;hb=3.8.x
I can find no mention of 'db' or 'database'
I have looked at it, but question why it would be triggered?Based on the "Update report" you shared, it doesn't look like there were any actual database changes in between versions 3.8.5 and 3.8.10, but I couldn't say that with certainty without checking (you can take a look at the release notes linked above, and by reviewing the installer/data/mysql/updatedatabase.pl file on the 3.8.10 installation).
By what? And "the code" in what? The relevant code in cleanup_database.pl isThe update is trigged whenever you have an older version of the database than the code,
"$sth2 = $dbh->prepare("DELETE FROM zebraqueue WHERE id=?");"
a simple MySQL directive. Why does 'cleanup_database.pl' even look for 'updatedatabase.pl' and|or "other/more recent" versions of "the code"?
The bottom line is "why does a simple .pl using TRUNCATE lead to an upgrade"?
"Downgrading" is new to me. Do you mean "restore system from backup"?Most likely downgrading to 3.8.5 would not cause any problems at all,