• unknown's avatar
    Fix bug #10802 Index is not used if table using BDB engine on HP-UX · 9c18002f
    unknown authored
    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
    9c18002f
varchar.inc 7.07 KB