Don't trigger mariadb upgrade dump/restore when not needed
authorJiri Stransky <jistr@redhat.com>
Mon, 22 Aug 2016 16:23:35 +0000 (18:23 +0200)
committerJiri Stransky <jistr@redhat.com>
Mon, 22 Aug 2016 16:29:28 +0000 (18:29 +0200)
commit072404b5693439b728d49d26c2c11ed69172a40d
tree2c1da6376bc9f1a98d5a69ccf753a9efd361fef0
parent6c537d2005b8cb5b25f63722376fca08471987ac
Don't trigger mariadb upgrade dump/restore when not needed

When upgrading from mariadb X.Y.Z to mariadb X.Y.Ž (X.Y part stays the
same), the dump/restore of mariadb shouldn't be necessary. Therefore we
now only check for up to the first 2 fields of the version string when
determining if we should trigger the dump/restore operation.

Closes-Bug: #1615721
Change-Id: Ib7af8bfb121f5c83184d51b3c6dc657108c25973
extraconfig/tasks/major_upgrade_pacemaker_migrations.sh