1. 09 Feb, 2008 1 commit
  2. 08 Feb, 2008 7 commits
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/maria/mysql-5.1-release · afa95c68
      unknown authored
      into  mysql.com:/home/kent/bk/maria/mysql-maria
      
      
      extra/yassl/src/handshake.cpp:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      afa95c68
    • unknown's avatar
      Correcting assertion · e9a89f12
      unknown authored
      
      storage/maria/ha_maria.cc:
        start_stmt() is passed thr_lock_type (TL_*), not int F_*.
        Though tt does not seem to matter here, F_UNLCK == TL_UNLOCK == 0
        at least on Linux and Windows.
      e9a89f12
    • unknown's avatar
      ma_pagecache.c: · 5520ddfb
      unknown authored
        SCCS merged
      
      
      storage/maria/ma_pagecache.c:
        SCCS merged
      5520ddfb
    • unknown's avatar
      BUG#34089 "Maria crash on LOAD INDEX after FLUSH TABLES" · c5abb8f8
      unknown authored
      a typo had not disable LOAD INDEX for Maria.
      BUG#34161 "freeing maria tmp table after fetching rows using prepared statements - crashes"
      running the testcase I was not able to repeat the same crash but
      found a misplaced assertion giving false positive, fixed here.
      
      
      storage/maria/ha_maria.cc:
        important typo
      storage/maria/ma_pagecache.c:
        The assertion on block's type should be after read_block(). Otherwise
        it can give false alarms.
      c5abb8f8
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-maria · 01336db3
      unknown authored
      into  mysqlwin32.:C:/mysql-maria
      
      
      01336db3
    • unknown's avatar
      Fix for bug in log handler observed when running maria-big · d783c011
      unknown authored
      and then maria-connect under Windows 32-bit Visual Studio 2003.
      Build of all Maria unit tests under Windows.
      
      
      storage/maria/ma_loghandler.c:
        Assertion contributed by Sanja. Working around my_stat() bug on Windows
        (st_size is long i.e. 32-bit signed, the file was slightly bigger than
        2GB, so st_size was negative, TRANSLOG_PAGE_SIZE was int, so the
        comparison was done using long, so st_size was still negative in
        the comparison, which was incorrect). Two fixes: cast st_size to uint32
        (belt) and make TRANSLOG_PAGE_SIZE unsigned (suspenders).
        Of course 'long' is not enough for files >=4GB, but all log files of
        Maria are <4GB. The general problem of my_stat() has been passed on to
        our Windows team.
      storage/maria/ma_loghandler.h:
        use unsigned ints for constants which represent sizes of pages, files...
      storage/maria/unittest/CMakeLists.txt:
        a few unit tests were not built under Windows
      d783c011
    • unknown's avatar
      Postmerge mac compiler warnings fixed. · 0a0c6041
      unknown authored
      0a0c6041
  3. 07 Feb, 2008 6 commits
    • unknown's avatar
      Merge oleksandr-byelkins-powerbook-g4-15.local:/Users/bell/mysql/bk/mysql-maria · b03e6035
      unknown authored
      into  oleksandr-byelkins-powerbook-g4-15.local:/Users/bell/mysql/bk/work-maria-wrn
      
      
      storage/maria/ma_blockrec.c:
        Auto merged
      storage/maria/ma_check.c:
        Auto merged
      storage/maria/ma_control_file.c:
        Auto merged
      storage/maria/ma_key_recover.c:
        Auto merged
      storage/maria/ma_page.c:
        Auto merged
      storage/maria/ma_pagecache.c:
        Auto merged
      storage/maria/ma_recovery.c:
        Auto merged
      b03e6035
    • unknown's avatar
      Mac compiler warnings fixed. · 311d8e89
      unknown authored
      
      include/maria.h:
        mac compiler warnings fixed.
      storage/maria/ma_bitmap.c:
        mac compiler warnings fixed.
      storage/maria/ma_blockrec.c:
        mac compiler warnings fixed.
      storage/maria/ma_check.c:
        mac compiler warnings fixed.
      storage/maria/ma_control_file.c:
        mac compiler warnings fixed.
      storage/maria/ma_create.c:
        mac compiler warnings fixed.
      storage/maria/ma_delete.c:
        mac compiler warnings fixed.
      storage/maria/ma_ft_boolean_search.c:
        mac compiler warnings fixed.
      storage/maria/ma_page.c:
        mac compiler warnings fixed.
      storage/maria/ma_pagecache.c:
        mac compiler warnings fixed.
      storage/maria/ma_recovery.c:
        mac compiler warning fixed.
      storage/maria/ma_rt_test.c:
        mac compiler warnings fixed.
      storage/maria/ma_search.c:
        mac compiler warning fixed.
      storage/maria/ma_write.c:
        mac compiler warnings fixed.
      storage/maria/unittest/ma_control_file-t.c:
        mac compiler warnings fixed.
      storage/maria/unittest/ma_pagecache_consist.c:
        mac compiler warnings fixed.
      storage/maria/unittest/ma_pagecache_single.c:
        mac compiler warnings fixed.
      storage/maria/unittest/ma_test_loghandler_pagecache-t.c:
        mac compiler warning fixed.
      storage/maria/unittest/test_file.c:
        mac compiler warning fixed.
      311d8e89
    • unknown's avatar
      missing DBUG_VOID_RETURN · 833a1320
      unknown authored
      
      BUILD/SETUP.sh:
        no need to force stack direction anymore
      833a1320
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-maria · a9ecb79e
      unknown authored
      into  mysqlwin32.:C:/mysql-maria
      
      
      a9ecb79e
    • unknown's avatar
      Fixes for DBUG_ABORT() · 0954594b
      unknown authored
      
      BitKeeper/deleted/.del-.tree-is-private:
        Delete: .tree-is-private
      include/my_dbug.h:
        To disable the popup of abort() we use _CrtReportMode/File()
        (thanks Wlad)
      mysys/my_thr_init.c:
        Visual Studio 2005 does not allow overloading library functions.
      0954594b
    • unknown's avatar
      midding DBUG_RETURN · 033cba83
      unknown authored
      033cba83
  4. 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
  5. 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
  6. 04 Feb, 2008 8 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-maria · 99b3d018
      unknown authored
      into  mysqlwin32.:C:/mysql-maria
      
      
      storage/maria/unittest/ma_test_recovery.pl:
        Auto merged
      99b3d018
    • unknown's avatar
      Minor test fixes · 0543c5f0
      unknown authored
      
      mysql-test/include/wait_until_connected_again.inc:
        On Windows, mysqladmin does not wait on pid file when it has shut down
        mysqld. Thus, in maria_empty_logs.inc, wait_until_connected_again.inc
        can run while mysqld is shutting down (has not finished) and so
        get "shutdown in progress" instead of "can't connect".
      mysql-test/t/maria-recovery-big.test:
        it is a big test
      storage/maria/unittest/ma_test_recovery.pl:
        We want to see the result of 'cmp', like in the shell version
      0543c5f0
    • unknown's avatar
      Fixing result change after merge. · 99f67290
      unknown authored
      
      mysql-test/suite/rpl/r/rpl_user.result:
        Result change.
      99f67290
    • unknown's avatar
      Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rpl-merge · 5716a699
      unknown authored
      into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl-merge
      
      
      mysql-test/suite/rpl/r/rpl_user.result:
        Manual merge.
      5716a699
    • unknown's avatar
      Updating result file. · 74bd1b0f
      unknown authored
      
      mysql-test/r/rpl_user.result:
        Result change.
      74bd1b0f
    • unknown's avatar
      Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rpl-merge · 1bc4867d
      unknown authored
      into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl-merge
      
      
      mysql-test/suite/rpl/t/rpl_user.test:
        Manual merging.
      1bc4867d
    • unknown's avatar
      Fixes to make rpl_user test pass in pushbuild. · 86260ead
      unknown authored
      
      mysql-test/t/rpl_user.test:
        Removing redundant reset master and deleting users from master
        and slave without using binary log.
      86260ead
    • unknown's avatar
      More fixes to remove test failures in pushbuild. · 4a52cbaa
      unknown authored
      
      mysql-test/suite/rpl/r/rpl_row_trig001.result:
        Result change.
      mysql-test/suite/rpl/t/rpl_row_trig001.test:
        Correcting a typo and trying to avoid a race condition when
        dumping the contents of the master and slave for comparison.
      4a52cbaa