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
18bd5568
Commit
18bd5568
authored
Nov 20, 2003
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/bk/work-4.1
parents
f25cbdd9
be1f24cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sql/item_cmpfunc.cc
sql/item_cmpfunc.cc
+4
-4
No files found.
sql/item_cmpfunc.cc
View file @
18bd5568
...
@@ -1416,18 +1416,18 @@ cmp_item_row::~cmp_item_row()
...
@@ -1416,18 +1416,18 @@ cmp_item_row::~cmp_item_row()
void
cmp_item_row
::
store_value
(
Item
*
item
)
void
cmp_item_row
::
store_value
(
Item
*
item
)
{
{
DBUG_ENTER
(
"cmp_item_row::store_value"
);
DBUG_ENTER
(
"cmp_item_row::store_value"
);
THD
*
thd
=
current_thd
;
n
=
item
->
cols
();
n
=
item
->
cols
();
if
(
!
comparators
)
if
(
!
comparators
)
comparators
=
(
cmp_item
**
)
thd
->
calloc
(
sizeof
(
cmp_item
*
)
*
n
);
comparators
=
(
cmp_item
**
)
current_
thd
->
calloc
(
sizeof
(
cmp_item
*
)
*
n
);
if
(
comparators
)
if
(
comparators
)
{
{
item
->
bring_value
();
item
->
bring_value
();
item
->
null_value
=
0
;
item
->
null_value
=
0
;
for
(
uint
i
=
0
;
i
<
n
;
i
++
)
for
(
uint
i
=
0
;
i
<
n
;
i
++
)
{
{
if
(
!
(
comparators
[
i
]
=
cmp_item
::
get_comparator
(
item
->
el
(
i
))))
if
(
!
comparators
[
i
])
break
;
// new failed
if
(
!
(
comparators
[
i
]
=
cmp_item
::
get_comparator
(
item
->
el
(
i
))))
break
;
// new failed
comparators
[
i
]
->
store_value
(
item
->
el
(
i
));
comparators
[
i
]
->
store_value
(
item
->
el
(
i
));
item
->
null_value
|=
item
->
el
(
i
)
->
null_value
;
item
->
null_value
|=
item
->
el
(
i
)
->
null_value
;
}
}
...
...
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