#!/bin/sh prefix=@prefix@ # Include utilities. Use installed version if available and # use build version if it isn't. if [ -e @datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh ]; then . @datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh else . @abs_top_builddir@/src/bin/admin/admin-utils.sh fi VERSION=`mysql_version "$@"` if [ "$VERSION" != "8.1" ]; then printf "This script upgrades 8.1 to 8.2. Reported version is $VERSION. Skipping upgrade.\n" exit 0 fi mysql "$@" <