diff --git a/patches/patch20201110-4.0.0-rc1/patch.sh b/patches/patch20201124-4.0.0-rc2/patch.sh similarity index 81% rename from patches/patch20201110-4.0.0-rc1/patch.sh rename to patches/patch20201124-4.0.0-rc2/patch.sh index c784a055d2db19d6010647439c603daf9b7a0c27..5dab9326328a7e7c4d0eef88776438b0f9760fb7 100755 --- a/patches/patch20201110-4.0.0-rc1/patch.sh +++ b/patches/patch20201124-4.0.0-rc2/patch.sh @@ -24,8 +24,8 @@ # ** end header # # Update mysql schema to version v4.0.0-rc1 -NEW_VERSION="v4.0.0-rc1" -OLD_VERSION="v3.0.0-rc2" +NEW_VERSION="v4.0.0-rc2" +OLD_VERSION="v4.0.0-rc1" if [ -z "$UTILSPATH" ]; then UTILSPATH="../utils" @@ -36,13 +36,7 @@ fi check_version $OLD_VERSION -# * Add a `direct` column to `archive_isa` table -# * Remove unused procedures: -# * `initNegationFilter` -# * `initConjunctionFilter` -# * `finishNegationFilter` -mysql_execute_file $PATCH_DIR/update_archive_isa.sql - +# nothing to do, just new implementations for the procedures update_version $NEW_VERSION diff --git a/tests/test_entity_versioning.sql b/tests/test_entity_versioning.sql index 0c5147c8dd4baab7cb2d323370ff2db8e18f3845..26efd8c029e9ad01f8966ddd687ed31f3c4a2b49 100644 --- a/tests/test_entity_versioning.sql +++ b/tests/test_entity_versioning.sql @@ -143,6 +143,9 @@ SELECT tap.eq(count(*), 1, "after updateEntity, one entity in archive_entities") FROM archive_entities; +-- TEST get_version_history +CALL get_version_history(@EntityID); + -- TEST retrieveEntity SELECT version INTO @x FROM entity_version