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
f7527b78
Commit
f7527b78
authored
Dec 20, 2007
by
df@pippilotta.erinye.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#33057 mysql command line client slows down and uses 100% CPU when restoring dump
parent
7bd4ac4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
client/mysql.cc
client/mysql.cc
+1
-3
No files found.
client/mysql.cc
View file @
f7527b78
...
...
@@ -1272,9 +1272,7 @@ static bool add_line(String &buffer,char *line,char *in_string,
if
(
status
.
add_to_history
&&
line
[
0
]
&&
not_in_history
(
line
))
add_history
(
line
);
#endif
#ifdef USE_MB
char
*
end_of_line
=
line
+
(
uint
)
strlen
(
line
);
#endif
for
(
pos
=
out
=
line
;
(
inchar
=
(
uchar
)
*
pos
)
;
pos
++
)
{
...
...
@@ -1364,7 +1362,7 @@ static bool add_line(String &buffer,char *line,char *in_string,
}
}
else
if
(
!*
ml_comment
&&
!*
in_string
&&
strlen
(
pos
)
>=
10
&&
(
end_of_line
-
pos
)
>=
10
&&
!
my_strnncoll
(
charset_info
,
(
uchar
*
)
pos
,
10
,
(
const
uchar
*
)
"delimiter "
,
10
))
{
...
...
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