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
d8df2b94
Commit
d8df2b94
authored
Oct 02, 2015
by
Monty
Committed by
Sergei Golubchik
Oct 05, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugs, found by valgrind
parent
ae2cdc17
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
sql/item_cmpfunc.cc
sql/item_cmpfunc.cc
+2
-2
sql/sql_select.cc
sql/sql_select.cc
+2
-0
No files found.
sql/item_cmpfunc.cc
View file @
d8df2b94
...
...
@@ -6278,8 +6278,8 @@ longlong Item_equal::val_int()
while
((
item
=
it
++
))
{
Field
*
field
=
it
.
get_curr_field
();
/* Skip fields of
non-const tables. They haven'
t been read yet */
if
(
field
->
table
->
const_table
)
/* Skip fields of
tables that has no
t been read yet */
if
(
!
field
->
table
->
status
||
(
field
->
table
->
status
&
STATUS_NULL_ROW
)
)
{
if
(
eval_item
->
cmp
(
item
)
||
(
null_value
=
item
->
null_value
))
return
0
;
...
...
sql/sql_select.cc
View file @
d8df2b94
...
...
@@ -24183,6 +24183,8 @@ int JOIN::save_explain_data_intern(Explain_query *output, bool need_tmp_table,
explain
->
select_id
=
join
->
select_lex
->
select_number
;
explain
->
select_type
=
join
->
select_lex
->
type
;
explain
->
using_temporary
=
need_tmp
;
explain
->
using_filesort
=
need_order
;
/* Setting explain->message means that all other members are invalid */
explain
->
message
=
message
;
...
...
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