• Michael Widenius's avatar
    Fixed build issues · 6c610ed9
    Michael Widenius authored
    - Linking now with g++ instead of gcc with 'compile-dist' to solve problems with handlersocket/client
    - Fixed bug in heap tables when doing handler read next-prev over last row
    
    
    BUILD/compile-dist:
      - Linking now with g++ instead of gcc with 'compile-dist' to solve problems with handlersocket/client
    cmd-line-utils/libedit/vi.c:
      Fixed compiler warning about not checking return value for write
    mysql-test/r/index_intersect.result:
      Updated results (missed this file in my last push)
    mysql-test/suite/handler/aria.result:
      Updated test results
    mysql-test/suite/handler/handler.inc:
      Changed test to use read next/read prev on key where there are duplicates that can come in different order depending on system
      Added testing of read next-prev over last row and read prev-next around first row
    mysql-test/suite/handler/heap.result:
      Updated test results
    mysql-test/suite/handler/init.inc:
      More rows to test
    mysql-test/suite/handler/innodb.result:
      Updated test results
    mysql-test/suite/handler/interface.result:
      Updated test results
    mysql-test/suite/handler/myisam.result:
      Updated test results
    mysql-test/t/variables-big.test:
      Fixed test to not fail on windows
    mysql-test/valgrind.supp:
      Removed not matching fun: to get rid of valgrind warning
    storage/heap/hp_rfirst.c:
      Added state so that we know if we have an active position in the index.
    storage/heap/hp_rkey.c:
      Added state so that we know if we have an active position in the index.
    storage/heap/hp_rnext.c:
      Handle reading several next after finding the last row (this caused a crash before)
    storage/heap/hp_rprev.c:
      Handle reading several prev after finding the first row (this caused a crash before)
    storage/xtradb/buf/buf0buf.c:
      Fixed compiler warning about uninitialized value
    6c610ed9
heap.result 14.9 KB