1. 18 Mar, 2008 1 commit
  2. 16 Mar, 2008 1 commit
  3. 11 Mar, 2008 1 commit
    • unknown's avatar
      Fixed statistic calculation. · f0da1ea6
      unknown authored
      (BUG#35030 maria_pagecache_read* status
      variables updated at wrong moment)
      
      
      storage/maria/ma_pagecache.c:
        Fixed statistic calculation.
      f0da1ea6
  4. 08 Mar, 2008 4 commits
    • unknown's avatar
      Maria's usage of my_stat() is unreliable on Windows. (BUG#35036) · 6ec6ae4a
      unknown authored
      %llu replaces with %s/llstr() as in other MySQL code.
      
      
      storage/maria/ma_loghandler.c:
        my_stat is not reliable under windows for determinating file
        length so it is replaced with my_seek.
        %llu replaces with %s/llstr() as in other MySQL code.
      6ec6ae4a
    • unknown's avatar
      Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-maria · 351bdaef
      unknown authored
      into  desktop.sanja.is.com.ua:/home/bell/mysql/bk/work-maria-bug34712
      
      
      351bdaef
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-maria · 82b01fcd
      unknown authored
      into  mysql.com:/home/my/mysql-maria
      
      
      82b01fcd
    • unknown's avatar
      Fix for #Bug35048 "maria table corruption reported when transactional=0 · 42455c48
      unknown authored
      Problem was that page in bitmap was marked as full even if there was free places in page directory
      
      
      mysql-test/r/maria.result:
        Test case for problem with head/tail page with 255 entries
        (Bug 35048 "maria table corruption reported when transactional=0)
      mysql-test/t/maria.test:
        Test case for problem with head/tail page with 255 entries
        (Bug 35048 "maria table corruption reported when transactional=0)
      storage/maria/ma_blockrec.c:
        Fix to ensure that bitmap is marked 'full' when the head/tail page directory is full
      storage/maria/ma_check.c:
        Better check when directory for head/tail pages are marked full (The page directory can't hold a row tail + blob tails)
      42455c48
  5. 07 Mar, 2008 2 commits
    • unknown's avatar
      Avoiding changing log on flush call · 6a3f3245
      unknown authored
      if nothing was added to the log
      (BUG#34712 maria_read_log changes log
      file content on several platforms though not needed)
      Fixed callback call (now under loghandler lock).
      
      
      storage/maria/ma_loghandler.c:
        Flag that signaling about "everythig-flushed" state of
        the log added, to avoid changing log on flush request
        if nothing was written but horizon placed on the page boarder.
        Fixed callback call (now under loghandler lock).
      6a3f3245
    • unknown's avatar
      Removed external call to md5sum and added · fe542970
      unknown authored
      an internal procedure for it. Removed my_which()
      as unneccessary.
      
      
      fe542970
  6. 05 Mar, 2008 2 commits
  7. 04 Mar, 2008 11 commits
    • unknown's avatar
      Merge desktop.sanja.is.com.ua:/home/bell/mysql/bk/mysql-maria · 555c12c1
      unknown authored
      into  desktop.sanja.is.com.ua:/home/bell/mysql/bk/work-maria-bug34634
      
      
      storage/maria/ma_pagecache.c:
        Auto merged
      555c12c1
    • unknown's avatar
      Fixed problem of deleting blocks which are being evicted at · 7a6342c2
      unknown authored
      the moment. (BUG#34634)
      Fixed potential bug in pinning schema.
      
      
      storage/maria/ma_pagecache.c:
        Fixed problem of deleting blocks which are being evicted at
        the moment.
        Fixed potential bug in pinning schema.
      7a6342c2
    • unknown's avatar
      Fixed excessive assertion reported in BUG#35031 · 963cd167
      unknown authored
      "Using maria-block-size != 8192 makes Maria crash or say "error 174""
      
      
      storage/maria/ma_create.c:
        fixed excessive assertion
      963cd167
    • unknown's avatar
      have to disable test until bug is fixed · f93bfec8
      unknown authored
      f93bfec8
    • unknown's avatar
      fix for compilation failure in non-debug builds · c32e663d
      unknown authored
      
      sql/mysqld.cc:
        option -# and --debug, and default_dbug_option, do not exist in non-debug builds
      c32e663d
    • unknown's avatar
      Merge gbichot4.local:/home/mysql_src/mysql-maria-monty · 33c25353
      unknown authored
      into  gbichot4.local:/home/mysql_src/mysql-maria-clean
      
      
      storage/maria/ha_maria.cc:
        Auto merged
      storage/maria/ma_pagecache.c:
        Auto merged
      33c25353
    • unknown's avatar
      Making ma_pagecache_rwconsist_1k-t unit test build under Windows · 29b9fdff
      unknown authored
      
      storage/maria/unittest/CMakeLists.txt:
        build unit test under Windows too
      storage/maria/unittest/ma_pagecache_rwconsist.c:
        portability fix for Windows
      29b9fdff
    • unknown's avatar
      Fixed crashing bug when starting mysqld with --dbug · 09e4e954
      unknown authored
      Fixed crash when using other maria block size than 8192
      Fixed bug that caused tables to be reported as crashed if maria_log_control was deleted
      
      
      mysql-test/valgrind.supp:
        Suppress leaks on SuSE 10.3, x86 64 bit
      sql/mysqld.cc:
        Don't give warning in case of timeout for pthread_cond_timedwait
        Fixed crashing bug when starting mysqld with --dbug
      storage/maria/ha_maria.cc:
        Fixed crash when using other block size than 8192 (Crash happend later in bitmap page handling)
      storage/maria/ma_locking.c:
        When we write a new uuid for a zerofilled file, also update the lsn's
      storage/maria/ma_open.c:
        Don't update lsn on open. Wait until first time file is changed
        Fixed bug that caused tables to be reported as crashed if maria_log_control was deleted
      strings/strmake.c:
        Fixed warnings for strings without end 0 when running under valgrind.
      09e4e954
    • unknown's avatar
      copyright and license info · ea3ae3c4
      unknown authored
      
      storage/maria/Makefile.am:
        copyright
      storage/maria/ma_pagecache.c:
        copyright
      storage/maria/ma_pagecache.h:
        copyright
      storage/maria/ma_pagecaches.c:
        copyright
      storage/maria/ma_pagecrc.c:
        copyright
      storage/maria/unittest/Makefile.am:
        copyright
      storage/maria/unittest/lockman-t.c:
        copyright
      storage/maria/unittest/lockman1-t.c:
        copyright
      storage/maria/unittest/lockman2-t.c:
        copyright
      storage/maria/unittest/ma_control_file-t.c:
        copyright
      storage/maria/unittest/ma_loghandler_examples.c:
        copyright
      storage/maria/unittest/ma_maria_log_cleanup.c:
        copyright
      storage/maria/unittest/ma_pagecache_consist.c:
        copyright
      storage/maria/unittest/ma_pagecache_rwconsist.c:
        copyright
      storage/maria/unittest/ma_pagecache_single.c:
        copyright
      storage/maria/unittest/ma_test_loghandler-t.c:
        copyright
      storage/maria/unittest/ma_test_loghandler_first_lsn-t.c:
        copyright
      storage/maria/unittest/ma_test_loghandler_max_lsn-t.c:
        copyright
      storage/maria/unittest/ma_test_loghandler_multigroup-t.c:
        copyright
      storage/maria/unittest/ma_test_loghandler_multithread-t.c:
        copyright
      storage/maria/unittest/ma_test_loghandler_noflush-t.c:
        copyright
      storage/maria/unittest/ma_test_loghandler_nologs-t.c:
        copyright
      storage/maria/unittest/ma_test_loghandler_pagecache-t.c:
        copyright
      storage/maria/unittest/ma_test_loghandler_purge-t.c:
        copyright
      storage/maria/unittest/test_file.c:
        copyright
      storage/maria/unittest/test_file.h:
        copyright
      storage/maria/unittest/trnman-t.c:
        copyright
      ea3ae3c4
    • unknown's avatar
      Fix for BUG#34089 "Maria crash on LOAD INDEX after FLUSH TABLES". · 1bbb0981
      unknown authored
      
      storage/maria/ha_maria.cc:
        enable LOAD INDEX for Maria
      storage/maria/ma_preload.c:
        Making index preloading work for Maria.
      storage/maria/maria_def.h:
        We don't need this #define anymore, ma_test_recovery.pl uses
        zerofill to do comparisons of physical files.
      mysql-test/r/maria-preload.result:
        result. The values of maria_pagecache_reads look too high, see
        BUG#35030 "maria_pagecache_read* status variables updated at wrong moment"
      mysql-test/t/maria-preload.test:
        Test of index preloading in Maria
      1bbb0981
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-maria · 79ca1004
      unknown authored
      into  mysql.com:/home/my/mysql-maria
      
      
      79ca1004
  8. 03 Mar, 2008 2 commits
  9. 02 Mar, 2008 2 commits
  10. 29 Feb, 2008 1 commit
  11. 26 Feb, 2008 1 commit
    • unknown's avatar
      WL#3072 Maria Recovery · b01c9528
      unknown authored
      fixes for ma_test_recovery.pl to work in release builds too:
      - bugfix in maria_zerofill_index()
      - applying of LOGREC_INSERT_ROW_BLOBS now zeroes unused end of non-full
      blob page (a mutation of tail page when it takes >75% of maria_block_size)
      like write_full_pages() does.
      
      
      storage/maria/ma_blockrec.c:
        When we write a non-full blob page at run-time, we zero the rest of
        it (see write_full_pages()). We now do the same in
        _ma_apply_redo_insert_row_blobs(): this is consistent and helps
        having log-applying produce the same page as run-time.
      storage/maria/ma_check.c:
        maria_zerofill_index() was wrong: it didn't zero certain bytes
        because it believed that the count of relevant bytes is
        _ma_get_page_used(share, buff) + share->keypage_header,
        whereas it's only the first term.
      storage/maria/ma_pagecache.c:
        typo
      storage/maria/ma_pagecache.h:
        typo
      storage/maria/maria_chk.c:
        enable --zerofill-keep-lsn in all builds
      storage/maria/unittest/ma_test_recovery.pl:
        now even release builds can run ma_test_recovery.pl, because zerofill
        makes tables of this test (made by run-time and by log-applying)
        identical.
      b01c9528
  12. 25 Feb, 2008 6 commits
    • unknown's avatar
      Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-maria · b2724a6a
      unknown authored
      into  desktop.sanja.is.com.ua:/home/bell/tmp/work-maria-rwlock-push
      
      
      b2724a6a
    • unknown's avatar
      Fixes to how ma_test_recovery.pl uses --zerofill-keep-lsn · 446c13a8
      unknown authored
      
      storage/maria/unittest/ma_test_recovery.pl:
        Tell how many tables were zerofilled (just for information, a varying
        number does not make the test fail).
        Don't let --zerofill-keep-lsn influence next runs (which it shouldn't
        do in theory anyway, but testing should not believe theory): restore
        non-zerofilled tables right after comparison is finished.
      446c13a8
    • unknown's avatar
      Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-maria · c45172ec
      unknown authored
      into  desktop.sanja.is.com.ua:/home/bell/mysql/bk/work-maria-rwlock-push
      
      
      c45172ec
    • unknown's avatar
      Removing from circular list fixed. · a998e0dc
      unknown authored
      
      mysys/wqueue.c:
        fixed removing from circular list.
      a998e0dc
    • unknown's avatar
      No error message from maria_dump_log when reaching a log's EOF. · c0356dad
      unknown authored
      
      storage/maria/ma_loghandler.c:
        change the flags, otherwise when maria_dump_log reaches the end of the
        log it prints an "EOF error" to the user.
      c0356dad
    • unknown's avatar
      Build maria_dump_log under Windows. Enable maria_chk --zerofill-keep-lsn · 1b4c6fa6
      unknown authored
      in release builds, use it to fine-tune physical file comparisons in
      ma_test_recovery.pl.
      
      
      storage/maria/CMakeLists.txt:
        build maria_dump_log under Windows too
      storage/maria/maria_chk.c:
        make --zerofill-keep-lsn usable in release builds too, it makes sense.
        This option needn't reset state's LSNs, and it's more useful if it
        does not (see added comment) as it changes less the table.
      storage/maria/unittest/ma_test_recovery.pl:
        - getting rid of 'cmp'
        - if physical comparison of two MAD or MAI files fails, it might
        be in irrelevant portions (unushed index or data page pieces):
        we use --zerofill-keep-lsn and retry the comparison. This fixes
        a part of test failures under Windows.
      1b4c6fa6
  13. 22 Feb, 2008 6 commits
    • unknown's avatar
      postmerge fix · e6349ff7
      unknown authored
      
      storage/maria/unittest/ma_pagecache_consist.c:
        postmerge fix.
      storage/maria/unittest/ma_pagecache_rwconsist.c:
        postmerge fix.
      e6349ff7
    • unknown's avatar
      Merge 88-214-96-46.dialup.umc.net.ua:/Users/bell/mysql/bk/mysql-maria · daacf696
      unknown authored
      into  88-214-96-46.dialup.umc.net.ua:/Users/bell/mysql/bk/work-maria-test
      
      
      storage/maria/ma_pagecache.c:
        Auto merged
      storage/maria/unittest/Makefile.am:
        merge
      storage/maria/unittest/ma_pagecache_consist.c:
        merge
      daacf696
    • unknown's avatar
      Locking for read and write made waiting for each other (with loose · 190de95f
      unknown authored
      scheme for the same thread locking).
      
      
      include/my_pthread.h:
        Added variable for lock diffirentiation.
      include/wqueue.h:
        New release call.
      mysys/wqueue.c:
        New release call in case of read/write lock.
      storage/maria/ma_pagecache.c:
        Locking for read and write made waitimg for each other.
      storage/maria/unittest/Makefile.am:
        New test added.
      storage/maria/unittest/ma_pagecache_consist.c:
        Fixed thread initialization in the test.
      storage/maria/unittest/ma_pagecache_rwconsist.c:
        New BitKeeper file ``storage/maria/unittest/ma_pagecache_rwconsist.c''
      190de95f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-maria · 5950020d
      unknown authored
      into  mysql.com:/home/my/mysql-maria
      
      
      5950020d
    • unknown's avatar
      Fixed compiler warnings · a38693a2
      unknown authored
      
      strings/bmove512.c:
        Fixed typo (Serious for systems that doesn't have longlong, but apparently we don't have theese...)
      storage/maria/file_formats.txt:
        Description of file formats (for now, only the header of the index file)
      a38693a2
    • unknown's avatar
      update to "KNOWN BUGS" · 1dfeb478
      unknown authored
      
      KNOWN_BUGS.txt:
        update
      1dfeb478