• Michael Widenius's avatar
    Fix for LP#614265 Crash in _ma_unpin_all_pages / _ma_search on DELETE with Aria search engine · a93dea4f
    Michael Widenius authored
    Fixed compiler warnings
    
    client/mysqlslap.c:
      Fixed compiler warnings
    mysql-test/suite/maria/r/maria.result:
      Test case for LP#614265
    mysql-test/suite/maria/t/maria.test:
      Test case for LP#614265
    mysql-test/suite/pbxt/t/skip_name_resolve-master.opt:
      Ensure that we get restart before test (as test uses show processlist)
    sql/handler.cc:
      Added cloned marker if clone was called (for safety checks & debugging)
    sql/handler.h:
      Added cloned marker if clone was called (for safety checks & debugging)
    storage/maria/ha_maria.cc:
      In clone call, set file->trn if cloned file had this set. This is needed as maria_create_trn_for_mysql() and thus file->trn is never set for cloned table.
      Ensure that file->trn is properly reset after calls to repair/check/zerofill.
      Increment locked table count if file->trn is set (as we decrement this in the unlock call)
    tests/mysql_client_test.c:
      Fixed compiler warnings
    a93dea4f
maria.result 89.1 KB