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
0d26e2cd
Commit
0d26e2cd
authored
Feb 16, 2011
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings: add LINT_INIT()
parent
e69c6429
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
sql/sql_select.cc
sql/sql_select.cc
+4
-2
No files found.
sql/sql_select.cc
View file @
0d26e2cd
...
...
@@ -2827,7 +2827,8 @@ make_join_statistics(JOIN *join, TABLE_LIST *tables_arg, COND *conds,
SARGABLE_PARAM
*
sargables
=
0
;
JOIN_TAB
*
stat_vector
[
MAX_TABLES
+
1
];
DBUG_ENTER
(
"make_join_statistics"
);
LINT_INIT
(
table
);
/* inited in all loops */
table_count
=
join
->
tables
;
stat
=
(
JOIN_TAB
*
)
join
->
thd
->
calloc
(
sizeof
(
JOIN_TAB
)
*
(
table_count
));
...
...
@@ -9250,7 +9251,8 @@ remove_const(JOIN *join,ORDER *first_order, COND *cond,
table_map
ref
;
bool
first_is_base_table
=
FALSE
;
DBUG_ENTER
(
"remove_const"
);
LINT_INIT
(
first_table
);
/* protected by first_is_base_table */
if
(
join
->
join_tab
[
join
->
const_tables
].
table
)
{
first_table
=
join
->
join_tab
[
join
->
const_tables
].
table
->
map
;
...
...
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