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
c7041303
Commit
c7041303
authored
Oct 28, 2005
by
tim@siva.hindu.god
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#14358: in mysql.cc, don't neglect to strip delimiter off lines < 9 characters long.
parent
a9b1ff40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
client/mysql.cc
client/mysql.cc
+5
-4
No files found.
client/mysql.cc
View file @
c7041303
...
...
@@ -1133,10 +1133,11 @@ static COMMANDS *find_command(char *name,char cmd_char)
parsing the row and calling find_command()
*/
if
(
strstr
(
name
,
"
\\
g"
)
||
(
strstr
(
name
,
delimiter
)
&&
strlen
(
name
)
>=
9
&&
my_strnncoll
(
charset_info
,(
uchar
*
)
name
,
9
,
(
const
uchar
*
)
"delimiter"
,
9
)))
!
(
strlen
(
name
)
>=
9
&&
!
my_strnncoll
(
charset_info
,
(
uchar
*
)
name
,
9
,
(
const
uchar
*
)
"delimiter"
,
9
))))
DBUG_RETURN
((
COMMANDS
*
)
0
);
if
((
end
=
strcont
(
name
,
"
\t
"
)))
{
...
...
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