Hello community,

here is the log from the commit of package mariadb for openSUSE:Factory checked 
in at 2020-03-01 21:25:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mariadb (Old)
 and      /work/SRC/openSUSE:Factory/.mariadb.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mariadb"

Sun Mar  1 21:25:58 2020 rev:92 rq:779332 version:10.4.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes  2020-02-25 
16:00:51.299987931 +0100
+++ /work/SRC/openSUSE:Factory/.mariadb.new.26092/mariadb.changes       
2020-03-01 21:25:59.368309721 +0100
@@ -1,0 +2,13 @@
+Tue Feb 25 19:40:40 UTC 2020 - Andreas Schwab <[email protected]>
+
+- Bump disk constraint to 18Gb
+
+-------------------------------------------------------------------
+Tue Feb 25 17:17:57 UTC 2020 - [email protected]
+
+- test macros: clarify who is admin and user of the database,
+  fix build with 10.4
+- modified sources
+  % macros.mariadb-test
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.AyOTpx/_old  2020-03-01 21:26:01.060313158 +0100
+++ /var/tmp/diff_new_pack.AyOTpx/_new  2020-03-01 21:26:01.060313158 +0100
@@ -19,7 +19,7 @@
     <conditions/>
     <hardware>
       <disk>
-        <size unit="G">13</size>
+        <size unit="G">18</size>
       </disk>
       <memory>
         <size unit="G">8</size>

++++++ macros.mariadb-test ++++++
--- /var/tmp/diff_new_pack.AyOTpx/_old  2020-03-01 21:26:01.076313191 +0100
+++ /var/tmp/diff_new_pack.AyOTpx/_new  2020-03-01 21:26:01.076313191 +0100
@@ -1,17 +1,16 @@
 %__mysql_test_run_dir  /tmp/mysql
-%__mysql_test_user     abuild
-%__mysql_test_pass     abuildpw
+%__mysql_test_user     dbuser
+%__mysql_test_pass     dbuserpass
 %__mysql_test_cconf    abuild-myclient.cnf
 %__mysql_test_port     63306
 
 #
 # macro: mysql_testserver_start -- start a test mysqld instance
 #
-#        usage: %mysql_test_start -u <user> -p <password> -t <port>
+#        usage: %mysql_test_start -u <dbuser> -p <dbpassword> -t <port>
 #
 
 %mysql_testserver_start(u:p:t:) \
-exit 0 \
 TEST_RUN_DIR=%{__mysql_test_run_dir} \
 TEST_USER="%{-u:%{-u*}}" \
 if [ -z "$TEST_USER" ]; then \
@@ -34,7 +33,7 @@
 socket = $TEST_RUN_DIR/mysql.sock \
 port   = $TEST_PORT \
 [mysqld] \
-user             = $TEST_USER \
+user             = abuild \
 log-error        = $TEST_RUN_DIR/mysqld.log \
 secure_file_priv = $TEST_RUN_DIR/datadir-private \
 datadir          = $TEST_RUN_DIR/datadir \
@@ -51,12 +50,15 @@
 /usr/sbin/mysqld --defaults-file=$TEST_RUN_DIR/my.cnf& \
 sleep 2 \
 \
-echo '>>> Creating authentication database' \
-mysqladmin       --defaults-file=$TEST_RUN_DIR/my.cnf --user root password 
'roots_secret' \
-mysqladmin       --defaults-file=$TEST_RUN_DIR/my.cnf --user root 
--password='roots_secret' create testhat \
-mysql --defaults-file=$TEST_RUN_DIR/my.cnf --user root 
--password='roots_secret' -e "CREATE USER '$TEST_USER'@'localhost' IDENTIFIED 
BY '$TEST_PASS'" \
-mysql --defaults-file=$TEST_RUN_DIR/my.cnf --user root 
--password='roots_secret' -e "GRANT ALL PRIVILEGES ON * . * TO 
'$TEST_USER'@'localhost'" \
-mysql --defaults-file=$TEST_RUN_DIR/my.cnf --user root 
--password='roots_secret' -e "FLUSH PRIVILEGES" \
+echo '>>> Creating authentication database (credentials: $TEST_USER, 
$TEST_PASS)' \
+mysqladmin       --defaults-file=$TEST_RUN_DIR/my.cnf --user=abuild password 
abuildpw \
+mysqladmin       --defaults-file=$TEST_RUN_DIR/my.cnf --user=abuild 
--password=abuildpw create testhat \
+cat << EOF > $TEST_RUN_DIR/create_auth.sql \
+CREATE USER '$TEST_USER'@'localhost' IDENTIFIED BY '$TEST_PASS'; \
+GRANT ALL PRIVILEGES ON * . * TO '$TEST_USER'@'localhost'; \
+FLUSH PRIVILEGES; \
+EOF\
+mysql       --defaults-file=$TEST_RUN_DIR/my.cnf --user=abuild 
--password=abuildpw < $TEST_RUN_DIR/create_auth.sql \
 %nil
 
 #
@@ -95,6 +97,6 @@
 cat << EOF > $TEST_RUN_DIR/shutdown.sql \
 SHUTDOWN; \
 EOF\
-mysql       --defaults-file=$TEST_RUN_DIR/my.cnf --user root 
--password='roots_secret' < $TEST_RUN_DIR/shutdown.sql \
+mysql       --defaults-file=$TEST_RUN_DIR/my.cnf --user=abuild 
--password=abuildpw < $TEST_RUN_DIR/shutdown.sql \
 %nil
 



Reply via email to