[MXS-1419] maxadmin history is missing Created: 2017-09-15  Updated: 2018-05-02  Resolved: 2018-05-02

Status: Closed
Project: MariaDB MaxScale
Component/s: maxadmin
Affects Version/s: 2.1.7
Fix Version/s: 2.1.17

Type: Bug Priority: Major
Reporter: Oli Sennhauser Assignee: Timofey Turenko
Resolution: Fixed Votes: 1
Labels: None

Issue Links:
Relates
relates to MXS-284 using command history in maxadmin doe... Closed
Sprint: MXS-SPRINT-56

 Description   

I am really missing the command history (arrow up/down) in maxadmin as we have it in mysql, mysqlsh or bash)



 Comments   
Comment by markus makela [ 2017-09-15 ]

This would appear to be a regression of MXS-284.

Comment by Oli Sennhauser [ 2017-09-15 ]

ldd ./maxscale/bin/maxadmin
linux-vdso.so.1 => (0x00007fff7cbce000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fdb2d57d000)
/lib64/ld-linux-x86-64.so.2 (0x00007fdb2d947000)

Comment by Oli Sennhauser [ 2017-09-15 ]

I just found that I installed a maxscale for an old Ubuntu (14.04) instead of new 16.04. Just consider this when you cannot reproduce the problem. If so I will try again with newer version.

./bin/maxscale --version-full
MaxScale 2.1.7 - db51d94b76ddf0fb8cc47076d444ea56fd28bcdd
Source: maxscale-2.1.7-tt3
CMake flags: -DBUILD_TESTS=N -DBUILD_MMMON=Y -DBUILD_CDC=Y -DPACKAGE=Y -DDISTRIB_SUFFIX=ubuntu.trusty
Jenkins build: jenkins-build-13758

cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

Comment by Timofey Turenko [ 2018-04-30 ]

confirmed with Xenial and Maxscale 2.1.16 and latest 2.2 build.
trying to add libedity-dev iunstallation to build process

Comment by Timofey Turenko [ 2018-04-30 ]

fix works at least for Xenial, starting build_all to check if it breaks any build

Generated at Thu Feb 08 04:06:36 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.