Skip to content

[Bug] - MariaDB 11.8 client creates .mariadb_histor instead of .mariadb_history #1109

Description

@925dk

Amazon Linux 2023
mariadb118-11.8.8-1.amzn2023.0.1.aarch64
libedit-3.1-38.20210714cvs.amzn2023.0.2

The MariaDB client creates and uses an incorrect history file:

Expected:
~/.mariadb_history

Actual:
~/.mariadb_histor

Evidence:
strace shows:
openat(AT_FDCWD, "/home/mka/.mariadb_histor", O_RDONLY)

Binary contains:
%s/.mariadb_history

This looks like a 1-byte truncation when constructing the history filename.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions