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
419d524f
Commit
419d524f
authored
Dec 11, 2010
by
Igor Babaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiler warnings.
parent
7f52af65
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
sql/sql_join_cache.cc
sql/sql_join_cache.cc
+1
-1
sql/sql_select.cc
sql/sql_select.cc
+3
-3
No files found.
sql/sql_join_cache.cc
View file @
419d524f
...
@@ -2450,7 +2450,7 @@ void JOIN_CACHE::print_explain_comment(String *str)
...
@@ -2450,7 +2450,7 @@ void JOIN_CACHE::print_explain_comment(String *str)
str
->
append
(
buffer_type
);
str
->
append
(
buffer_type
);
str
->
append
(
STRING_WITH_LEN
(
", "
));
str
->
append
(
STRING_WITH_LEN
(
", "
));
const
char
*
join_alg
;
const
char
*
join_alg
=
""
;
switch
(
get_join_alg
())
{
switch
(
get_join_alg
())
{
case
BNL_JOIN_ALG
:
case
BNL_JOIN_ALG
:
join_alg
=
"BNL"
;
join_alg
=
"BNL"
;
...
...
sql/sql_select.cc
View file @
419d524f
...
@@ -7843,7 +7843,7 @@ static bool
...
@@ -7843,7 +7843,7 @@ static bool
make_join_readinfo
(
JOIN
*
join
,
ulonglong
options
,
uint
no_jbuf_after
)
make_join_readinfo
(
JOIN
*
join
,
ulonglong
options
,
uint
no_jbuf_after
)
{
{
uint
i
;
uint
i
;
uint
jcl
;
uint
jcl
=
0
;
bool
statistics
=
test
(
!
(
join
->
select_options
&
SELECT_DESCRIBE
));
bool
statistics
=
test
(
!
(
join
->
select_options
&
SELECT_DESCRIBE
));
bool
sorted
=
1
;
bool
sorted
=
1
;
uint
first_sjm_table
=
MAX_TABLES
;
uint
first_sjm_table
=
MAX_TABLES
;
...
@@ -7862,8 +7862,8 @@ make_join_readinfo(JOIN *join, ulonglong options, uint no_jbuf_after)
...
@@ -7862,8 +7862,8 @@ make_join_readinfo(JOIN *join, ulonglong options, uint no_jbuf_after)
{
{
JOIN_TAB
*
tab
=
join
->
join_tab
+
i
;
JOIN_TAB
*
tab
=
join
->
join_tab
+
i
;
TABLE
*
table
=
tab
->
table
;
TABLE
*
table
=
tab
->
table
;
bool
icp_other_tables_ok
;
bool
icp_other_tables_ok
=
FALSE
;
bool
idx_cond_fact_out
;
bool
idx_cond_fact_out
=
FALSE
;
tab
->
read_record
.
table
=
table
;
tab
->
read_record
.
table
=
table
;
tab
->
read_record
.
file
=
table
->
file
;
tab
->
read_record
.
file
=
table
->
file
;
tab
->
read_record
.
unlock_row
=
rr_unlock_row
;
tab
->
read_record
.
unlock_row
=
rr_unlock_row
;
...
...
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