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
c5cf7f43
Commit
c5cf7f43
authored
Nov 17, 2000
by
jani@prima.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug in mysql client.
parent
19a9f8f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
client/mysql.cc
client/mysql.cc
+16
-14
No files found.
client/mysql.cc
View file @
c5cf7f43
...
@@ -437,7 +437,7 @@ CHANGEABLE_VAR changeable_vars[] = {
...
@@ -437,7 +437,7 @@ CHANGEABLE_VAR changeable_vars[] = {
static
void
usage
(
int
version
)
static
void
usage
(
int
version
)
{
{
printf
(
"%s Ver 11.
2
Distrib %s, for %s (%s)
\n
"
,
printf
(
"%s Ver 11.
3
Distrib %s, for %s (%s)
\n
"
,
my_progname
,
MYSQL_SERVER_VERSION
,
SYSTEM_TYPE
,
MACHINE_TYPE
);
my_progname
,
MYSQL_SERVER_VERSION
,
SYSTEM_TYPE
,
MACHINE_TYPE
);
if
(
version
)
if
(
version
)
return
;
return
;
...
@@ -764,6 +764,7 @@ static int read_lines(bool execute_commands)
...
@@ -764,6 +764,7 @@ static int read_lines(bool execute_commands)
line
=
_cgets
(
linebuffer
);
line
=
_cgets
(
linebuffer
);
}
}
#else
#else
{
if
(
opt_outfile
)
if
(
opt_outfile
)
{
{
if
(
glob_buffer
.
is_empty
())
if
(
glob_buffer
.
is_empty
())
...
@@ -779,6 +780,7 @@ static int read_lines(bool execute_commands)
...
@@ -779,6 +780,7 @@ static int read_lines(bool execute_commands)
" '> "
:
"
\"
> "
));
" '> "
:
"
\"
> "
));
if
(
opt_outfile
)
if
(
opt_outfile
)
fprintf
(
OUTFILE
,
"%s
\n
"
,
line
);
fprintf
(
OUTFILE
,
"%s
\n
"
,
line
);
}
#endif
#endif
if
(
!
line
)
// End of file
if
(
!
line
)
// End of file
{
{
...
...
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