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
962042e7
Commit
962042e7
authored
Dec 21, 2002
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Optimization of CASE bug fix
parent
5d60d8e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
sql/item_cmpfunc.cc
sql/item_cmpfunc.cc
+2
-3
No files found.
sql/item_cmpfunc.cc
View file @
962042e7
...
@@ -685,10 +685,9 @@ String *Item_func_case::val_str(String *str)
...
@@ -685,10 +685,9 @@ String *Item_func_case::val_str(String *str)
null_value
=
1
;
null_value
=
1
;
return
0
;
return
0
;
}
}
null_value
=
0
;
if
(
!
(
res
=
item
->
val_str
(
str
)))
if
(
!
(
res
=
item
->
val_str
(
str
)))
null_value
=
1
;
null_value
=
1
;
else
null_value
=
item
->
null_value
;
return
res
;
return
res
;
}
}
...
...
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