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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
98bfc5a6
Commit
98bfc5a6
authored
Dec 04, 2003
by
pem@mysql.comhem.se
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed another compiler error on HP-UX.
parent
c57cebfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
sql/sp_head.cc
sql/sp_head.cc
+3
-2
No files found.
sql/sp_head.cc
View file @
98bfc5a6
...
...
@@ -537,6 +537,7 @@ sp_head::restore_lex(THD *thd)
DBUG_ENTER
(
"sp_head::restore_lex"
);
LEX
*
sublex
=
thd
->
lex
;
LEX
*
oldlex
=
(
LEX
*
)
m_lex
.
pop
();
SELECT_LEX
*
sl
;
if
(
!
oldlex
)
return
;
// Nothing to restore
...
...
@@ -544,7 +545,7 @@ sp_head::restore_lex(THD *thd)
// Update some state in the old one first
oldlex
->
ptr
=
sublex
->
ptr
;
oldlex
->
next_state
=
sublex
->
next_state
;
for
(
SELECT_LEX
*
sl
=
sublex
->
all_selects_list
;
for
(
sl
=
sublex
->
all_selects_list
;
sl
;
sl
=
sl
->
next_select_in_list
())
{
...
...
@@ -584,7 +585,7 @@ sp_head::restore_lex(THD *thd)
// QQ ...or just open tables in thd->open_tables?
// This is not entirerly clear at the moment, but for now, we collect
// tables here.
for
(
SELECT_LEX
*
sl
=
sublex
.
all_selects_list
;
for
(
sl
=
sublex
.
all_selects_list
;
sl
;
sl
=
sl
->
next_select
())
{
...
...
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