From 7fcb9cd599450a3efba3e8218bb81a5916e1e964 Mon Sep 17 00:00:00 2001 From: "evgen@moonbone.local" <> Date: Mon, 15 Aug 2005 13:02:29 +0400 Subject: 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. --- mysql-test/include/varchar.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'mysql-test/include/varchar.inc') 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)); -- cgit v1.2.1