1. 12 Feb, 2008 1 commit
    • unknown's avatar
      configure.in: · 1b86853d
      unknown authored
        Set version to 5.1.23a-maria-alpha
      
      
      configure.in:
        Set version to 5.1.23a-maria-alpha
      1b86853d
  2. 11 Feb, 2008 14 commits
    • unknown's avatar
      Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-maria · ccd83f1f
      unknown authored
      into  oleksandr-byelkins-powerbook-g4-15.local:/Users/bell/mysql/bk/mysql-maria
      
      
      ccd83f1f
    • unknown's avatar
      Comparison between signed and unsigned fixed. · 3aaa0f60
      unknown authored
      
      storage/maria/ma_loghandler.c:
        Fixed comparison of signed and unsigned.
      3aaa0f60
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-maria · 5aa5ed87
      unknown authored
      into  gbichot4.local:/home/mysql_src/mysql-maria-monty
      
      
      5aa5ed87
    • unknown's avatar
      fix for non-debug build · cd5b213d
      unknown authored
      cd5b213d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-maria · 3056d07a
      unknown authored
      into  mysql.com:/home/my/mysql-maria
      
      
      3056d07a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-maria · d3996f2f
      unknown authored
      into  mysql.com:/home/my/mysql-maria
      
      
      d3996f2f
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-maria · 17b90389
      unknown authored
      into  gbichot4.local:/home/mysql_src/mysql-maria-monty
      
      
      17b90389
    • unknown's avatar
      Add warning of TRANSACTIONAL=1 is used with handler that doesn't support it · 315d7b34
      unknown authored
      Added hton_name() and handler->engine_name() and use these when appropriate
      
      
      KNOWN_BUGS.txt:
        Added some of the known bugs
      mysql-test/r/maria.result:
        Added test for TRANSACTIONAL=1
      mysql-test/r/myisam.result:
        Added test for TRANSACTIONAL=1
      mysql-test/t/maria.test:
        Added test for TRANSACTIONAL=1
      mysql-test/t/myisam.test:
        Added test for TRANSACTIONAL=1
      sql/handler.cc:
        ha_resolve_storage_engine_name() -> hton_name()
      sql/handler.h:
        Added hton_name() and handler->engine_name()
      sql/set_var.cc:
        Use hton_name()
      sql/sql_table.cc:
        Add warning of TRANSACTIONAL=1 is used with handler that doesn't support it
        Indentation fixes
        ha_resolve_storage_engine_name() -> hton_name()
      sql/sql_tablespace.cc:
        ha_resolve_storage_engine_name() -> hton_name()
        Indentation fixes
      sql/sql_yacc.yy:
        ha_resolve_storage_engine_name() -> hton_name()
      sql/unireg.cc:
        ha_resolve_storage_engine_name() -> hton_name()
        Indentation fixes
      315d7b34
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-maria · fa8fad74
      unknown authored
      into  mysqlwin32.:C:/mysql-maria
      
      
      fa8fad74
    • unknown's avatar
      A new option for maria_chk: --zerofill-keep-lsn. This will be used · d2a3bf33
      unknown authored
      by ma_test_recovery.pl when it happens that Recovery does not recreate
      pages exactly as they were at first run: this option will help us
      verify that the differences are in unimportant page pieces (those pieces
      will be zeroed by --zerofill-keep-lsn, but not the important LSNs).
      
      
      include/myisamchk.h:
        new zerofill flag for maria_chk
      storage/maria/ma_check.c:
        If T_ZEROFILL_KEEP_LSN, we don't zero out LSNs of data/index pages.
        Then the table is not movable. We still mark it zerofilled, it helps
        to know what was last done to the table.
      storage/maria/maria_chk.c:
        New option --zerofill-keep-lsn
      d2a3bf33
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-maria · 8633d633
      unknown authored
      into  mysqlwin32.:C:/mysql-maria
      
      
      8633d633
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new-rpl · 2944f4b0
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-maria
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/slave.h:
        Auto merged
      sql/share/errmsg.txt:
        Auto merged
      include/my_base.h:
        merged
      2944f4b0
    • unknown's avatar
      Problem: pushbuild has sporadic errors during startup of · 2942c1ea
      unknown authored
      rpl_ndb_rep_ignore
      Reason: previous test, rpl_ndb_2multi_eng, does not sync slave with master
      after cleanup, so tables are sometimes left on slave
      Fix: sync_slave_with_master
      
      
      mysql-test/extra/rpl_tests/rpl_ndb_2multi_eng.test:
        Wait until drop table is replicated to slave before terminating. (The
        extra table caused sporadic errors in the next test case, causing
        pushbuild to fail.)
      2942c1ea
    • unknown's avatar
      Fix for failures of ma_control_file-t, ma_test_loghandler_purge-t, · 30573786
      unknown authored
      ma_test_loghandler_pagecache-t on Windows.
      
      
      storage/maria/ma_control_file.c:
        stat() is unreliable on Windows (does not reflect process' own writes)
      storage/maria/ma_loghandler.c:
        translog_set_lsn_for_files() didn't close its file descriptor; it was
        a real problem as non-closed files could not be purged.
        Same for translog_truncate_log() in case of error.
      storage/maria/unittest/ma_test_loghandler_pagecache-t.c:
        stat() is unreliable on Windows (does not reflect process' own writes)
      30573786
  3. 09 Feb, 2008 2 commits
  4. 08 Feb, 2008 8 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
      BUG#33247: mysqlbinlog does not clean up after itself on abnormal termination · 5db7ee3e
      unknown authored
      Problem: mysqlbinlog does not free memory if an error happens.
      Fix: binlog-processing functions do not call exit() anymore. Instead, they
      print an error and return an error code. Error codes are propagated all
      the way back to main, and all allocated memory is freed on the way.
      
      
      client/mysqlbinlog.cc:
        - New error handling policy: functions processing binlogs don't just
          exit() anymore. Instead, they print a message and return an error
          status.
        - New policy for the global `mysql' and `glob_description_event': these
          are not passed as parameters anymore. The global pointer is used
          instead.
        - More error situations are detected and reported.
        - Better error messages: the program never terminates with exit status 1
          without explanation any more. Fixed spelling errors. Use consistent
          format of messages (a single line beginning with "ERROR: " or
          "WARNING: " and ending with "." is printed to stderr.)
        - New memory handling: memory is always freed on program termination.
        - Better comments: more functions are explained, doxygen is used, and
          more precise formulations in some existing comments.
      mysql-test/suite/binlog/r/binlog_base64_flag.result:
        Result file updated since output format of mysqlbinlog changed while the
        test was disabled.
      mysql-test/suite/binlog/t/binlog_killed.test:
        Mysqlbinlog now works as described when the binlog is open. Hence, the
        --force-if-open flag must be passed
      mysql-test/suite/binlog/t/binlog_killed_simulate.test:
        Mysqlbinlog now works as described when the binlog is open. Hence, the
        --force-if-open flag must be passed
      mysql-test/suite/binlog/t/disabled.def:
        Now that mysqlbinlog cleans up after itself on abnormal termination, we
        can enable this test again.
      5db7ee3e
    • 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
  5. 07 Feb, 2008 12 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
      WL#4078: Document binary format of binlog entries · 187e5c5f
      unknown authored
      Documented Table_map_log_event and packed integer format. Improved
      other documentation. No change outside comments.
      
      
      sql/log_event.h:
        Documented Table_map_log_event and packed integer format. Improved
        other documentation. No change outside comments.
      187e5c5f
    • 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
      Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.1 · 1c48bea2
      unknown authored
      into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
      
      
      mysql-test/suite/binlog/t/binlog_old_versions.test:
        Auto merged
      1c48bea2
    • unknown's avatar
      Renaming some saved binary log files to avoid 99 characters · 2a482933
      unknown authored
      limit for v7 tar.
      
      
      mysql-test/suite/binlog/std_data/ver_5_1_17.001:
        Rename: mysql-test/suite/binlog/std_data/binlog_old_version_5_1_17.000001 -> mysql-test/suite/binlog/std_data/ver_5_1_17.001
      mysql-test/suite/binlog/std_data/ver_5_1_23.001:
        Rename: mysql-test/suite/binlog/std_data/binlog_old_version_5_1_23.000001 -> mysql-test/suite/binlog/std_data/ver_5_1_23.001
      mysql-test/suite/binlog/std_data/ver_5_1-telco.001:
        Rename: mysql-test/suite/binlog/std_data/binlog_old_version_5_1-telco.000001 -> mysql-test/suite/binlog/std_data/ver_5_1-telco.001
      mysql-test/suite/binlog/std_data/ver_5_1-wl2325_r.001:
        Rename: mysql-test/suite/binlog/std_data/binlog_old_version_5_1-wl2325_row.000001 -> mysql-test/suite/binlog/std_data/ver_5_1-wl2325_r.001
      mysql-test/suite/binlog/std_data/ver_5_1-wl2325_s.001:
        Rename: mysql-test/suite/binlog/std_data/binlog_old_version_5_1-wl2325_stm.000001 -> mysql-test/suite/binlog/std_data/ver_5_1-wl2325_s.001
      mysql-test/suite/binlog/std_data/bug32407.001:
        Rename: mysql-test/suite/binlog/std_data/binlog-bug32407.000001 -> mysql-test/suite/binlog/std_data/bug32407.001
      2a482933
    • unknown's avatar
      midding DBUG_RETURN · 033cba83
      unknown authored
      033cba83
    • unknown's avatar
      Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.1 · 3b44afb0
      unknown authored
      into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
      
      
      sql/slave.cc:
        Auto merged
      3b44afb0
    • unknown's avatar
      Disabling declaration of debug variable for non-debug builds. · 7144184c
      unknown authored
      
      sql/slave.cc:
        Disabling declaration in non-debug builds.
      7144184c
    • unknown's avatar
      Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.1 · 5cb34d74
      unknown authored
      into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl
      
      
      sql/slave.cc:
        Auto merged
      sql/sql_binlog.cc:
        Auto merged
      5cb34d74
  6. 06 Feb, 2008 3 commits