1. 08 Apr, 2020 14 commits
  2. 07 Apr, 2020 3 commits
    • Marko Mäkelä's avatar
      0eab87ce
    • Marko Mäkelä's avatar
      MDEV-22169 Recovery fails after failing to insert into mlog_init · 1738c0f1
      Marko Mäkelä authored
      In a multi-batch recovery, we must ensure that INIT_PAGE and
      especially the MDEV-15528 FREE_PAGE records will be taken
      properly into account.
      
      Writing a FREE_PAGE record gives the server permission to omit
      a page write. If recovery insists on applying log to a page
      whose page flush has been omitted, then the consistency checks
      in the application of high-level redo log records (appending
      an undo log record, inserting or deleting an index record)
      will likely fail.
      
      mlog_init_t::add(): Return whether the state was changed.
      
      mlog_init_t::will_avoid_read(): Determine whether a page read
      will be avoided and whether older log records can be safely
      skipped.
      
      recv_sys_t::parse(): Even if store==STORE_NO, process the records
      INIT_PAGE and FREE_PAGE. While processing them, we can delete older
      redo log records for the page. If store!=STORE_NO, we can directly
      skip redo log recods of other types if mlog_init indicates that the
      page will be freed or initialized by at a later LSN.
      
      This fix was developed in cooperation with
      Thirunarayanan Balathandayuthapani.
      1738c0f1
    • Daniel Black's avatar
      MDEV-22010: mtr, "mariadbd" exists in mysys error messages · d848fcad
      Daniel Black authored
      Also executable can change for jemalloc.
      d848fcad
  3. 06 Apr, 2020 5 commits
  4. 05 Apr, 2020 8 commits
  5. 04 Apr, 2020 10 commits
    • Otto Kekäläinen's avatar
      4ac76936
    • Otto Kekäläinen's avatar
      Deb: Build depend on libcurl4-openssl-dev as primary option · b541defe
      Otto Kekäläinen authored
      The package libcurl4-dev is a virtual package, and no package with that
      name actually exists. Depend on libcurl4-openssl-dev as the primary
      option in case no libcurl4-dev providing package has been installed, and
      if some of them (libcurl4-gnutls-dev, libcurl4-nss-dev,
      libcurl4-openssl-dev ) are installed, they also satisfy the dependency
      via the virtual package.
      
      The Travis-CI still runs on libcurl3-dev as Travis-CI also runs Ubuntu
      Xenial which does not yet have libcurl4 available.
      
      This complements commit 2e0a40bd.
      b541defe
    • Otto Kekäläinen's avatar
      MDEV-20298 Make mariadb-client-10.5 perl dep backwards compatible · 6959c092
      Otto Kekäläinen authored
      The package libdbd-mariadb-perl has been available in Debian September
      2018, so it is already included since Debian Buster and Ubuntu Disco.
      
      Use it as the primary Recommends for MariaDB client binaries, but keep
      the MySQL variant as a fall-back in case this package gets backported to
      older releases that did not yet have it.
      
      This change was done in downstream Debian packaging in
      https://salsa.debian.org/mariadb-team/mariadb-10.4/-/commit/bb4ad78bc10a1b52558c4c30600a02e30c4ce0a9
      6959c092
    • Otto Kekäläinen's avatar
      Deb: Update control file Depends to include only variables that are set · 333e1d82
      Otto Kekäläinen authored
      Don't include variables that are empty and unused.
      333e1d82
    • Otto Kekäläinen's avatar
      MDEV-21303: Fix man page packaging for new mariadb-* named binaries · 2cedf3ec
      Otto Kekäläinen authored
      This fixes Lintian errors and warnings:
      
      E: mariadb-client-10.5: manpage-not-compressed usr/share/man/man1/mariadb-analyze.1
      E: mariadb-client-10.5: manpage-not-compressed usr/share/man/man1/mariadb-optimize.1
      E: mariadb-client-10.5: manpage-not-compressed usr/share/man/man1/mariadb-repair.1
      E: mariadb-client-10.5: manpage-not-compressed usr/share/man/man1/mysqlanalyze.1
      E: mariadb-client-10.5: manpage-not-compressed usr/share/man/man1/mysqloptimize.1
      E: mariadb-client-10.5: manpage-not-compressed usr/share/man/man1/mysqlrepair.1
      W: mariadb-client-10.5: binary-without-manpage usr/bin/mariadb-conv
      W: libmariadb-dev: binary-without-manpage usr/bin/mariadb_config
      
      If the binary name is mariadb_config, the manpage needs to be mariadb_config.1.
      
      Also run 'wrap-and-sort -a -v' to get lists in correct order.
      
      In addition, sort .gitignore and remove duplicate lines.
      2cedf3ec
    • Otto Kekäläinen's avatar
      Don't force to use all processors in autobake-deb.sh · 80abfa0e
      Otto Kekäläinen authored
      The dpkg-buildpackage has by default sensible values for --jobs and
      --try-jobs, and it also inherits whatever 'parallel' is set in
      DEB_BUILD_OPTIONS. Overriding it here should not be needed and removing
      it is better, since it allows build systems to control the level or
      parallel builds via DEB_BUILD_OPTIONS if they want, which they often do
      (e.g. to avoid CPU congestion or overheating laptops).
      80abfa0e
    • Otto Kekäläinen's avatar
    • Otto Kekäläinen's avatar
      Deb: Extend control dependencies for MySQL 8.0 and clean up · 91994b6b
      Otto Kekäläinen authored
      Make package have sensible control file relations to mysql-8.0.
      
      Also some cleanup:
      - Remove obsolete versioned control relationships. When the package
        name already has a version older than current package, the extra
        version is obsolete.
      - Remove obsolete postinst script that was empty
      - Remove priority "extra" which is deprecated, use "optional" that
        applies for the whole source package instead.
      91994b6b
    • Otto Kekäläinen's avatar
      Deb: Clean away deprecated autobake modifications · 400d7709
      Otto Kekäläinen authored
      The current debian/control file and other packaging of 10.5 targets the
      latest Debian unstable. In autobake-deb.sh there are automatic build
      adaptations for older Debian/Ubuntu releases.
      
      Some adaptations were for Debian versions prior to Jessie and Ubuntu
      versions prior to Trusty. Those distro releases are no longer supported
      anyway, so these should be cleaned away now in the 10.5 release cycle.
      
      Summary:
      - Debian Jessie has libcrack2 release 2.9.2-1, no need to have adaptations
        for any older environments
      - Debian Jessie has libpcre3-dev release 2:8.35-3.3, no need to consider
        older versions
      - Systemd has been available since Debian Jessie, no need to consider
        that a Debian/Ubuntu environment would not have it available
        adaptations for environments for anything older
      400d7709
    • Elena Stepanova's avatar
      f4691723