1. 21 Feb, 2008 1 commit
    • 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
  2. 06 Feb, 2008 13 commits
    • unknown's avatar
      _db_strict_keyword_ is no more · 8bb95a82
      unknown authored
      8bb95a82
    • unknown's avatar
      41b86152
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-maria · 348d42fa
      unknown authored
      into  mysql.com:/home/my/mysql-maria
      
      
      348d42fa
    • unknown's avatar
      dbug/Makefile.am · 6093b561
      unknown authored
          1. older automakes didn't have builddir, don't use it.
          2. destination can be read-only (think bk -r get)
      
      
      dbug/Makefile.am:
        1. older automakes didn't have builddir, don't use it.
        2. destination can be read-only (think bk -r get)
      6093b561
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-maria · 4a0302aa
      unknown authored
      into  mysql.com:/home/my/mysql-maria
      
      
      4a0302aa
    • unknown's avatar
    • unknown's avatar
      dbug/dbug.c · 518caf1d
      unknown authored
          dbug naming conventions
      dbug/user.r
          unification, documenting DBUG_ABORT()
      include/my_dbug.h
          DBUG_ABORT()
      sql/mysqld.cc
          remove redundant option (--enable-debug and --disable-debug should be
          used instead)
      
      
      dbug/dbug.c:
        dbug naming conventions
      dbug/user.r:
        unification, documenting DBUG_ABORT()
      include/my_dbug.h:
        DBUG_ABORT()
      sql/mysqld.cc:
        remove redundant option (--enable-debug and --disable-debug should be
        used instead)
      518caf1d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-maria · c04dd359
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-maria
      
      
      sql/handler.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      include/my_dbug.h:
        merged
      c04dd359
    • unknown's avatar
      ma_control_file.c: · 3e9e629c
      unknown authored
        SCCS merged
      
      
      storage/maria/ma_control_file.c:
        SCCS merged
      3e9e629c
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-maria · 20bbcc35
      unknown authored
      into  mysqlwin32.:C:/mysql-maria
      
      
      mysql-test/include/wait_until_connected_again.inc:
        Auto merged
      storage/maria/ha_maria.cc:
        Auto merged
      storage/maria/ma_blockrec.c:
        Auto merged
      storage/maria/ma_check.c:
        Auto merged
      storage/maria/ma_loghandler.c:
        Auto merged
      20bbcc35
    • unknown's avatar
      Fixes for running maria-recovery*.test and maria-purge.test under · 7300af84
      unknown authored
      Windows.
      
      
      include/my_dbug.h:
        a DBUG expression to force a flush of the trace file then an abort of the process
      mysql-test/include/wait_until_connected_again.inc:
        mysqladmin waits for pid file to be gone only under Unix; so
        maria_empty_logs.inc cannot wait for mysqld to be gone, so
        wait_until_connected_again.inc may send its "show status" to a 
        not-yet-dead server hence the 1053 error ("server shutdown in progress")
      mysys/my_thr_init.c:
        overload abort() under Windows, to not have an annoying CRT popup
        ("ignore/abort/retry" buttons) each time a test intentionally
        crashes mysqld
      sql/handler.cc:
        use new expression
      sql/log.cc:
        use new expression
      sql/mysql_priv.h:
        use new expression
      storage/maria/ha_maria.cc:
        use new expression
      storage/maria/ma_blockrec.c:
        use new expression
      storage/maria/ma_check.c:
        use new expression
      storage/maria/ma_checkpoint.c:
        use new expression
      storage/maria/ma_control_file.c:
        Can't yet lock control file under Windows (test suite problems,
        plus concerns about stray lock preventing a fast restart after crash).
      storage/maria/ma_loghandler.c:
        A file which should be closed, otherwise translog_purge() (the caller)
        cannot delete logs.
      7300af84
    • unknown's avatar
      after-merge · 7b59b82f
      unknown authored
      *correct* disabling of dbug in mysql-test-run
      
      
      include/atomic/gcc_builtins.h:
        after-merge
      mysql-test/lib/mtr_report.pl:
        after-merge
      mysql-test/mysql-test-run.pl:
        *correct* disabling of dbug in mysql-test-run
      mysql-test/r/ps_maria.result:
        after-merge
      mysql-test/t/crash_commit_before-master.opt:
        *correct* disabling of dbug in mysql-test-run
      mysql-test/t/maria-recovery-big-master.opt:
        *correct* disabling of dbug in mysql-test-run
      mysql-test/t/maria-recovery-bitmap-master.opt:
        *correct* disabling of dbug in mysql-test-run
      mysql-test/t/maria-recovery-master.opt:
        *correct* disabling of dbug in mysql-test-run
      sql/mysqld.cc:
        --disable-debug
      7b59b82f
    • unknown's avatar
      Lock control file also when we have created it in this run. Assertions. · 7223b4ed
      unknown authored
      
      storage/maria/ma_control_file.c:
        Even if the file is just created we have to lock it, otherwise some
        other Maria instance may write to it.
      storage/maria/ma_pagecache.c:
        catch too big page numbers when they enter the pagecache; this helps
        debugging BUG#34250.
      7223b4ed
  3. 05 Feb, 2008 5 commits
    • unknown's avatar
      Merge janus.mylan:/usr/home/serg/Abk/mysql-5.1 · 2e6a7416
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-maria
      
      
      include/my_sys.h:
        Auto merged
      mysql-test/lib/mtr_cases.pl:
        Auto merged
      mysql-test/lib/mtr_misc.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/ps_2myisam.result:
        Auto merged
      mysql-test/r/ps_3innodb.result:
        Auto merged
      mysql-test/r/ps_4heap.result:
        Auto merged
      mysql-test/r/ps_5merge.result:
        Auto merged
      mysql-test/r/query_cache.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/suite/binlog/r/binlog_unsafe.result:
        Auto merged
      mysql-test/suite/binlog/t/binlog_unsafe.test:
        Auto merged
      mysql-test/suite/ndb/r/ps_7ndb.result:
        Auto merged
      mysql-test/suite/rpl/r/rpl_switch_stm_row_mixed.result:
        Auto merged
      mysql-test/suite/rpl/t/rpl_insert.test:
        Auto merged
      mysql-test/suite/rpl/t/rpl_switch_stm_row_mixed.test:
        Auto merged
      mysql-test/t/disabled.def:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/field.h:
        Auto merged
      sql/filesort.cc:
        Auto merged
      sql/ha_partition.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/slave.h:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/unireg.cc:
        Auto merged
      sql/share/errmsg.txt:
        Auto merged
      storage/myisam/ft_boolean_search.c:
        Auto merged
      storage/myisam/ha_myisam.cc:
        Auto merged
      storage/myisam/sort.c:
        Auto merged
      sql/log_event_old.h:
        SCCS merged
      BitKeeper/triggers/post-commit:
        merged
      client/mysqldump.c:
        merged
      configure.in:
        merged
      client/mysqltest.c:
        merged
      include/Makefile.am:
        merged
      include/atomic/nolock.h:
        merged
      mysql-test/lib/mtr_report.pl:
        merged
      sql/handler.h:
        merged
      sql/mysqld.cc:
        merged
      sql/sql_select.cc:
        merged
      2e6a7416
    • unknown's avatar
      cleanup · 7e54b967
      unknown authored
      
      dbug/dbug.c:
        dbug naming conventions
      include/my_dbug.h:
        unused function
      7e54b967
    • unknown's avatar
      Adding some more filtering for tests that kills queries and · df2cf8c7
      unknown authored
      cause sporadic, but benign, errors.
      
      
      mysql-test/lib/mtr_report.pl:
        Filtering out sporadic but benign error in rpl_err_ignoredtable.
      df2cf8c7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-maria · cd6a090a
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-maria
      
      
      cd6a090a
    • unknown's avatar
      Disabling test case binlog_old_version for embedded server. · 57c599b3
      unknown authored
      
      mysql-test/lib/mtr_report.pl:
        Ignoring benign error message (killing query causes unpredictable
        error messages).
      mysql-test/suite/binlog/t/binlog_old_versions.test:
        Disabling test case for embedded server.
      sql/rpl_rli.cc:
        Inititializing uninitialized variable causing valgrind warning.
      57c599b3
  4. 04 Feb, 2008 11 commits
  5. 03 Feb, 2008 4 commits
    • unknown's avatar
      ignore: · 7a0a3223
      unknown authored
        added dbug/tests
      
      
      BitKeeper/etc/ignore:
        added dbug/tests
      7a0a3223
    • unknown's avatar
      dbug: function/ (a.k.a. SUBDIR) syntax · fe7287f8
      unknown authored
      
      dbug/dbug.c:
        function/ (a.k.a. SUBDIR) syntax
      dbug/tests-t.pl:
        1. add support for test comments
        2. add test comments
        3. move tests around
        4. add SUBDIR tests
      dbug/tests.c:
        support code for SUBDIR testing
      include/my_dbug.h:
        comments. change in _db_set_ prototype
      dbug/user.r:
        negative lists and function/ syntax.
      fe7287f8
    • unknown's avatar
      Removing expected errors from slave from the warnings file. · eca69689
      unknown authored
      
      mysql-test/lib/mtr_report.pl:
        Removing some expected warnings and errors from the slave for
        tests rpl_idempotency and rpl_skip_error.
      eca69689
    • unknown's avatar
      Bug #34244 Test ndb_binlog_log_bin fails for 'drop table if · 5d66c356
      unknown authored
                 exists t1,t2,t3'
      Bug #34245 Test ndb_binlog_multi fails for 'CREATE TABLE'
      Bug #34246 Test rpl_ndb_transaction fails with 'Failed to create
                 'mysql/ndb_apply_status'
      
      Tests cases didn't wait for cluster to come up due to a typo
      in have_multi_ndb.inc.
      
      
      mysql-test/include/have_multi_ndb.inc:
        SHOW TABLES is case-sensitive in the pattern to LIKE.
      mysql-test/suite/ndb/t/disabled.def:
        Enabling tests.
      mysql-test/suite/rpl_ndb/t/rpl_ndb_transaction.test:
        Adding include of have_debug since test requires that.
      sql/sql_repl.cc:
        Replacing 'return' with 'DBUG_RETURN' in debug-traced function.
      5d66c356
  6. 02 Feb, 2008 2 commits
  7. 01 Feb, 2008 4 commits
    • unknown's avatar
      fix for recovery unit test under Unix · 6483b845
      unknown authored
      
      storage/maria/unittest/ma_test_recovery.pl:
        Perl magic does something unexpected with $suffix is ""
      6483b845
    • unknown's avatar
      Fix for Windows-specific bugs: · 4a1763e4
      unknown authored
      - one which led REDO_INSERT_ROW_BLOBS to fail to apply
      - one excess close ("-1 file left open")
      Don't need maria-path option / environment variable.
      Fixes for ma_test_all-t to run under Windows.
      Port of ma_test_recovery to Perl, written by Jani.
      
      
      storage/maria/unittest/ma_test_recovery.expected:
        Rename: storage/maria/ma_test_recovery.expected -> storage/maria/unittest/ma_test_recovery.expected
      mysys/my_pread.c:
        Fix for Windows-specific bug (maria_read_log -a failed during
        ma_test_all-t): Windows does not have pread() so the branch setting
        HA_ERR_FILE_TOO_SHORT was not compiled in, broke applying of
        REDO_INSERT_ROW_BLOBS. After fixing that, it appeared that in my
        Windows machine, errno is not changed in case of EOF; as we read it
        we have to reset it at start.
        The changed to readbytes!=-1 is to detect EOF
      mysys/my_read.c:
        The change to readbytes!=-1 is to detect EOF
      storage/maria/ma_loghandler.c:
        Fix for Windows-specific bug: as we don't open the directory
        we should not close it.
      storage/maria/ma_page.c:
        This is C, cannot declare variable after instruction.
      storage/maria/ma_test_recovery:
        ma_test_recovery.expected moved
      storage/maria/unittest/ma_test_all-t:
        Can now safely guess maria_path so don't need the command-line option
        or environment variable. Port to Windows (.exe, different locations
        of executables); can guess suffix, don't need --suffix.
      storage/maria/unittest/ma_test_recovery.pl:
        Perl version of ma_test_recovery, written by Jani. Will deprecate the
        shell version.
      4a1763e4
    • unknown's avatar
      Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rpl-merge · 10aaf68b
      unknown authored
      into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl-merge
      
      
      client/mysqlbinlog.cc:
        Auto merged
      10aaf68b
    • unknown's avatar
      Fixes to make tests pass in pushbuild. · f72adc70
      unknown authored
      
      mysql-test/suite/binlog/r/binlog_row_mix_innodb_myisam.result:
        Result change.
      mysql-test/suite/binlog/t/binlog_start_comment.test:
        Removing --short-form since that cause test to fail.
      f72adc70