mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
mysql.cc:
Fix up mysql help messages. client/mysql.cc: Fix up mysql help messages.
This commit is contained in:
@@ -1677,7 +1677,7 @@ static int com_server_help(String *buffer __attribute__((unused)),
|
|||||||
if (num_fields == 2)
|
if (num_fields == 2)
|
||||||
{
|
{
|
||||||
put_info("Many help items for your request exist.", INFO_INFO);
|
put_info("Many help items for your request exist.", INFO_INFO);
|
||||||
put_info("To make a more specific request, please type 'help <item>',\nwhere item is one of the following", INFO_INFO);
|
put_info("To make a more specific request, please type 'help <item>',\nwhere <item> is one of the following", INFO_INFO);
|
||||||
num_name= 0;
|
num_name= 0;
|
||||||
num_cat= 1;
|
num_cat= 1;
|
||||||
last_char= '_';
|
last_char= '_';
|
||||||
@@ -1685,7 +1685,7 @@ static int com_server_help(String *buffer __attribute__((unused)),
|
|||||||
else if ((cur= mysql_fetch_row(result)))
|
else if ((cur= mysql_fetch_row(result)))
|
||||||
{
|
{
|
||||||
tee_fprintf(PAGER, "You asked for help about help category: \"%s\"\n", cur[0]);
|
tee_fprintf(PAGER, "You asked for help about help category: \"%s\"\n", cur[0]);
|
||||||
put_info("For more information, type 'help <item>', where item is one of the following", INFO_INFO);
|
put_info("For more information, type 'help <item>', where <item> is one of the following", INFO_INFO);
|
||||||
num_name= 1;
|
num_name= 1;
|
||||||
num_cat= 2;
|
num_cat= 2;
|
||||||
print_help_item(&cur,1,2,&last_char);
|
print_help_item(&cur,1,2,&last_char);
|
||||||
|
Reference in New Issue
Block a user