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
3ac1c2ca
Commit
3ac1c2ca
authored
Jun 14, 2005
by
ramil@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a fix (#11235: Expression with IFNULL yields 18 where 1 is correct).
parent
df93c278
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/item_func.cc
sql/item_func.cc
+2
-2
No files found.
sql/item_func.cc
View file @
3ac1c2ca
...
@@ -879,11 +879,11 @@ longlong Item_func_numhybrid::val_int()
...
@@ -879,11 +879,11 @@ longlong Item_func_numhybrid::val_int()
return
(
longlong
)
real_op
();
return
(
longlong
)
real_op
();
case
STRING_RESULT
:
case
STRING_RESULT
:
{
{
char
*
end_not_used
;
int
err_not_used
;
int
err_not_used
;
String
*
res
=
str_op
(
&
str_value
);
String
*
res
=
str_op
(
&
str_value
);
char
*
end
=
(
char
*
)
res
->
ptr
()
+
res
->
length
();
CHARSET_INFO
*
cs
=
str_value
.
charset
();
CHARSET_INFO
*
cs
=
str_value
.
charset
();
return
(
res
?
(
*
(
cs
->
cset
->
strtoll10
))(
cs
,
res
->
ptr
(),
&
end
_not_used
,
return
(
res
?
(
*
(
cs
->
cset
->
strtoll10
))(
cs
,
res
->
ptr
(),
&
end
,
&
err_not_used
)
:
0
);
&
err_not_used
)
:
0
);
}
}
default:
default:
...
...
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