Skip to content

Commit

Permalink
upgrade to do all tables, not just system tables
Browse files Browse the repository at this point in the history
  • Loading branch information
grooverdan committed Feb 23, 2024
1 parent 8046f52 commit 28f5ac6
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion 10.11/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ EOSQL
fi

mysql_note "Starting mariadb-upgrade"
mariadb-upgrade --upgrade-system-tables
mariadb-upgrade
mysql_note "Finished mariadb-upgrade"

mysql_note "Stopping temporary server"
Expand Down
2 changes: 1 addition & 1 deletion 10.4/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ EOSQL
fi

mysql_note "Starting mariadb-upgrade"
mysql_upgrade --upgrade-system-tables
mysql_upgrade
mysql_note "Finished mariadb-upgrade"

mysql_note "Stopping temporary server"
Expand Down
2 changes: 1 addition & 1 deletion 10.5/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ EOSQL
fi

mysql_note "Starting mariadb-upgrade"
mysql_upgrade --upgrade-system-tables
mysql_upgrade
mysql_note "Finished mariadb-upgrade"

mysql_note "Stopping temporary server"
Expand Down
2 changes: 1 addition & 1 deletion 10.6/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ EOSQL
fi

mysql_note "Starting mariadb-upgrade"
mariadb-upgrade --upgrade-system-tables
mariadb-upgrade
mysql_note "Finished mariadb-upgrade"

mysql_note "Stopping temporary server"
Expand Down
2 changes: 1 addition & 1 deletion 11.0/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ EOSQL
fi

mysql_note "Starting mariadb-upgrade"
mariadb-upgrade --upgrade-system-tables
mariadb-upgrade
mysql_note "Finished mariadb-upgrade"

mysql_note "Stopping temporary server"
Expand Down
2 changes: 1 addition & 1 deletion 11.1/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ EOSQL
fi

mysql_note "Starting mariadb-upgrade"
mariadb-upgrade --upgrade-system-tables
mariadb-upgrade
mysql_note "Finished mariadb-upgrade"

mysql_note "Stopping temporary server"
Expand Down
2 changes: 1 addition & 1 deletion 11.2/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ EOSQL
fi

mysql_note "Starting mariadb-upgrade"
mariadb-upgrade --upgrade-system-tables
mariadb-upgrade
mysql_note "Finished mariadb-upgrade"

mysql_note "Stopping temporary server"
Expand Down
2 changes: 1 addition & 1 deletion 11.3/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ EOSQL
fi

mysql_note "Starting mariadb-upgrade"
mariadb-upgrade --upgrade-system-tables
mariadb-upgrade
mysql_note "Finished mariadb-upgrade"

mysql_note "Stopping temporary server"
Expand Down
2 changes: 1 addition & 1 deletion 11.4/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ EOSQL
fi

mysql_note "Starting mariadb-upgrade"
mariadb-upgrade --upgrade-system-tables
mariadb-upgrade
mysql_note "Finished mariadb-upgrade"

mysql_note "Stopping temporary server"
Expand Down
2 changes: 1 addition & 1 deletion 11.5/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ EOSQL
fi

mysql_note "Starting mariadb-upgrade"
mariadb-upgrade --upgrade-system-tables
mariadb-upgrade
mysql_note "Finished mariadb-upgrade"

mysql_note "Stopping temporary server"
Expand Down
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ EOSQL
fi

mysql_note "Starting mariadb-upgrade"
mysql_upgrade --upgrade-system-tables
mysql_upgrade
mysql_note "Finished mariadb-upgrade"

mysql_note "Stopping temporary server"
Expand Down
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ update_version()
*)
sed -i -e '/^CMD/s/mysqld/mariadbd/' \
-e '/backwards compat/d' "$version/Dockerfile"
sed -i -e 's/mysql_upgrade\([^_]\)/mariadb-upgrade\1/' \
sed -i -e 's/\([\t (]\)mysql_upgrade/\1mariadb-upgrade/' \
-e 's/mysqldump/mariadb-dump/' \
-e 's/mysqladmin/mariadb-admin/' \
-e 's/\bmysql --protocol\b/mariadb --protocol/' \
Expand Down

0 comments on commit 28f5ac6

Please sign in to comment.