1. 21 Feb, 2008 1 commit
    • unknown's avatar
      Fixed problems with ma_test2 and mi_test2 on high-byte-first system · 140943de
      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''
      140943de
  2. 06 Feb, 2008 13 commits
    • unknown's avatar
      _db_strict_keyword_ is no more · 577d3698
      unknown authored
      577d3698
    • unknown's avatar
      df3502ca
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-maria · c71218c5
      unknown authored
      into  mysql.com:/home/my/mysql-maria
      
      c71218c5
    • unknown's avatar
      dbug/Makefile.am · 73f351d7
      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)
      73f351d7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-maria · 539ae15b
      unknown authored
      into  mysql.com:/home/my/mysql-maria
      
      539ae15b
    • unknown's avatar
    • unknown's avatar
      dbug/dbug.c · 6d7f997e
      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)
      6d7f997e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-maria · e2b4c18f
      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
      e2b4c18f
    • unknown's avatar
      ma_control_file.c: · 4bd3a99a
      unknown authored
        SCCS merged
      
      
      storage/maria/ma_control_file.c:
        SCCS merged
      4bd3a99a
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-maria · b1138311
      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
      b1138311
    • unknown's avatar
      Fixes for running maria-recovery*.test and maria-purge.test under · 67665c97
      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.
      67665c97
    • unknown's avatar
      after-merge · 2ca92318
      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
      2ca92318
    • unknown's avatar
      Lock control file also when we have created it in this run. Assertions. · ba964f42
      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.
      ba964f42
  3. 05 Feb, 2008 5 commits
    • unknown's avatar
      Merge janus.mylan:/usr/home/serg/Abk/mysql-5.1 · fab34d2d
      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
      fab34d2d
    • unknown's avatar
      cleanup · 4f5aa801
      unknown authored
      
      dbug/dbug.c:
        dbug naming conventions
      include/my_dbug.h:
        unused function
      4f5aa801
    • unknown's avatar
      Adding some more filtering for tests that kills queries and · aad6ca0f
      unknown authored
      cause sporadic, but benign, errors.
      
      
      mysql-test/lib/mtr_report.pl:
        Filtering out sporadic but benign error in rpl_err_ignoredtable.
      aad6ca0f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-maria · ba7db129
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-maria
      
      ba7db129
    • unknown's avatar
      Disabling test case binlog_old_version for embedded server. · ca9da416
      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.
      ca9da416
  4. 04 Feb, 2008 11 commits
  5. 03 Feb, 2008 4 commits
    • unknown's avatar
      ignore: · 6c9ff0d5
      unknown authored
        added dbug/tests
      
      
      BitKeeper/etc/ignore:
        added dbug/tests
      6c9ff0d5
    • unknown's avatar
      dbug: function/ (a.k.a. SUBDIR) syntax · 309836aa
      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.
      309836aa
    • unknown's avatar
      Removing expected errors from slave from the warnings file. · 58b27e72
      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.
      58b27e72
    • unknown's avatar
      Bug #34244 Test ndb_binlog_log_bin fails for 'drop table if · 66b33600
      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.
      66b33600
  6. 02 Feb, 2008 2 commits
  7. 01 Feb, 2008 4 commits
    • unknown's avatar
      fix for recovery unit test under Unix · c04ffcb1
      unknown authored
      
      storage/maria/unittest/ma_test_recovery.pl:
        Perl magic does something unexpected with $suffix is ""
      c04ffcb1
    • unknown's avatar
      Fix for Windows-specific bugs: · 8ac6a8c3
      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.
      8ac6a8c3
    • unknown's avatar
      Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rpl-merge · 4f8ba9c3
      unknown authored
      into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl-merge
      
      
      client/mysqlbinlog.cc:
        Auto merged
      4f8ba9c3
    • unknown's avatar
      Fixes to make tests pass in pushbuild. · 3f393a5e
      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.
      3f393a5e