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
4df47b9e
Commit
4df47b9e
authored
Jun 02, 2005
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
f3a95357
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
extra/yassl/src/ssl.cpp
extra/yassl/src/ssl.cpp
+1
-1
sql/item_func.cc
sql/item_func.cc
+6
-3
No files found.
extra/yassl/src/ssl.cpp
View file @
4df47b9e
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include "handshake.hpp"
#include "handshake.hpp"
#include "yassl_int.hpp"
#include "yassl_int.hpp"
#include <stdio.h>
#include <stdio.h>
#include "runtime.hpp"
namespace
yaSSL
{
namespace
yaSSL
{
...
...
sql/item_func.cc
View file @
4df47b9e
...
@@ -2325,9 +2325,6 @@ longlong Item_func_field::val_int()
...
@@ -2325,9 +2325,6 @@ longlong Item_func_field::val_int()
{
{
DBUG_ASSERT
(
fixed
==
1
);
DBUG_ASSERT
(
fixed
==
1
);
if
(
args
[
0
]
->
is_null
())
return
0
;
if
(
cmp_type
==
STRING_RESULT
)
if
(
cmp_type
==
STRING_RESULT
)
{
{
String
*
field
;
String
*
field
;
...
@@ -2343,6 +2340,8 @@ longlong Item_func_field::val_int()
...
@@ -2343,6 +2340,8 @@ longlong Item_func_field::val_int()
else
if
(
cmp_type
==
INT_RESULT
)
else
if
(
cmp_type
==
INT_RESULT
)
{
{
longlong
val
=
args
[
0
]
->
val_int
();
longlong
val
=
args
[
0
]
->
val_int
();
if
(
args
[
0
]
->
null_value
)
return
0
;
for
(
uint
i
=
1
;
i
<
arg_count
;
i
++
)
for
(
uint
i
=
1
;
i
<
arg_count
;
i
++
)
{
{
if
(
!
args
[
i
]
->
is_null
()
&&
val
==
args
[
i
]
->
val_int
())
if
(
!
args
[
i
]
->
is_null
()
&&
val
==
args
[
i
]
->
val_int
())
...
@@ -2353,6 +2352,8 @@ longlong Item_func_field::val_int()
...
@@ -2353,6 +2352,8 @@ longlong Item_func_field::val_int()
{
{
my_decimal
dec_arg_buf
,
*
dec_arg
,
my_decimal
dec_arg_buf
,
*
dec_arg
,
dec_buf
,
*
dec
=
args
[
0
]
->
val_decimal
(
&
dec_buf
);
dec_buf
,
*
dec
=
args
[
0
]
->
val_decimal
(
&
dec_buf
);
if
(
args
[
0
]
->
null_value
)
return
0
;
for
(
uint
i
=
1
;
i
<
arg_count
;
i
++
)
for
(
uint
i
=
1
;
i
<
arg_count
;
i
++
)
{
{
dec_arg
=
args
[
i
]
->
val_decimal
(
&
dec_arg_buf
);
dec_arg
=
args
[
i
]
->
val_decimal
(
&
dec_arg_buf
);
...
@@ -2363,6 +2364,8 @@ longlong Item_func_field::val_int()
...
@@ -2363,6 +2364,8 @@ longlong Item_func_field::val_int()
else
else
{
{
double
val
=
args
[
0
]
->
val_real
();
double
val
=
args
[
0
]
->
val_real
();
if
(
args
[
0
]
->
null_value
)
return
0
;
for
(
uint
i
=
1
;
i
<
arg_count
;
i
++
)
for
(
uint
i
=
1
;
i
<
arg_count
;
i
++
)
{
{
if
(
!
args
[
i
]
->
is_null
()
&&
val
==
args
[
i
]
->
val_real
())
if
(
!
args
[
i
]
->
is_null
()
&&
val
==
args
[
i
]
->
val_real
())
...
...
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