1. 30 Dec, 2007 2 commits
    • unknown's avatar
      Maria: when logs have been manually deleted, last_logno and last_checkpoint_lsn · 345451ce
      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.
      345451ce
    • unknown's avatar
      dbug/remove_function_from_trace.pl · f2139087
      unknown authored
      
      dbug/remove_function_from_trace.pl:
        New BitKeeper file ``dbug/remove_function_from_trace.pl''
      f2139087
  2. 28 Dec, 2007 1 commit
  3. 27 Dec, 2007 3 commits
    • unknown's avatar
      after merge · 4140f76f
      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
      4140f76f
    • unknown's avatar
      Merge janus.mylan:/usr/home/serg/Abk/mysql-5.1 · 7fdbc423
      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
      7fdbc423
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · c1350b87
      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
      c1350b87
  4. 24 Dec, 2007 1 commit
    • unknown's avatar
      Added a missing file. · 77cc781d
      unknown authored
      
      storage/maria/unittest/ma_test_all-t:
        BitKeeper file /home/my/bk/mysql-maria/storage/maria/unittest/ma_test_all-t
      77cc781d
  5. 21 Dec, 2007 10 commits
  6. 20 Dec, 2007 11 commits
    • unknown's avatar
      merged · fd1b1421
      unknown authored
      fd1b1421
    • unknown's avatar
      variables.result, variables.test: · 1390bdb8
      unknown authored
        test case fixed
      
      
      mysql-test/r/variables.result:
        test case fixed
      mysql-test/t/variables.test:
        test case fixed
      1390bdb8
    • unknown's avatar
      after merge fix in mysqld.cc: · 1548cb67
      unknown authored
        added missing status variables (assert works! :)
      
      
      sql/mysqld.cc:
        added missing status variables (assert works! :)
      1548cb67
    • unknown's avatar
      my_atomic-t.c: · 3e756a80
      unknown authored
        gcc bug workaround
      
      
      unittest/mysys/my_atomic-t.c:
        gcc bug workaround
      3e756a80
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 295732b5
      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
      295732b5
    • unknown's avatar
      BUG#33057 mysql command line client slows down and uses 100% CPU when restoring dump · 6dd1f417
      unknown authored
      
      client/mysql.cc:
        BUG#33057, avoid calling strlen() *for every single character* in the client's input
      6dd1f417
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-arch · 77538eeb
      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
      77538eeb
    • unknown's avatar
      client_priv.h: · 9603ebc4
      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
      9603ebc4
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-maria · 3fa2803a
      unknown authored
      into  a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-maria.hasky
      
      
      storage/maria/ma_key_recover.c:
        Auto merged
      3fa2803a
    • unknown's avatar
      Fixes to merge. · efd91dff
      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.
      efd91dff
    • unknown's avatar
      Write failure callback added. · bf9c8b8a
      unknown authored
      
      storage/maria/ma_key_recover.c:
        Initialization fixed (by Monty)
      bf9c8b8a
  7. 19 Dec, 2007 7 commits
    • unknown's avatar
      Merge janus.mylan:/usr/home/serg/Abk/mysql-5.0 · 9bf48856
      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
      9bf48856
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 172a33be
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      172a33be
    • unknown's avatar
      Merge janus.mylan:/usr/home/serg/Abk/mysql-5.0 · 82aee4ef
      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
      82aee4ef
    • unknown's avatar
      correct invalid values in SET GLOBAL var=DEFAULT · 154933ec
      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
      154933ec
    • unknown's avatar
      SHOW_VAR arrays are null-terminated :-[] · 25fa7692
      unknown authored
      25fa7692
    • unknown's avatar
      Followup for bug#30252. · 604b3982
      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.
      604b3982
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 881b405d
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-5.1
      
      
      881b405d
  8. 18 Dec, 2007 5 commits
    • unknown's avatar
      typo fixed · 6a26d4bb
      unknown authored
      6a26d4bb
    • unknown's avatar
      solaris fixes · 4220afa5
      unknown authored
      
      include/lf.h:
        Forte fixes
      4220afa5
    • unknown's avatar
      - Clean up function for my_uuid() · 389dcccb
      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
      389dcccb
    • unknown's avatar
      Sort class handler public declarations. · 554599e8
      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.
      554599e8
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · cd7cfc2a
      unknown authored
      into  janus.mylan:/usr/home/serg/Abk/mysql-5.1
      
      
      cd7cfc2a