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
dedea59a
Commit
dedea59a
authored
Oct 07, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add comment and remove strange assignment in 'do_exec'
parent
804d2eff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
client/mysqltest.c
client/mysqltest.c
+1
-1
No files found.
client/mysqltest.c
View file @
dedea59a
...
@@ -1498,6 +1498,7 @@ void do_exec(struct st_command *command)
...
@@ -1498,6 +1498,7 @@ void do_exec(struct st_command *command)
DBUG_ENTER
(
"do_exec"
);
DBUG_ENTER
(
"do_exec"
);
DBUG_PRINT
(
"enter"
,
(
"cmd: '%s'"
,
cmd
));
DBUG_PRINT
(
"enter"
,
(
"cmd: '%s'"
,
cmd
));
/* Skip leading space */
while
(
*
cmd
&&
my_isspace
(
charset_info
,
*
cmd
))
while
(
*
cmd
&&
my_isspace
(
charset_info
,
*
cmd
))
cmd
++
;
cmd
++
;
if
(
!*
cmd
)
if
(
!*
cmd
)
...
@@ -1507,7 +1508,6 @@ void do_exec(struct st_command *command)
...
@@ -1507,7 +1508,6 @@ void do_exec(struct st_command *command)
init_dynamic_string
(
&
ds_cmd
,
0
,
command
->
query_len
+
256
,
256
);
init_dynamic_string
(
&
ds_cmd
,
0
,
command
->
query_len
+
256
,
256
);
/* Eval the command, thus replacing all environment variables */
/* Eval the command, thus replacing all environment variables */
do_eval
(
&
ds_cmd
,
cmd
,
command
->
end
,
TRUE
);
do_eval
(
&
ds_cmd
,
cmd
,
command
->
end
,
TRUE
);
cmd
=
ds_cmd
.
str
;
DBUG_PRINT
(
"info"
,
(
"Executing '%s' as '%s'"
,
DBUG_PRINT
(
"info"
,
(
"Executing '%s' as '%s'"
,
command
->
first_argument
,
cmd
));
command
->
first_argument
,
cmd
));
...
...
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