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
07f78e03
Commit
07f78e03
authored
Nov 20, 2000
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge narttu:/my/bk/mysql into prima.mysql.com:/home/my/bk/mysql
parents
c678a231
68e47173
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
client/mysql.cc
client/mysql.cc
+12
-12
No files found.
client/mysql.cc
View file @
07f78e03
...
...
@@ -109,7 +109,7 @@ static HashTable ht;
enum
enum_info_type
{
INFO_INFO
,
INFO_ERROR
,
INFO_RESULT
};
typedef
enum
enum_info_type
INFO_TYPE
;
const
char
*
VER
=
"11.
4
"
;
const
char
*
VER
=
"11.
5
"
;
static
MYSQL
mysql
;
/* The connection */
static
bool
info_flag
=
0
,
ignore_errors
=
0
,
wait_flag
=
0
,
quick
=
0
,
...
...
@@ -763,16 +763,6 @@ static int read_lines(bool execute_commands)
status
.
query_start_line
=
line_number
;
}
else
#ifdef __WIN__
{
tee_fprintf
(
stdout
,
glob_buffer
.
is_empty
()
?
"mysql> "
:
!
in_string
?
" -> "
:
in_string
==
'\''
?
" '> "
:
"
\"
> "
);
linebuffer
[
0
]
=
(
char
)
sizeof
(
linebuffer
);
line
=
_cgets
(
linebuffer
);
}
#else
{
if
(
opt_outfile
)
{
...
...
@@ -783,14 +773,24 @@ static int read_lines(bool execute_commands)
in_string
==
'\''
?
" '> "
:
"
\"
> "
,
OUTFILE
);
}
#ifdef __WIN__
tee_fprintf
(
stdout
,
glob_buffer
.
is_empty
()
?
"mysql> "
:
!
in_string
?
" -> "
:
in_string
==
'\''
?
" '> "
:
"
\"
> "
);
linebuffer
[
0
]
=
(
char
)
sizeof
(
linebuffer
);
line
=
_cgets
(
linebuffer
);
if
(
opt_outfile
)
fprintf
(
OUTFILE
,
"%s
\n
"
,
line
);
#else
line
=
readline
((
char
*
)
(
glob_buffer
.
is_empty
()
?
"mysql> "
:
!
in_string
?
" -> "
:
in_string
==
'\''
?
" '> "
:
"
\"
> "
));
if
(
opt_outfile
)
fprintf
(
OUTFILE
,
"%s
\n
"
,
line
);
}
#endif
}
if
(
!
line
)
// End of file
{
status
.
exit_status
=
0
;
...
...
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