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
3d5d366c
Commit
3d5d366c
authored
Jul 04, 2005
by
sergefp@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#9814: post-review fixes: clear thd->net.no_send error after SP instruction
execution, not before.
parent
4a90f7d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sql/sp_head.cc
sql/sp_head.cc
+4
-4
No files found.
sql/sp_head.cc
View file @
3d5d366c
...
...
@@ -642,13 +642,13 @@ sp_head::execute(THD *thd)
items made during other permanent subquery transformations).
*/
thd
->
current_arena
=
i
;
ret
=
i
->
execute
(
thd
,
&
ip
);
/*
no_send_error may have been set by the previous SP instruction when it
se
nt eof. Allow the current SP instruction to produce an error.
(multi-statement execution code clears no_send_error,
too)
If this SP instruction have sent eof, it has caused no_send_error to be
se
t. Clear it back to allow the next instruction to send error. (multi-
statement execution code clears no_send_error between statements
too)
*/
thd
->
net
.
no_send_error
=
0
;
ret
=
i
->
execute
(
thd
,
&
ip
);
if
(
i
->
free_list
)
cleanup_items
(
i
->
free_list
);
i
->
state
=
Query_arena
::
EXECUTED
;
...
...
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