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
83dc887b
Commit
83dc887b
authored
Aug 18, 2004
by
sergefp@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed Arg_comparator::compare_int -> compare_int_signed
parent
f60b356f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
sql/item_cmpfunc.cc
sql/item_cmpfunc.cc
+2
-2
sql/item_cmpfunc.h
sql/item_cmpfunc.h
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+4
-4
No files found.
sql/item_cmpfunc.cc
View file @
83dc887b
...
...
@@ -317,7 +317,7 @@ int Arg_comparator::set_compare_func(Item_bool_func2 *item, Item_result type)
}
else
if
(
type
==
INT_RESULT
)
{
if
(
func
==
&
Arg_comparator
::
compare_int
)
if
(
func
==
&
Arg_comparator
::
compare_int
_signed
)
{
if
((
*
a
)
->
unsigned_flag
)
func
=
((
*
b
)
->
unsigned_flag
)
?
&
Arg_comparator
::
compare_int_unsigned
:
...
...
@@ -432,7 +432,7 @@ int Arg_comparator::compare_e_real()
return
test
(
val1
==
val2
);
}
int
Arg_comparator
::
compare_int
()
int
Arg_comparator
::
compare_int
_signed
()
{
longlong
val1
=
(
*
a
)
->
val_int
();
if
(
!
(
*
a
)
->
null_value
)
...
...
sql/item_cmpfunc.h
View file @
83dc887b
...
...
@@ -65,7 +65,7 @@ public:
int
compare_string
();
// compare args[0] & args[1]
int
compare_binary_string
();
// compare args[0] & args[1]
int
compare_real
();
// compare args[0] & args[1]
int
compare_int
();
// compare args[0] & args[1]
int
compare_int
_signed
();
// compare args[0] & args[1]
int
compare_int_signed_unsigned
();
int
compare_int_unsigned_signed
();
int
compare_int_unsigned
();
...
...
sql/mysqld.cc
View file @
83dc887b
...
...
@@ -239,7 +239,7 @@ bool opt_verbose= 0;
arg_cmp_func
Arg_comparator
::
comparator_matrix
[
4
][
2
]
=
{{
&
Arg_comparator
::
compare_string
,
&
Arg_comparator
::
compare_e_string
},
{
&
Arg_comparator
::
compare_real
,
&
Arg_comparator
::
compare_e_real
},
{
&
Arg_comparator
::
compare_int
,
&
Arg_comparator
::
compare_e_int
},
{
&
Arg_comparator
::
compare_int
_signed
,
&
Arg_comparator
::
compare_e_int
},
{
&
Arg_comparator
::
compare_row
,
&
Arg_comparator
::
compare_e_row
}};
...
...
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