Overview
Comment: | Corrected db version mismatch issue from 1.70 to 1.80 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.80 | v1.8001 |
Files: | files | file ages | folders |
SHA1: |
946a6994754aaf5cd6951c7fcb2401f2 |
User & Date: | mmgraham on 2022-12-02 16:54:00 |
Other Links: | branch diff | manifest | tags |
Context
2022-12-07
| ||
10:38 | fixed a typo in db:cautious-open-db check-in: 49e9838ddb user: mmgraham tags: v1.80 | |
2022-12-02
| ||
16:54 | Corrected db version mismatch issue from 1.70 to 1.80 check-in: 946a699475 user: mmgraham tags: v1.80, v1.8001 | |
11:57 | new version branch check-in: 6cb6675102 user: mmgraham tags: v1.80 | |
Changes
Modified common.scm from [5559976353] to [fbb8aaa40e].
︙ | |||
406 407 408 409 410 411 412 413 | 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 | + + + + - - + + + + + + + | (define (common:version-db-delta) (- megatest-version (common:get-last-run-version-number))) (define (common:version-changed?) (not (equal? (common:get-last-run-version) (common:version-signature)))) ;; From 1.70 to 1.80, db's are compatible. (define (common:api-changed?) (let* ( |
︙ | |||
600 601 602 603 604 605 606 | 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 | - + | ;; Force a megatest cleanup-db if version is changed and skip-version-check not specified ;; Do NOT check if not on homehost! ;; (define (common:exit-on-version-changed) (if (common:on-homehost?) (if (common:api-changed?) (let* ((mtconf (conc (get-environment-variable "MT_RUN_AREA_HOME") "/megatest.config")) |
︙ | |||
624 625 626 627 628 629 630 | 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 | - + - + | (print-call-chain (current-error-port)) (exit 1)) (common:cleanup-db dbstruct))) ((not (common:file-exists? mtconf)) (debug:print 0 *default-log-port* " megatest.config does not exist in this area. Cannot proceed with megatest version migration.") (exit 1)) ((not (common:file-exists? dbfile)) |
︙ |