summaryrefslogtreecommitdiff
path: root/mysql-test/include/varchar.inc
diff options
context:
space:
mode:
authorunknown <evgen@moonbone.local>2005-08-15 13:02:29 +0400
committerunknown <evgen@moonbone.local>2005-08-15 13:02:29 +0400
commit9c18002f332bc7da2c6a8bcbca85a56e1d2a5ead (patch)
tree903b95996a047e8e8bb734c2ee05d356f332c6d7 /mysql-test/include/varchar.inc
parent98da6d5ffbaf00dfc9f2b3d18bbda665cf3fd67e (diff)
downloadmariadb-git-9c18002f332bc7da2c6a8bcbca85a56e1d2a5ead.tar.gz
Fix bug #10802 Index is not used if table using BDB engine on HP-UX
HP-UX compiler was generating code which makes wrong conversion from double to ulonglong which results in not using index in some cases. Changed type cast operators odrer with which generated code makes proper conversion. sql/ha_berkeley.cc: Fix bug #10802 Index is not used if table using BDB engine on HP-UX mysql-test/include/varchar.inc: Test case for bug #10802 "Index is not used if table using BDB engine on HP-UX" is same as for bug #9489
Diffstat (limited to 'mysql-test/include/varchar.inc')
-rw-r--r--mysql-test/include/varchar.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/include/varchar.inc b/mysql-test/include/varchar.inc
index 13b4315f2b8..70b563e871c 100644
--- a/mysql-test/include/varchar.inc
+++ b/mysql-test/include/varchar.inc
@@ -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));