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
0d9a816a
Commit
0d9a816a
authored
Nov 22, 2013
by
Igor Babaev
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
cc00509b
f2edd7ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
sql/item_cmpfunc.cc
sql/item_cmpfunc.cc
+3
-4
No files found.
sql/item_cmpfunc.cc
View file @
0d9a816a
...
@@ -5692,7 +5692,9 @@ void Item_equal::add_const(Item *c, Item *f)
...
@@ -5692,7 +5692,9 @@ void Item_equal::add_const(Item *c, Item *f)
func
->
quick_fix_field
();
func
->
quick_fix_field
();
cond_false
=
!
func
->
val_int
();
cond_false
=
!
func
->
val_int
();
}
}
if
(
cond_false
)
if
(
with_const
&&
equal_items
.
elements
==
1
)
cond_true
=
TRUE
;
if
(
cond_false
||
cond_true
)
const_item_cache
=
1
;
const_item_cache
=
1
;
}
}
...
@@ -5946,9 +5948,6 @@ void Item_equal::update_const()
...
@@ -5946,9 +5948,6 @@ void Item_equal::update_const()
{
{
it
.
remove
();
it
.
remove
();
add_const
(
item
);
add_const
(
item
);
if
(
equal_items
.
elements
==
1
)
cond_true
=
TRUE
;
update_used_tables
();
}
}
}
}
}
}
...
...
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