Bug #20328 mysql client: dumb about trailing spaces on 'help' command
Submitted: 8 Jun 2006 0:33 Modified: 20 Jul 2006 13:27
Reporter: Paul Dubois Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:4.1 and up OS:
Assigned to: Iggy Galarza CPU Architecture:Any

[8 Jun 2006 0:33] Paul Dubois
Description:
The mysql client has a 'help' command, but if you mistakenly
type an extra space at the end of the command, mysql botches
it

How to repeat:
At the mysql> prompt, type "help".  You get normal output
(a list of possible commands).

Then type "help " with a space at the end. You get:

Nothing found
Please try to run 'help contents' for a list of all accessible topics

A similar difference occurs for "help contents" with or without a space
or "help functions" with or without a space.  Without a space: normal
output.  With a space: Nothing found.
[8 Jun 2006 9:47] Valeriy Kravchuk
Thank you for a bug report. Verified just as described (on latest 4.1-BK and 5.0-BK).
[29 Jun 2006 21:05] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/8515
[29 Jun 2006 21:18] Ian Greenhoe
Looks good to me
[20 Jul 2006 13:27] Paul Dubois
Noted in 4.1.21 changelog.

The mysql client did not understand help commands that had spaces atthe end.
[10 Aug 2006 14:55] Chad MILLER
Added to 5.0.25 .
[10 Aug 2006 14:59] Paul Dubois
Noted in 5.0.25 changelog.
[15 Aug 2006 17:39] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/10500

ChangeSet@1.2538, 2006-08-15 13:40:40-04:00, iggy@rolltop.ignatz42.dyndns.org +2 -0
  Bug#20328 - Correction to test/rsult for broken Windows build.
[16 Aug 2006 15:03] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/10552

ChangeSet@1.2255, 2006-08-16 17:03:41+02:00, msvensson@shellback.(none) +4 -0
  Bug#20328 mysql client: dumb about trailing spaces on 'help' command
   Fix testcase to also work on windows
[16 Aug 2006 17:53] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/10561

ChangeSet@1.2538, 2006-08-16 13:55:16-04:00, iggy@rolltop.ignatz42.dyndns.org +2 -0
  Bug#20328 - Correction to test/result for broken Windows build.
[17 Aug 2006 2:43] Iggy Galarza
Available in 5.0.25
[24 Aug 2006 14:26] Iggy Galarza
Available in 4.1.22