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
8d0dd7a4
Commit
8d0dd7a4
authored
Sep 08, 2005
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove an obsolete comment and an unused variable.
parent
ffea32c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
14 deletions
+1
-14
sql/sp_head.cc
sql/sp_head.cc
+0
-11
sql/sql_select.h
sql/sql_select.h
+1
-3
No files found.
sql/sp_head.cc
View file @
8d0dd7a4
...
...
@@ -1827,17 +1827,6 @@ sp_lex_keeper::reset_lex_and_exec_core(THD *thd, uint *nextp,
thd
->
query_id
=
next_query_id
();
VOID
(
pthread_mutex_unlock
(
&
LOCK_thread_count
));
/*
FIXME. Resetting statement (and using it) is not reentrant, thus recursive
functions which try to use the same LEX twice will crash server.
We should prevent such situations by tracking if LEX is already
in use and throwing error about unallowed recursion if needed.
OTOH it is nice to allow recursion in cases when LEX is not really
used (e.g. in mathematical functions), so such tracking should be
implemented at the same time as ability not to store LEX for
instruction if it is not really used.
*/
if
(
thd
->
prelocked_mode
==
NON_PRELOCKED
)
{
/*
...
...
sql/sql_select.h
View file @
8d0dd7a4
...
...
@@ -230,7 +230,7 @@ class JOIN :public Sql_alloc
/* Is set if we have a GROUP BY and we have ORDER BY on a constant. */
bool
skip_sort_order
;
bool
need_tmp
,
hidden_group_fields
,
buffer_result
;
bool
need_tmp
,
hidden_group_fields
;
DYNAMIC_ARRAY
keyuse
;
Item
::
cond_result
cond_value
;
List
<
Item
>
all_fields
;
// to store all fields that used in query
...
...
@@ -299,8 +299,6 @@ class JOIN :public Sql_alloc
skip_sort_order
=
0
;
need_tmp
=
0
;
hidden_group_fields
=
0
;
/*safety*/
buffer_result
=
test
(
select_options
&
OPTION_BUFFER_RESULT
)
&&
!
test
(
select_options
&
OPTION_FOUND_ROWS
);
error
=
0
;
select
=
0
;
return_tab
=
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