[MDEV-8837] MariaDB-client-10.0.21-1.el7.centos.x86_64 - auto-rehash has no effect? Created: 2015-09-23  Updated: 2023-11-28

Status: Confirmed
Project: MariaDB Server
Component/s: Platform RedHat
Affects Version/s: 10.0.21, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11
Fix Version/s: 10.4, 10.5, 10.6, 10.11

Type: Bug Priority: Minor
Reporter: none now Assignee: Oleksandr Byelkin
Resolution: Unresolved Votes: 0
Labels: None
Environment:

rhel7 and derrivatives



 Description   

$ mysql -p --auto-rehash
MariaDB [(none)]> #
MariaDB [(none)]> cre

no autocompletion?



 Comments   
Comment by Elena Stepanova [ 2015-09-23 ]

It has to do with the packages being built without readline, assigning to serg who knows and can explain why it is so.

Comment by none now [ 2016-01-13 ]

a few revisions later, still no auto completion ?
b.w.

Comment by none now [ 2016-01-14 ]

is version MariaDB-client-10.0.23-1.el7.centos.x86_64 supposed to be working? Because it's not.

an update - apologies, seems like a weird, momentary delay and now it is working.
I wonder though. Why only
> show DAT would be completed but not > show dat
?

Comment by Elena Stepanova [ 2023-01-22 ]

Much too late, I've just noticed that the reporter initially attempted to use rehashing while the default database was not set. As documented both in MariaDB KB and MySQL manual, completion does not occur in this case, even though it doesn't seem to be very reasonable when the completion relates to commands, not names.

What for the last comment, I can reproduce the case dependency on 10.3 and 10.10 and I have no obvious explanation to it (can't see anything about it in documentation), so I'm setting it to "Confirmed" for that part.

Generated at Thu Feb 08 07:30:10 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.