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
09cfc052
Commit
09cfc052
authored
Apr 06, 2007
by
anozdrin/alik@ibm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polishing: note added.
parent
08b86393
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
sql/sp_head.cc
sql/sp_head.cc
+6
-0
No files found.
sql/sp_head.cc
View file @
09cfc052
...
@@ -954,6 +954,12 @@ sp_head::execute(THD *thd)
...
@@ -954,6 +954,12 @@ sp_head::execute(THD *thd)
m_first_instance
->
m_last_cached_sp
==
this
)
||
m_first_instance
->
m_last_cached_sp
==
this
)
||
(
m_recursion_level
+
1
==
m_next_cached_sp
->
m_recursion_level
));
(
m_recursion_level
+
1
==
m_next_cached_sp
->
m_recursion_level
));
/*
NOTE: The SQL Standard does not specify the context that should be
preserved for stored routines. However, at SAP/Walldorf meeting it was
decided that current database should be preserved.
*/
if
(
m_db
.
length
&&
if
(
m_db
.
length
&&
(
err_status
=
sp_use_new_db
(
thd
,
m_db
,
&
old_db
,
0
,
&
dbchanged
)))
(
err_status
=
sp_use_new_db
(
thd
,
m_db
,
&
old_db
,
0
,
&
dbchanged
)))
goto
done
;
goto
done
;
...
...
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