1. 11 Feb, 2008 1 commit
    • unknown's avatar
      Add warning of TRANSACTIONAL=1 is used with handler that doesn't support it · 1c3a96ed
      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
      1c3a96ed
  2. 09 Feb, 2008 1 commit
  3. 08 Feb, 2008 7 commits
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/maria/mysql-5.1-release · d406184e
      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
      d406184e
    • unknown's avatar
      Correcting assertion · 6761c498
      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.
      6761c498
    • unknown's avatar
      ma_pagecache.c: · a6c7eb1b
      unknown authored
        SCCS merged
      
      
      storage/maria/ma_pagecache.c:
        SCCS merged
      a6c7eb1b
    • unknown's avatar
      BUG#34089 "Maria crash on LOAD INDEX after FLUSH TABLES" · 593528fb
      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.
      593528fb
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-maria · dc4b257a
      unknown authored
      into  mysqlwin32.:C:/mysql-maria
      
      dc4b257a
    • unknown's avatar
      Fix for bug in log handler observed when running maria-big · 539bbaae
      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
      539bbaae
    • unknown's avatar
      Postmerge mac compiler warnings fixed. · 9637affb
      unknown authored
      9637affb
  4. 07 Feb, 2008 6 commits
    • unknown's avatar
      Merge oleksandr-byelkins-powerbook-g4-15.local:/Users/bell/mysql/bk/mysql-maria · 3bfa89bd
      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
      3bfa89bd
    • unknown's avatar
      Mac compiler warnings fixed. · 1dec5f9e
      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.
      1dec5f9e
    • unknown's avatar
      missing DBUG_VOID_RETURN · 237f7ae7
      unknown authored
      
      BUILD/SETUP.sh:
        no need to force stack direction anymore
      237f7ae7
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-maria · 58237d22
      unknown authored
      into  mysqlwin32.:C:/mysql-maria
      
      58237d22
    • unknown's avatar
      Fixes for DBUG_ABORT() · 60c7c7b8
      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.
      60c7c7b8
    • unknown's avatar
      midding DBUG_RETURN · 79031ccc
      unknown authored
      79031ccc
  5. 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
  6. 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
  7. 04 Feb, 2008 7 commits