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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
16a751cc
Commit
16a751cc
authored
Apr 29, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fix.
parent
3f253296
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
32 deletions
+1
-32
client/mysql.cc
client/mysql.cc
+1
-32
No files found.
client/mysql.cc
View file @
16a751cc
...
@@ -1568,7 +1568,7 @@ com_help(String *buffer __attribute__((unused)),
...
@@ -1568,7 +1568,7 @@ com_help(String *buffer __attribute__((unused)),
for
(
i
=
0
;
commands
[
i
].
name
;
i
++
)
for
(
i
=
0
;
commands
[
i
].
name
;
i
++
)
{
{
if
(
commands
[
i
].
func
)
if
(
commands
[
i
].
func
)
tee_fprintf
(
stdout
,
"%-10s
(
\\
%c)
\t
%s
\n
"
,
commands
[
i
].
name
,
tee_fprintf
(
stdout
,
"%s
\t
(
\\
%c)
\t
%s
\n
"
,
commands
[
i
].
name
,
commands
[
i
].
cmd_char
,
commands
[
i
].
doc
);
commands
[
i
].
cmd_char
,
commands
[
i
].
doc
);
}
}
}
}
...
@@ -2380,37 +2380,6 @@ static int com_source(String *buffer, char *line)
...
@@ -2380,37 +2380,6 @@ static int com_source(String *buffer, char *line)
return
error
;
return
error
;
}
}
/* ARGSUSED */
static
int
com_delimiter
(
String
*
buffer
__attribute__
((
unused
)),
char
*
line
)
{
char
*
tmp
;
char
buff
[
256
];
if
(
strlen
(
line
)
>
255
)
{
put_info
(
"'DELIMITER' command was too long."
,
INFO_ERROR
);
return
0
;
}
bzero
(
buff
,
sizeof
(
buff
));
strmov
(
buff
,
line
);
tmp
=
get_arg
(
buff
,
0
);
if
(
!
tmp
||
!*
tmp
)
{
put_info
(
"DELIMITER must be followed by a 'delimiter' char"
,
INFO_ERROR
);
return
0
;
}
if
(
strlen
(
tmp
)
>
1
)
{
put_info
(
"Argument must be one char"
,
INFO_ERROR
);
return
0
;
}
delimiter
=
*
tmp
;
return
0
;
}
/* ARGSUSED */
/* ARGSUSED */
static
int
static
int
...
...
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