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
9702a402
Commit
9702a402
authored
Nov 27, 2003
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unused variable
parent
ef3b51d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
sql/sql_derived.cc
sql/sql_derived.cc
+1
-2
No files found.
sql/sql_derived.cc
View file @
9702a402
...
...
@@ -67,7 +67,6 @@ int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit,
int
res
;
select_union
*
derived_result
;
TABLE_LIST
*
tables
=
(
TABLE_LIST
*
)
first_select
->
table_list
.
first
;
TMP_TABLE_PARAM
tmp_table_param
;
bool
is_union
=
first_select
->
next_select
()
&&
first_select
->
next_select
()
->
linkage
==
UNION_TYPE
;
bool
is_subsel
=
first_select
->
first_inner_unit
()
?
1
:
0
;
...
...
@@ -128,7 +127,7 @@ int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit,
cursor
->
table
->
clear_query_id
=
1
;
}
bzero
((
char
*
)
&
derived_result
->
tmp_table_param
,
sizeof
(
tmp_table_param
));
bzero
((
char
*
)
&
derived_result
->
tmp_table_param
,
sizeof
(
TMP_TABLE_PARAM
));
derived_result
->
tmp_table_param
.
field_count
=
unit
->
types
.
elements
;
/*
Temp table is created so that it hounours if UNION without ALL is to be
...
...
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