• unknown's avatar
    BUG#26325 - TEMPORARY TABLE "corrupt" after first read, according · 2486c23c
    unknown authored
                to CHECK TABLE
    
    CHECK/REPAIR TABLE reports "File not found" error when issued
    against temporary table.
    
    Fixed by disabling a brunch of code (in case it gets temporary table)
    that is responsible for updating frm version as it is not needed
    for temporary tables.
    
    
    mysql-test/r/check.result:
      A test case for BUG#26325.
    mysql-test/t/check.test:
      A test case for BUG#26325.
    sql/handler.cc:
      No need to update frm version in case table was created or checked
      by server with the same version. This also ensures that we do not
      update frm version for temporary tables as this code doesn't support
      temporary tables.
    2486c23c
check.result 611 Bytes