1. 05 Mar, 2008 2 commits
  2. 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
  3. 03 Mar, 2008 2 commits
  4. 02 Mar, 2008 2 commits
  5. 29 Feb, 2008 1 commit
  6. 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
  7. 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
  8. 22 Feb, 2008 7 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
    • unknown's avatar
      Small fixes; the missing DBUG_RETURN() fixes · 83d331a5
      unknown authored
      BUG#34741 "prepared show master logs without binlogging debug assert"
      
      
      sql/sql_repl.cc:
        missing DBUG_RETURN
      storage/maria/unittest/ma_control_file-t.c:
        fix for icc warning.
      83d331a5
  9. 21 Feb, 2008 8 commits
    • unknown's avatar
      mysql.spec.sh: · 7d862953
      unknown authored
        Added --with-maria and maria support
      
      
      support-files/mysql.spec.sh:
        Added --with-maria and maria support
      7d862953
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-maria · def85d35
      unknown authored
      into  mysql.com:/data0/mysqldev/my/build-200802121236-5.1.23a-maria-alpha/mysql-5.1-release
      
      
      def85d35
    • unknown's avatar
      Fixes for ma_test_recovery.pl on OS X. · b9b60d6f
      unknown authored
      
      storage/maria/unittest/ma_test_recovery.pl:
        .exe is for win32, win64, cygwin but not darwin.
        Some OS X machines have md5 instead of md5sum.
      b9b60d6f
    • unknown's avatar
      Make ma_test_all-t find its eggs on Darwin machines. · b35c0fbc
      unknown authored
      
      storage/maria/unittest/ma_test_all-t:
        .exe is for win32, win64, cygwin, but not darwin
      b35c0fbc
    • unknown's avatar
      fix for bug in Solaris 10 Sparc 64 bit (misaligned buffer in the · e068ad62
      unknown authored
      log handler).
      
      
      storage/maria/ma_loghandler.c:
        Buffers on the stack must be properly aligned as pagecache_read()
        will use bmove512() on them. Fixes hang in maria-recovery.test
        on Solaris 10 Sparc 64 bit.
      storage/maria/ma_pagecache.c:
        comment
      e068ad62
    • unknown's avatar
      configure.in: · 203c0fed
      unknown authored
        Set back to 5.1.23a-maria-alpha
      
      
      configure.in:
        Set back to 5.1.23a-maria-alpha
      203c0fed
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-maria · 33c24d59
      unknown authored
      into  mysql.com:/home/my/mysql-maria
      
      
      dbug/dbug.c:
        Auto merged
      mysys/lf_alloc-pin.c:
        Auto merged
      storage/maria/lockman.c:
        Auto merged
      storage/maria/ma_open.c:
        Auto merged
      storage/maria/ma_recovery.c:
        Auto merged
      storage/maria/unittest/ma_test_recovery.pl:
        Manual merge
      33c24d59
    • unknown's avatar
      Fixed problems with ma_test2 and mi_test2 on high-byte-first system · df843c4c
      unknown authored
      Fixed bug in ma_test2 when last row in table is deleted
      Fixed that ma_test_recovery.pl works on Solaris (by using digest instead of md5sum)
      Fixed some compiler warnings generated by the Forte compiler
      
      
      dbug/dbug.c:
        Added cast to get rid of compiler warning
      mysys/lf_alloc-pin.c:
        Added cast to get rid of compiler warning
      mysys/my_bitmap.c:
        Removed impossible DBUG_ASSERT()'s to get rid of compiler warnings
      mysys/my_compress.c:
        Removed wrong cast to get rid of compiler warning
      storage/maria/lockman.c:
        Added cast to get rid of compiler warning
      storage/maria/ma_open.c:
        Added fix from MyISAM to allocate space in key buffer for nod pointer
      storage/maria/ma_recovery.c:
        Fixed initialization that caused compiler warning
      storage/maria/ma_rsame.c:
        More DBUG_PRINT
      storage/maria/ma_scan.c:
        Better comment
      storage/maria/ma_statrec.c:
        More DBUG_PRINT and comments
        Fixed indentation
      BitKeeper/etc/ignore:
        added storage/maria/unittest/tmp/*
      storage/maria/ma_test2.c:
        Fixed bug that caused maria_rsame() to fail if test removed last row
        Fixed wrong usage of longget();  Should be uint4korr()
      storage/maria/unittest/ma_test_recovery.pl:
        Use md5sum or digest to calculate md5.
        This allows this script to be run on Linux and Solaris
      storage/myisam/mi_test2.c:
        Fixed wrong usage of longget();  Should be uint4korr()
      strings/ctype.c:
        Added casts to get rid of compiler warnings
      sql-bench/myisam.cnf:
        New BitKeeper file ``sql-bench/myisam.cnf''
      df843c4c