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
f64ef119
Commit
f64ef119
authored
Aug 03, 2007
by
dkatz@damien-katzs-computer.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge dkatz@bk-internal.mysql.com:/home/bk/mysql-5.0-maint
into damien-katzs-computer.local:/Users/dkatz/mysql50
parents
0d930158
7c2c8f07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
sql/sql_select.cc
sql/sql_select.cc
+4
-3
No files found.
sql/sql_select.cc
View file @
f64ef119
...
...
@@ -13041,7 +13041,8 @@ static int
join_init_cache
(
THD
*
thd
,
JOIN_TAB
*
tables
,
uint
table_count
)
{
reg1
uint
i
;
uint
length
,
blobs
,
size
;
uint
length
,
blobs
;
size_t
size
;
CACHE_FIELD
*
copy
,
**
blob_ptr
;
JOIN_CACHE
*
cache
;
JOIN_TAB
*
join_tab
;
...
...
@@ -13157,7 +13158,7 @@ store_record_in_cache(JOIN_CACHE *cache)
length
=
cache
->
length
;
if
(
cache
->
blobs
)
length
+=
used_blob_length
(
cache
->
blob_ptr
);
if
((
last_record
=
(
length
+
cache
->
length
>
(
uin
t
)
(
cache
->
end
-
pos
))))
if
((
last_record
=
(
length
+
cache
->
length
>
(
size_
t
)
(
cache
->
end
-
pos
))))
cache
->
ptr_record
=
cache
->
records
;
/*
...
...
@@ -13203,7 +13204,7 @@ store_record_in_cache(JOIN_CACHE *cache)
}
}
cache
->
pos
=
pos
;
return
last_record
||
(
uint
)
(
cache
->
end
-
pos
)
<
cache
->
length
;
return
last_record
||
(
size_t
)
(
cache
->
end
-
pos
)
<
cache
->
length
;
}
...
...
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