Skip to content

Commit

Permalink
Merge pull request #485 from cybozu-go/mysqlsh-8.0.30
Browse files Browse the repository at this point in the history
Donwgrade mysqlsh to 8.0.30
  • Loading branch information
ymmt2005 authored Dec 8, 2022
2 parents 1a608e1 + 114ceba commit 667f15e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ FROM quay.io/cybozu/mysql:8.0.31.1 as mysql
FROM quay.io/cybozu/ubuntu:20.04
LABEL org.opencontainers.image.source https://github.com/cybozu-go/moco

ARG MYSQLSH_VERSION=8.0.31-1
ARG MYSQLSH_VERSION=8.0.30-1

COPY --from=builder /work/moco-backup /moco-backup

Expand Down
2 changes: 1 addition & 1 deletion e2e/backup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var _ = Context("backup", func() {
kubectlSafe(nil, "moco", "-n", "backup", "mysql", "-u", "moco-writable", "source", "--",
"-e", "CREATE DATABASE test")
kubectlSafe(nil, "moco", "-n", "backup", "mysql", "-u", "moco-writable", "source", "--",
"-D", "test", "-e", "CREATE TABLE t (i INT PRIMARY KEY AUTO_INCREMENT, data TEXT NOT NULL) ENGINE=InnoDB")
"-D", "test", "-e", "CREATE TABLE t (id INT NOT NULL AUTO_INCREMENT, data VARCHAR(32) NOT NULL, PRIMARY KEY (id), KEY key1 (data), KEY key2 (data, id)) ENGINE=InnoDB")
kubectlSafe(nil, "moco", "-n", "backup", "mysql", "-u", "moco-writable", "source", "--",
"-D", "test", "--init_command=SET autocommit=1", "-e", "INSERT INTO t (data) VALUES ('aaa')")
})
Expand Down

0 comments on commit 667f15e

Please sign in to comment.