Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
30a59d34
Commit
30a59d34
authored
Oct 30, 2002
by
vva@genie.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addition correction for 'help' command
parent
1c0f1712
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
include/mysqld_error.h
include/mysqld_error.h
+1
-1
libmysqld/Makefile.am
libmysqld/Makefile.am
+1
-1
sql/sql_help.cc
sql/sql_help.cc
+6
-6
sql/sql_yacc.yy
sql/sql_yacc.yy
+1
-1
No files found.
include/mysqld_error.h
View file @
30a59d34
...
@@ -259,4 +259,4 @@
...
@@ -259,4 +259,4 @@
#define ER_SUBSELECT_NO_1_ROW 1240
#define ER_SUBSELECT_NO_1_ROW 1240
#define ER_UNKNOWN_STMT_HANDLER 1241
#define ER_UNKNOWN_STMT_HANDLER 1241
#define ER_CORRUPT_HELP_DB 1242
#define ER_CORRUPT_HELP_DB 1242
#define ER_ERROR_MESSAGES 24
2
#define ER_ERROR_MESSAGES 24
3
libmysqld/Makefile.am
View file @
30a59d34
...
@@ -56,7 +56,7 @@ sqlsources = convert.cc derror.cc field.cc field_conv.cc filesort.cc \
...
@@ -56,7 +56,7 @@ sqlsources = convert.cc derror.cc field.cc field_conv.cc filesort.cc \
sql_string.cc sql_table.cc sql_test.cc sql_udf.cc
\
sql_string.cc sql_table.cc sql_test.cc sql_udf.cc
\
sql_update.cc sql_yacc.cc table.cc thr_malloc.cc time.cc
\
sql_update.cc sql_yacc.cc table.cc thr_malloc.cc time.cc
\
unireg.cc uniques.cc stacktrace.c sql_union.cc hash_filo.cc
\
unireg.cc uniques.cc stacktrace.c sql_union.cc hash_filo.cc
\
spatial.cc gstream.cc
spatial.cc gstream.cc
sql_help.cc
EXTRA_DIST
=
lib_vio.c
EXTRA_DIST
=
lib_vio.c
...
...
sql/sql_help.cc
View file @
30a59d34
...
@@ -361,8 +361,8 @@ int mysqld_help (THD *thd, const char *mask)
...
@@ -361,8 +361,8 @@ int mysqld_help (THD *thd, const char *mask)
}
}
else
if
(
count
==
1
)
else
if
(
count
==
1
)
{
{
if
(
res
=
get_all_names_for_category
(
thd
,
file_leafs
,
if
(
(
res
=
get_all_names_for_category
(
thd
,
file_leafs
,
category_id
,
&
function_list
))
category_id
,
&
function_list
))
)
goto
end
;
goto
end
;
List_iterator
<
String
>
it
(
function_list
);
List_iterator
<
String
>
it
(
function_list
);
String
*
cur_leaf
,
example
;
String
*
cur_leaf
,
example
;
...
@@ -371,8 +371,8 @@ int mysqld_help (THD *thd, const char *mask)
...
@@ -371,8 +371,8 @@ int mysqld_help (THD *thd, const char *mask)
example
.
append
(
*
cur_leaf
);
example
.
append
(
*
cur_leaf
);
example
.
append
(
"
\n
"
,
1
);
example
.
append
(
"
\n
"
,
1
);
}
}
if
(
res
=
send_answer_1
(
thd
,
categories_list
.
head
()
->
ptr
(),
if
(
(
res
=
send_answer_1
(
thd
,
categories_list
.
head
()
->
ptr
(),
"Y"
,
""
,
example
.
ptr
()))
"Y"
,
""
,
example
.
ptr
()))
)
goto
end
;
goto
end
;
}
}
else
else
...
@@ -387,8 +387,8 @@ int mysqld_help (THD *thd, const char *mask)
...
@@ -387,8 +387,8 @@ int mysqld_help (THD *thd, const char *mask)
}
}
else
if
(
count
==
1
)
else
if
(
count
==
1
)
{
{
if
(
res
=
send_answer_1
(
thd
,
name
->
ptr
(),
"N"
,
if
(
(
res
=
send_answer_1
(
thd
,
name
->
ptr
(),
"N"
,
description
->
ptr
(),
example
->
ptr
()))
description
->
ptr
(),
example
->
ptr
()))
)
goto
end
;
goto
end
;
}
}
else
if
((
res
=
send_header_2
(
thd
))
||
else
if
((
res
=
send_header_2
(
thd
))
||
...
...
sql/sql_yacc.yy
View file @
30a59d34
...
@@ -712,7 +712,7 @@ help:
...
@@ -712,7 +712,7 @@ help:
LEX *lex= Lex;
LEX *lex= Lex;
lex->sql_command= SQLCOM_HELP;
lex->sql_command= SQLCOM_HELP;
lex->help_arg= $2.str;
lex->help_arg= $2.str;
}
}
;
/* change master */
/* change master */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment