• unknown's avatar
    Minor changes. New description in SHOW ENGINES for Maria. · 7323df78
    unknown authored
    Test for BUG#34106 "auto_increment is reset to 1 when table is recovered from crash"
    (fixed by Monty yesterday)
    
    
    mysql-test/r/maria-recovery.result:
      result, which is correct (before pulling Monty's fix for BUG#34106,
      we got a warning about auto_increment in CHECK TABLE (done in
      maria-verify-recovery.inc), no AUTO_INCREMENT clause in
      SHOW CREATE TABLE, and a failure of the last INSERT.
    mysql-test/r/maria.result:
      result
    mysql-test/t/maria-recovery.test:
      Test for BUG#34106
    mysql-test/t/maria.test:
      look at what is reported in SHOW ENGINES
    mysys/my_pread.c:
      changed my mind: if Count argument is >4GB, we'll surely see a segfault
      in the pread() call when it tries to read 4GB from memory, so no need
      to print it in ulonglong format (saves a function call).
    mysys/my_read.c:
      changed my mind: if Count argument is >4GB, we'll surely see a segfault
      in the pread() call when it tries to read 4GB from memory, so no need
      to print it in ulonglong format (saves a function call).
    mysys/my_write.c:
      changed my mind: if Count argument is >4GB, we'll surely see a segfault
      in the pread() call when it tries to read 4GB from memory, so no need
      to print it in ulonglong format (saves a function call).
    storage/maria/ha_maria.cc:
      Description representing the current reality. This can be changed later
    storage/maria/ma_page.c:
      When reading the new key_del from a page on disk, if there is a bug
      (like BUG#34062) this key_del could be wrong, we try to catch if it's
      out of the key file.
    storage/maria/ma_pagecache.c:
      - no truncation of page's number in DBUG_PRINT (useful for BUG#34062)
      - page_korr instead of uint5korr
    storage/maria/ma_recovery.c:
      page_korr instead of uint5korr
    storage/maria/plug.in:
      Description representing the current reality. This can be changed later.
    7323df78
my_write.c 2.98 KB