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
73c6702f
Commit
73c6702f
authored
Aug 15, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0
into moonbone.local:/work/mysql-5.0-bug-11864
parents
6ed49352
58e86f9b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
mysql-test/include/varchar.inc
mysql-test/include/varchar.inc
+1
-0
sql/ha_berkeley.cc
sql/ha_berkeley.cc
+1
-1
No files found.
mysql-test/include/varchar.inc
View file @
73c6702f
...
...
@@ -229,6 +229,7 @@ drop table t1;
#
# Bug #9489: problem with hash indexes
# Bug #10802: Index is not used if table using BDB engine on HP-UX
#
create
table
t1
(
a
int
,
b
varchar
(
12
),
key
ba
(
b
,
a
));
...
...
sql/ha_berkeley.cc
View file @
73c6702f
...
...
@@ -2150,7 +2150,7 @@ ha_rows ha_berkeley::records_in_range(uint keynr, key_range *start_key,
end_pos
=
end_range
.
less
+
end_range
.
equal
;
rows
=
(
end_pos
-
start_pos
)
*
records
;
DBUG_PRINT
(
"exit"
,(
"rows: %g"
,
rows
));
DBUG_RETURN
(
rows
<=
1.0
?
(
ha_rows
)
1
:
(
ha_rows
)
rows
);
DBUG_RETURN
(
(
ha_rows
)(
rows
<=
1.0
?
1
:
rows
)
);
}
...
...
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