Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: MariaDB/server
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: MariaDB/server
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bb-10.11-serg
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 18 commits
  • 75 files changed
  • 8 contributors

Commits on Oct 28, 2025

  1. MDEV-37306: buf_zip_decompress() is noisy on all-zero page

    When a page is being requested from buf_page_get_gen() with
    mode=BUF_GET_POSSIBLY_FREED, it is very well possible that the page
    had been marked as freed in the tablespace and had never been written
    back to the tablespace.
    
    buf_page_t::read_complete(): Validate the page identifier before
    invoking buf_zip_decompress(), to avoid noisy messages or debug
    assertion failures on an obviously invalid page.
    
    Reviewed by: Thirunarayanan Balathandayuthapani
    Tested by: Saahil Alam
    dr-m committed Oct 28, 2025
    Configuration menu
    Copy the full SHA
    979ce5f View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2025

  1. MDEV-37558 Multi-batch recovery discards needed doublewrite pages

    Problem:
    =======
    In multi-batch recovery, pages with LSN > recv_sys.scanned_lsn
    are discarded from doublewrite buffer. Later when
    reading a corrupted page from disk, corresponding dblwr page
    is no longer available. This leads to failure of InnoDB recovery.
    
    Solution:
    =========
    In buf_dblwr_t::recover(): Replace recv_sys.scanned_lsn
    with max_lsn when checking if a page's LSN is within
    the recovery range.
    Thirunarayanan committed Oct 29, 2025
    Configuration menu
    Copy the full SHA
    e809982 View commit details
    Browse the repository at this point in the history
  2. Merge 10.6 into 10.11

    dr-m committed Oct 29, 2025
    Configuration menu
    Copy the full SHA
    808851d View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2025

  1. MDEV-37935 : Assertion `0' failed in int wsrep::transaction::before_r…

    …ollback()
    
    Problem was executable comment in REPLACE that caused
    consistency check that is not supported for RSU and
    !InnoDB tables.
    
    Fix is to check is Online Schema Upgrade (OSU) method
    something else than TOI and if it is then table storage
    engine must be InnoDB or error is produced and execution
    returns and no consistency check is done.
    janlindstrom committed Oct 30, 2025
    Configuration menu
    Copy the full SHA
    66aa250 View commit details
    Browse the repository at this point in the history
  2. MDEV-3799 Windows WITH_ZLIB=bundled build errors with hashicorp_key_m…

    …anagement
    
    We compile curl with vcpkg. vcpkg prefers dependencies of the vcpkg
    package to come from vcpkg as well. We break its logic by setting
    and ZLIB_LIBRARY in cmake/zlib.cmake to the static library that we
    compile outselves. This vcpkg check is not critical or needed
    when shared libraries are used.
    
    As a workaround, set CMAKE_DISABLE_FIND_PACKAGE_ZLIB when compiling
    hashicorp_key_management, in this case vcpkg skips the zlib check.
    vaintroub committed Oct 30, 2025
    Configuration menu
    Copy the full SHA
    6fea571 View commit details
    Browse the repository at this point in the history
  3. MDEV-19373 - main.old-mode failed in buildbot with wrong result

    Test output was affected by incompletely closed preceding connections.
    
    Wait for connections to leave I_S.PROCESSLIST before issuing
    SHOW PROCESSLIST.
    svoj committed Oct 30, 2025
    Configuration menu
    Copy the full SHA
    654e844 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2025

  1. MDEV-34117 : Assertion `! thd->in_sub_stmt' failed in bool trans_roll…

    …back_stmt(THD*)
    
    Problem was that user could drop streaming replication table
    when streaming replication was used.
    
    Fixed by not allowing user to drop streaming replication
    table when galera is enabled. When it is not enabled
    super can drop it (as any table in mysql database).
    Added checks for wsrep_trx_fragment_unit and wsrep_trx_fragment_size
    variables so that streaming replication can't be enabled
    when streaming replication table does not exists.
    
    Fixed also bug when user is trying to disable streaming
    replication by wsrep_trx_fragment_size=0 when it was
    not enabled.
    janlindstrom committed Nov 3, 2025
    Configuration menu
    Copy the full SHA
    814787f View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2025

  1. MDEV-37991 : Galera cluster crashes when granting permission to non e…

    …xisting user after setting max_error_count and wsrep_ignore_apply_errors to zero
    
    There was two problems. Firsty, implementation assumed that
    thd->wsrep_rgi is not nullptr, this is not true for TOI.
    Secondly, Sql_condition_iterator was also assumed to be
    not nullptr, this might not be also true.
    
    Fixed by adding nullptr guard for thd->wsrep_rgi and
    if Sql_condition_iterator is nullptr obtain error
    information directly from Diagnostics_area if there
    is some error there.
    janlindstrom committed Nov 4, 2025
    Configuration menu
    Copy the full SHA
    cedb0ed View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2025

  1. bump the VERSION

    dbart committed Nov 6, 2025
    Configuration menu
    Copy the full SHA
    ebd875b View commit details
    Browse the repository at this point in the history
  2. MDEV-38008 - main.grant_kill fails sporadically

    Test output was affected by incompletely closed preceding connections.
    
    Make test agnostic to concurrent connections by querying
    information_schema.processlist only for connections that it uses.
    
    With bead24b all 3 processlist queries were affected.
    Before bead24b - only the first one.
    svoj committed Nov 6, 2025
    Configuration menu
    Copy the full SHA
    911e68c View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2025

  1. Configuration menu
    Copy the full SHA
    536cd15 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2025

  1. MDEV-37920 Out-of-Bounds memory access in File_parser::parse()

    correct the length check.
    remove assertions that a file read from disk contains a specific substring
    vuvova committed Nov 8, 2025
    Configuration menu
    Copy the full SHA
    21a142d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b66f83f View commit details
    Browse the repository at this point in the history
  3. MDEV-37971 CHECK TABLE command can be executed by users with the tabl…

    …e-level CREATE but not with global CREATE
    
    CHECK TABLE was inconsistently requiring SELECT privilege on global/db level
    or any privilege on the table/column level.
    
    Change to require any table-applicable privilege on any level.
    vuvova committed Nov 8, 2025
    Configuration menu
    Copy the full SHA
    050f59d View commit details
    Browse the repository at this point in the history
  4. MDEV-37979 sys.ps_setup_save does not restore SQL_LOG_BIN after error…

    …, causes replication discrepancy
    vuvova committed Nov 8, 2025
    Configuration menu
    Copy the full SHA
    c4a2a27 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2025

  1. MDEV-38001 NULL dereference in Trigger_creation_ctx::create()

    don't trust the content of a file read from disk
    vuvova committed Nov 9, 2025
    Configuration menu
    Copy the full SHA
    57c7474 View commit details
    Browse the repository at this point in the history
  2. MDEV-37998 (Column) CHECK constraints can cause CREATE TABLE (SELECT)…

    … queries to fail
    
    don't copy field default values and check constraints in
    CREATE ... SELECT.
    
    CREATE ... SELECT means a table is created from a *result set*
    not from some other table.
    
    For backward compatibility, though, let's keep copying constant
    default values and the "compressed" attribute.
    vuvova committed Nov 9, 2025
    Configuration menu
    Copy the full SHA
    8aa61e8 View commit details
    Browse the repository at this point in the history
  3. MDEV-38006 Inconsistent behaviors when casting into time

    number-to-time conversion was too eagerly capping the value.
    
    A string "9000090" was invalid time, because of 90 seconds.
    But number-to-time was capping first, validating later,
    to 9000090->time worked. Let's fix it.
    
    also, let's make invalid time values in a string field include
    the field name in the warning message, just like invalid time
    values in a numeric field do.
    vuvova committed Nov 9, 2025
    Configuration menu
    Copy the full SHA
    cd7a2cc View commit details
    Browse the repository at this point in the history
Loading