Revert "MDEV-29347: sql-mode=ONLY_FULL_GROUP_BY work around for tzinfo"
This reverts commit fab7f4020790b233c03cb0ab0b0c9fd5483d66c5 as upstream bug MDEV-29347 is fixed.
This commit is contained in:
parent
5f39e93d90
commit
3e162d0c38
@ -273,11 +273,8 @@ docker_setup_db() {
|
|||||||
# --skip-write-binlog usefully disables binary logging
|
# --skip-write-binlog usefully disables binary logging
|
||||||
# but also outputs LOCK TABLES to improve the IO of
|
# but also outputs LOCK TABLES to improve the IO of
|
||||||
# Aria (MDEV-23326) for 10.4+.
|
# Aria (MDEV-23326) for 10.4+.
|
||||||
{
|
mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo \
|
||||||
# temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity
|
| docker_process_sql --dont-use-mysql-root-password --database=mysql
|
||||||
echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');"
|
|
||||||
mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo
|
|
||||||
} | docker_process_sql --dont-use-mysql-root-password --database=mysql
|
|
||||||
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
||||||
fi
|
fi
|
||||||
# Generate random root password
|
# Generate random root password
|
||||||
|
@ -273,11 +273,8 @@ docker_setup_db() {
|
|||||||
# --skip-write-binlog usefully disables binary logging
|
# --skip-write-binlog usefully disables binary logging
|
||||||
# but also outputs LOCK TABLES to improve the IO of
|
# but also outputs LOCK TABLES to improve the IO of
|
||||||
# Aria (MDEV-23326) for 10.4+.
|
# Aria (MDEV-23326) for 10.4+.
|
||||||
{
|
mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo \
|
||||||
# temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity
|
| docker_process_sql --dont-use-mysql-root-password --database=mysql
|
||||||
echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');"
|
|
||||||
mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo
|
|
||||||
} | docker_process_sql --dont-use-mysql-root-password --database=mysql
|
|
||||||
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
||||||
fi
|
fi
|
||||||
# Generate random root password
|
# Generate random root password
|
||||||
|
@ -273,11 +273,8 @@ docker_setup_db() {
|
|||||||
# --skip-write-binlog usefully disables binary logging
|
# --skip-write-binlog usefully disables binary logging
|
||||||
# but also outputs LOCK TABLES to improve the IO of
|
# but also outputs LOCK TABLES to improve the IO of
|
||||||
# Aria (MDEV-23326) for 10.4+.
|
# Aria (MDEV-23326) for 10.4+.
|
||||||
{
|
mysql_tzinfo_to_sql --skip-write-binlog /usr/share/zoneinfo \
|
||||||
# temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity
|
| docker_process_sql --dont-use-mysql-root-password --database=mysql
|
||||||
echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');"
|
|
||||||
mysql_tzinfo_to_sql --skip-write-binlog /usr/share/zoneinfo
|
|
||||||
} | docker_process_sql --dont-use-mysql-root-password --database=mysql
|
|
||||||
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
||||||
fi
|
fi
|
||||||
# Generate random root password
|
# Generate random root password
|
||||||
|
@ -273,11 +273,8 @@ docker_setup_db() {
|
|||||||
# --skip-write-binlog usefully disables binary logging
|
# --skip-write-binlog usefully disables binary logging
|
||||||
# but also outputs LOCK TABLES to improve the IO of
|
# but also outputs LOCK TABLES to improve the IO of
|
||||||
# Aria (MDEV-23326) for 10.4+.
|
# Aria (MDEV-23326) for 10.4+.
|
||||||
{
|
mysql_tzinfo_to_sql --skip-write-binlog /usr/share/zoneinfo \
|
||||||
# temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity
|
| docker_process_sql --dont-use-mysql-root-password --database=mysql
|
||||||
echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');"
|
|
||||||
mysql_tzinfo_to_sql --skip-write-binlog /usr/share/zoneinfo
|
|
||||||
} | docker_process_sql --dont-use-mysql-root-password --database=mysql
|
|
||||||
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
||||||
fi
|
fi
|
||||||
# Generate random root password
|
# Generate random root password
|
||||||
|
@ -273,11 +273,8 @@ docker_setup_db() {
|
|||||||
# --skip-write-binlog usefully disables binary logging
|
# --skip-write-binlog usefully disables binary logging
|
||||||
# but also outputs LOCK TABLES to improve the IO of
|
# but also outputs LOCK TABLES to improve the IO of
|
||||||
# Aria (MDEV-23326) for 10.4+.
|
# Aria (MDEV-23326) for 10.4+.
|
||||||
{
|
mysql_tzinfo_to_sql --skip-write-binlog /usr/share/zoneinfo \
|
||||||
# temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity
|
| docker_process_sql --dont-use-mysql-root-password --database=mysql
|
||||||
echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');"
|
|
||||||
mysql_tzinfo_to_sql --skip-write-binlog /usr/share/zoneinfo
|
|
||||||
} | docker_process_sql --dont-use-mysql-root-password --database=mysql
|
|
||||||
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
||||||
fi
|
fi
|
||||||
# Generate random root password
|
# Generate random root password
|
||||||
|
@ -273,11 +273,8 @@ docker_setup_db() {
|
|||||||
# --skip-write-binlog usefully disables binary logging
|
# --skip-write-binlog usefully disables binary logging
|
||||||
# but also outputs LOCK TABLES to improve the IO of
|
# but also outputs LOCK TABLES to improve the IO of
|
||||||
# Aria (MDEV-23326) for 10.4+.
|
# Aria (MDEV-23326) for 10.4+.
|
||||||
{
|
mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo \
|
||||||
# temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity
|
| docker_process_sql --dont-use-mysql-root-password --database=mysql
|
||||||
echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');"
|
|
||||||
mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo
|
|
||||||
} | docker_process_sql --dont-use-mysql-root-password --database=mysql
|
|
||||||
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
||||||
fi
|
fi
|
||||||
# Generate random root password
|
# Generate random root password
|
||||||
|
@ -273,11 +273,8 @@ docker_setup_db() {
|
|||||||
# --skip-write-binlog usefully disables binary logging
|
# --skip-write-binlog usefully disables binary logging
|
||||||
# but also outputs LOCK TABLES to improve the IO of
|
# but also outputs LOCK TABLES to improve the IO of
|
||||||
# Aria (MDEV-23326) for 10.4+.
|
# Aria (MDEV-23326) for 10.4+.
|
||||||
{
|
mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo \
|
||||||
# temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity
|
| docker_process_sql --dont-use-mysql-root-password --database=mysql
|
||||||
echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');"
|
|
||||||
mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo
|
|
||||||
} | docker_process_sql --dont-use-mysql-root-password --database=mysql
|
|
||||||
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
||||||
fi
|
fi
|
||||||
# Generate random root password
|
# Generate random root password
|
||||||
|
@ -273,11 +273,8 @@ docker_setup_db() {
|
|||||||
# --skip-write-binlog usefully disables binary logging
|
# --skip-write-binlog usefully disables binary logging
|
||||||
# but also outputs LOCK TABLES to improve the IO of
|
# but also outputs LOCK TABLES to improve the IO of
|
||||||
# Aria (MDEV-23326) for 10.4+.
|
# Aria (MDEV-23326) for 10.4+.
|
||||||
{
|
mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo \
|
||||||
# temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity
|
| docker_process_sql --dont-use-mysql-root-password --database=mysql
|
||||||
echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');"
|
|
||||||
mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo
|
|
||||||
} | docker_process_sql --dont-use-mysql-root-password --database=mysql
|
|
||||||
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
||||||
fi
|
fi
|
||||||
# Generate random root password
|
# Generate random root password
|
||||||
|
@ -273,11 +273,8 @@ docker_setup_db() {
|
|||||||
# --skip-write-binlog usefully disables binary logging
|
# --skip-write-binlog usefully disables binary logging
|
||||||
# but also outputs LOCK TABLES to improve the IO of
|
# but also outputs LOCK TABLES to improve the IO of
|
||||||
# Aria (MDEV-23326) for 10.4+.
|
# Aria (MDEV-23326) for 10.4+.
|
||||||
{
|
mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo \
|
||||||
# temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity
|
| docker_process_sql --dont-use-mysql-root-password --database=mysql
|
||||||
echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');"
|
|
||||||
mariadb-tzinfo-to-sql --skip-write-binlog /usr/share/zoneinfo
|
|
||||||
} | docker_process_sql --dont-use-mysql-root-password --database=mysql
|
|
||||||
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
||||||
fi
|
fi
|
||||||
# Generate random root password
|
# Generate random root password
|
||||||
|
@ -273,11 +273,8 @@ docker_setup_db() {
|
|||||||
# --skip-write-binlog usefully disables binary logging
|
# --skip-write-binlog usefully disables binary logging
|
||||||
# but also outputs LOCK TABLES to improve the IO of
|
# but also outputs LOCK TABLES to improve the IO of
|
||||||
# Aria (MDEV-23326) for 10.4+.
|
# Aria (MDEV-23326) for 10.4+.
|
||||||
{
|
mysql_tzinfo_to_sql --skip-write-binlog /usr/share/zoneinfo \
|
||||||
# temporary fix for MDEV-29347 - ONLY_FULL_GROUP_BY incompatiblity
|
| docker_process_sql --dont-use-mysql-root-password --database=mysql
|
||||||
echo "SET @@SQL_MODE = REPLACE(@@SQL_MODE, 'ONLY_FULL_GROUP_BY', '');"
|
|
||||||
mysql_tzinfo_to_sql --skip-write-binlog /usr/share/zoneinfo
|
|
||||||
} | docker_process_sql --dont-use-mysql-root-password --database=mysql
|
|
||||||
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
# tell docker_process_sql to not use MYSQL_ROOT_PASSWORD since it is not set yet
|
||||||
fi
|
fi
|
||||||
# Generate random root password
|
# Generate random root password
|
||||||
|
Loading…
x
Reference in New Issue
Block a user