1. 30 Dec, 2007 2 commits
    • unknown's avatar
      Maria: when logs have been manually deleted, last_logno and last_checkpoint_lsn · 1bba97d5
      unknown authored
      must be updated correctly. And Recovery should not assume that
      log 1 is available but just use first available log.
      
      
      mysql-test/r/maria-purge.result:
        result update
      mysql-test/t/maria-purge.test:
        like in other Maria tests (4294967296 is too big, causes warning)
      storage/maria/ma_loghandler.c:
        When log handler starts and discovers that logs are missing though
        control file says they should be there (they have been manually
        deleted), it decides to create a log
        with number last_logno+1. It needs to update control file with
        this new number, and also reset last_checkpoint_lsn to LSN_IMPOSSIBLE
        (last checkpoint went away when log was deleted).
        Fix for when translog_init() fails before allocating id_to_share
        (translog_destroy() tried to free NULL).
      storage/maria/ma_recovery.c:
        When logs have been manually deleted, translog_first_theoretical_lsn()
        always fails (it looks for log number 1). Recovery now uses
        translog_first_lsn_in_log() which just picks the first available log.
      1bba97d5
    • unknown's avatar
      dbug/remove_function_from_trace.pl · 057afb5f
      unknown authored
      
      dbug/remove_function_from_trace.pl:
        New BitKeeper file ``dbug/remove_function_from_trace.pl''
      057afb5f
  2. 28 Dec, 2007 1 commit
  3. 27 Dec, 2007 3 commits
    • unknown's avatar
      after merge · e17a9a5b
      unknown authored
      
      include/mysql/plugin.h:
        move declarations after merge
      mysql-test/r/change_user.result:
        more tests
      mysql-test/t/change_user.test:
        more tests
      mysys/my_getopt.c:
        remove wrong code
      BitKeeper/etc/ignore:
        Added libmysqld/sql_profile.cc to the ignore list
      e17a9a5b
    • unknown's avatar
      Merge janus.mylan:/usr/home/serg/Abk/mysql-5.1 · 03432e6d
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-maria
      
      
      Makefile.am:
        Auto merged
      configure.in:
        Auto merged
      BitKeeper/triggers/post-commit:
        Auto merged
      client/mysqldump.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      include/my_dbug.h:
        Auto merged
      include/mysql_com.h:
        Auto merged
      libmysql/CMakeLists.txt:
        Auto merged
      libmysqld/Makefile.am:
        Auto merged
      mysql-test/lib/mtr_report.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/t/disabled.def:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      server-tools/instance-manager/CMakeLists.txt:
        Auto merged
      server-tools/instance-manager/mysql_connection.cc:
        Auto merged
      sql/Makefile.am:
        Auto merged
      sql/filesort.cc:
        Auto merged
      sql/gen_lex_hash.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_partition.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/lex.h:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/net_serv.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/slave.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_select.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      sql/table.h:
        Auto merged
      storage/myisam/ha_myisam.cc:
        Auto merged
      storage/myisam/mi_open.c:
        Auto merged
      storage/myisammrg/ha_myisammrg.cc:
        Auto merged
      sql/handler.cc:
        merged
      sql/handler.h:
        merged
      sql/mysql_priv.h:
        merged
      sql/mysqld.cc:
        merged
      sql/set_var.cc:
        merged
      sql/sql_select.cc:
        merged
      sql/sql_show.cc:
        merged
      unittest/mysys/my_atomic-t.c:
        merged
      03432e6d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · f513f44b
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-5.1
      
      
      BitKeeper/triggers/post-commit:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      f513f44b
  4. 24 Dec, 2007 1 commit
    • unknown's avatar
      Added a missing file. · b00f6a5c
      unknown authored
      
      storage/maria/unittest/ma_test_all-t:
        BitKeeper file /home/my/bk/mysql-maria/storage/maria/unittest/ma_test_all-t
      b00f6a5c
  5. 21 Dec, 2007 10 commits
  6. 20 Dec, 2007 11 commits
    • unknown's avatar
      merged · 046c646e
      unknown authored
      046c646e
    • unknown's avatar
      variables.result, variables.test: · 5ce2ba2f
      unknown authored
        test case fixed
      
      
      mysql-test/r/variables.result:
        test case fixed
      mysql-test/t/variables.test:
        test case fixed
      5ce2ba2f
    • unknown's avatar
      after merge fix in mysqld.cc: · 86a198e8
      unknown authored
        added missing status variables (assert works! :)
      
      
      sql/mysqld.cc:
        added missing status variables (assert works! :)
      86a198e8
    • unknown's avatar
      my_atomic-t.c: · 2fe45bb5
      unknown authored
        gcc bug workaround
      
      
      unittest/mysys/my_atomic-t.c:
        gcc bug workaround
      2fe45bb5
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint · eae52b1c
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-5.1
      
      
      configure.in:
        Auto merged
      libmysql/CMakeLists.txt:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/t/information_schema.test:
        Auto merged
      sql/Makefile.am:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_geofunc.cc:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/key.cc:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/net_serv.cc:
        Auto merged
      sql/opt_sum.cc:
        Auto merged
      sql/protocol.h:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.h:
        Auto merged
      storage/archive/ha_archive.cc:
        Auto merged
      storage/innobase/buf/buf0buf.c:
        Auto merged
      storage/innobase/buf/buf0flu.c:
        Auto merged
      storage/innobase/buf/buf0lru.c:
        Auto merged
      storage/innobase/include/buf0buf.h:
        Auto merged
      storage/innobase/include/buf0buf.ic:
        Auto merged
      storage/innobase/include/sync0arr.h:
        Auto merged
      storage/innobase/include/sync0rw.h:
        Auto merged
      storage/innobase/include/sync0rw.ic:
        Auto merged
      storage/innobase/include/sync0sync.h:
        Auto merged
      storage/innobase/os/os0sync.c:
        Auto merged
      storage/innobase/sync/sync0arr.c:
        Auto merged
      storage/innobase/sync/sync0rw.c:
        Auto merged
      storage/innobase/sync/sync0sync.c:
        Auto merged
      storage/myisam/ha_myisam.cc:
        Auto merged
      storage/myisam/mi_open.c:
        Auto merged
      storage/myisammrg/ha_myisammrg.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        merged
      sql/item_cmpfunc.cc:
        merged
      sql/protocol.cc:
        merged
      sql/slave.cc:
        merged
      sql/sql_class.h:
        merged
      sql/sql_parse.cc:
        merged
      eae52b1c
    • unknown's avatar
      BUG#33057 mysql command line client slows down and uses 100% CPU when restoring dump · 9dfa4ce5
      unknown authored
      
      client/mysql.cc:
        BUG#33057, avoid calling strlen() *for every single character* in the client's input
      9dfa4ce5
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-arch · e9b32bb4
      unknown authored
      into  zim.(none):/home/bk/mysql-5.1-arch
      
      
      client/client_priv.h:
        Auto merged
      client/mysqlslap.c:
        Auto merged
      mysql-test/r/mysqlslap.result:
        Auto merged
      e9b32bb4
    • unknown's avatar
      client_priv.h: · 3087465c
      unknown authored
        Removed dead option
      mysqlslap.c:
        Updates from Paul for help.
        Removed dead option
      
      
      client/mysqlslap.c:
        Updates from Paul for help.
        Removed dead option
      client/client_priv.h:
        Removed dead option
      3087465c
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-maria · 17bda90a
      unknown authored
      into  a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-maria.hasky
      
      
      storage/maria/ma_key_recover.c:
        Auto merged
      17bda90a
    • unknown's avatar
      Fixes to merge. · 4dcbe2cb
      unknown authored
      
      mysql-test/r/maria.result:
        Fixed result file. The results will be fixed by Sergei's patch.
      mysql-test/t/variables.test:
        Fixed result file. The results will be fixed by Sergei's patch.
      mysys/my_getopt.c:
        Fixed a problem with manual merge.
      sql/set_var.cc:
        Fixed a problem with manual merge.
      sql/set_var.h:
        Fixed a problem with manual merge.
      sql/sql_plugin.cc:
        Removed unneccessary function call. This was forgotten from
        a previous patch.
      4dcbe2cb
    • unknown's avatar
      Write failure callback added. · 40d08699
      unknown authored
      
      storage/maria/ma_key_recover.c:
        Initialization fixed (by Monty)
      40d08699
  7. 19 Dec, 2007 7 commits
    • unknown's avatar
      Merge janus.mylan:/usr/home/serg/Abk/mysql-5.0 · 837d6d2d
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-5.1
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      storage/innobase/buf/buf0buf.c:
        Auto merged
      storage/innobase/buf/buf0flu.c:
        Auto merged
      storage/innobase/buf/buf0lru.c:
        Auto merged
      storage/innobase/include/buf0buf.h:
        Auto merged
      storage/innobase/include/buf0buf.ic:
        Auto merged
      storage/innobase/include/sync0arr.h:
        Auto merged
      storage/innobase/include/sync0rw.h:
        Auto merged
      storage/innobase/include/sync0rw.ic:
        Auto merged
      storage/innobase/include/sync0sync.h:
        Auto merged
      storage/innobase/os/os0sync.c:
        Auto merged
      storage/innobase/sync/sync0arr.c:
        Auto merged
      storage/innobase/sync/sync0rw.c:
        Auto merged
      storage/innobase/sync/sync0sync.c:
        Auto merged
      837d6d2d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 881cc5a0
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-5.0
      
      881cc5a0
    • unknown's avatar
      Merge janus.mylan:/usr/home/serg/Abk/mysql-5.0 · 1c76598b
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-5.1
      
      
      mysql-test/r/variables.result:
        Auto merged
      sql/set_var.cc:
        Auto merged
      mysql-test/t/variables.test:
        merged
      1c76598b
    • unknown's avatar
      correct invalid values in SET GLOBAL var=DEFAULT · a3ad4f87
      unknown authored
      bug#33382
      
      
      mysql-test/r/variables.result:
        typo in a test case
      mysql-test/t/variables.test:
        typo in a test case
      sql/set_var.cc:
        correct invalid values in SET GLOBAL var=DEFAULT
      a3ad4f87
    • unknown's avatar
      SHOW_VAR arrays are null-terminated :-[] · fd1cacdc
      unknown authored
      fd1cacdc
    • unknown's avatar
      Followup for bug#30252. · 255e9edb
      unknown authored
      Ensure that all SQLCOM_ constants have corresponding Com_ variables.
      
      
      mysql-test/r/status.result:
        Tests updated.
      sql/mysqld.cc:
        Followup for bug#30252.
        Rename few variables to match SQL syntax.
        Ensure that all SQLCOM_ constants have corresponding Com_ variables.
      255e9edb
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 0a3492c0
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-5.1
      
      0a3492c0
  8. 18 Dec, 2007 5 commits
    • unknown's avatar
      typo fixed · 056100ae
      unknown authored
      056100ae
    • unknown's avatar
      solaris fixes · a9d5a3ff
      unknown authored
      
      include/lf.h:
        Forte fixes
      a9d5a3ff
    • unknown's avatar
      - Clean up function for my_uuid() · e8bcebd2
      unknown authored
      - Merge fixes
      - "make test" for maria
      - Replaced ma_test_all with a perl version,
        which now can be run in unittest mode.
      
      
      include/my_sys.h:
        Added clean up function for my_uuid()
      mysql-test/r/create.result:
        Fixed result file.
      mysql-test/r/maria-big.result:
        Changed not to get a warning.
      mysql-test/r/maria-connect.result:
        Not to get a warning.
      mysql-test/r/maria-recovery.result:
        Not to get a warning.
      mysql-test/r/maria.result:
        Fixed result file. Added test for warning on log file.
      mysql-test/r/ps_maria.result:
        Fixed result file. New bit was added to source.
      mysql-test/t/maria-big.test:
        To avoid a warning.
      mysql-test/t/maria-connect.test:
        To avoid a warning.
      mysql-test/t/maria-recovery.test:
        To avoid a warning.
      mysql-test/t/maria.test:
        To avoid a warning.
      mysql-test/t/ps_maria.test:
        To avoid a warning.
      mysys/my_uuid.c:
        Added clean up function for my_uuid()
      sql/mysqld.cc:
        Manual merge.
      storage/maria/Makefile.am:
        Added "make test" for maria.
      storage/maria/ma_key_recover.c:
        Fix for maria_recovery
      storage/maria/ma_test_all.sh:
        Deprecated file. Functionality moved to
        unittest/ma_test_all-t
      BitKeeper/deleted/.del-unit.pl:
        BitKeeper file /home/my/mysql-maria/storage/maria/unit.pl
      e8bcebd2
    • unknown's avatar
      Sort class handler public declarations. · c0e18139
      unknown authored
      
      sql/handler.h:
        Collect ha_* wrappers and their virtual counterparts into two
        symmetrical groups. Previously they were scattered all over class
        handler declaration. That should ease maintenance and addition
        of new ha_ wrappers.
        When a new ha_* wrapper is added, it should be added to the
        end of the ha_* group. Its virtual counterpart should become private
        and be moved to the end of the hander class.
      c0e18139
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 54e431eb
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-5.1
      
      54e431eb