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
a152cac2
Commit
a152cac2
authored
Mar 14, 2006
by
evgen@sunlight.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_select.cc:
Afterfix for bug#17366: Unchecked Item_int results in server crash
parent
5866eb94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sql/sql_select.cc
sql/sql_select.cc
+1
-1
No files found.
sql/sql_select.cc
View file @
a152cac2
...
@@ -7157,7 +7157,7 @@ static COND* substitute_for_best_equal_field(COND *cond,
...
@@ -7157,7 +7157,7 @@ static COND* substitute_for_best_equal_field(COND *cond,
// This occurs when eliminate_item_equal() founds that cond is
// This occurs when eliminate_item_equal() founds that cond is
// always false and substitues it with Item_int 0.
// always false and substitues it with Item_int 0.
// Due to this, value of item_equal will be 0, so just return it.
// Due to this, value of item_equal will be 0, so just return it.
if
(
cond
->
type
()
!=
Item
::
ITEM_COND
)
if
(
cond
->
type
()
!=
Item
::
COND_ITEM
)
break
;
break
;
}
}
}
}
...
...
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