run analyze as final upgrade step

This commit is contained in:
Ted Unangst 2023-08-23 23:34:14 -04:00
parent f4c4c8a917
commit 57e34c344d
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ func upgradedb() {
tx = nil tx = nil
fallthrough fallthrough
case 45: case 45:
try("analyze")
default: default:
elog.Fatalf("can't upgrade unknown version %d", dbversion) elog.Fatalf("can't upgrade unknown version %d", dbversion)