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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d4f2e7a9
Commit
d4f2e7a9
authored
Oct 04, 2010
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failures introduced in the previous push
parent
51564575
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
mysql-test/t/subselect_sj2.test
mysql-test/t/subselect_sj2.test
+1
-1
sql/multi_range_read.cc
sql/multi_range_read.cc
+3
-2
No files found.
mysql-test/t/subselect_sj2.test
View file @
d4f2e7a9
...
...
@@ -586,7 +586,7 @@ if (`select @@join_cache_level=6`)
--
echo
# Not anymore:
--
echo
# The following query gives wrong result due to Bug#49129
}
select
sin
(
0
);
select
*
from
t0
where
t0
.
a
in
(
select
t1
.
a
from
t1
,
t2
where
t2
.
a
=
t0
.
a
and
t1
.
b
=
t2
.
b
);
...
...
sql/multi_range_read.cc
View file @
d4f2e7a9
...
...
@@ -852,13 +852,13 @@ bool Key_value_records_iterator::init(DsMrr_impl *dsmrr_arg)
uchar
*
key_in_buf
=
dsmrr
->
cur_index_tuple
;
last_identical_key_ptr
=
dsmrr
->
cur_index_tuple
;
if
(
dsmrr
->
use_key_pointers
)
dsmrr
->
cur_index_tuple
=
*
((
uchar
**
)
dsmrr
->
cur_index_tuple
);
/* Check out how many more identical keys are following */
//char *save_cur_range_info= cur_range_info;
uchar
*
save_cur_index_tuple
=
dsmrr
->
cur_index_tuple
;
last_identical_key_ptr
=
dsmrr
->
cur_index_tuple
;
while
(
!
identical_key_it
.
read
())
{
if
(
DsMrr_impl
::
key_tuple_cmp
(
dsmrr
,
key_in_buf
,
dsmrr
->
cur_index_tuple
))
...
...
@@ -901,6 +901,7 @@ int Key_value_records_iterator::get_next()
return
res
;
}
identical_key_it
.
init
(
dsmrr
->
key_buffer
);
get_next_row
=
FALSE
;
}
identical_key_it
.
read
();
// This gets us next range_id.
...
...
@@ -1052,7 +1053,7 @@ int DsMrr_impl::dsmrr_next(char **range_info)
{
if
(
do_sort_keys
)
{
if
(
index_scan_eof
)
if
(
!
index_scan_eof
)
{
/* There are some sorted keys left. Use them to get rowids */
if
((
res
=
dsmrr_fill_rowid_buffer
()))
...
...
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