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
c1bde7d8
Commit
c1bde7d8
authored
Dec 18, 2003
by
jani@rhols221.arenanet.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unneccessary sprintf call and a variable.
parent
2b53eef5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
client/mysqltest.c
client/mysqltest.c
+3
-3
No files found.
client/mysqltest.c
View file @
c1bde7d8
...
...
@@ -2153,7 +2153,7 @@ int run_query(MYSQL* mysql, struct st_query* q, int flags)
DYNAMIC_STRING
*
ds
;
DYNAMIC_STRING
ds_tmp
;
DYNAMIC_STRING
eval_query
;
char
*
query
,
buff
[
MAX_DELIMITER
+
1
]
=
{
0
}
;
char
*
query
;
int
query_len
;
DBUG_ENTER
(
"run_query"
);
...
...
@@ -2188,8 +2188,8 @@ int run_query(MYSQL* mysql, struct st_query* q, int flags)
if
((
flags
&
QUERY_SEND
)
&&
!
disable_query_log
&&
!
counter
)
{
replace_dynstr_append_mem
(
ds
,
query
,
query_len
);
sprintf
(
buff
,
"%s
\n
"
,
delimiter
);
dynstr_append_mem
(
ds
,
buff
,
delimiter_length
+
1
);
dynstr_append_mem
(
ds
,
delimiter
,
delimiter_length
);
dynstr_append_mem
(
ds
,
"
\n
"
,
1
);
}
if
(
!
(
flags
&
QUERY_REAP
))
DBUG_RETURN
(
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