1. 27 Dec, 2007 2 commits
    • 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
  2. 21 Dec, 2007 9 commits
  3. 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
  4. 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
  5. 18 Dec, 2007 10 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
    • unknown's avatar
      Merge damien-katzs-computer.local:/Users/dkatz/mysql-5.1-runtime · fba0a6db
      unknown authored
      into  damien-katzs-computer.local:/Users/dkatz/Com_create_function
      
      
      sql/mysqld.cc:
        Auto merged
      fba0a6db
    • unknown's avatar
      Merge jani@marvel:/my/bk/mysql-maria.new · 765caec2
      unknown authored
      into  hynda.mysql.fi:/home/my/mysql-maria
      
      
      include/my_sys.h:
        Auto merged
      include/myisam.h:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/binlog_unsafe.result:
        Auto merged
      mysql-test/suite/rpl/t/rpl_innodb_bug28430.test:
        Auto merged
      mysys/my_write.c:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_plugin.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_union.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      storage/myisam/ha_myisam.cc:
        Auto merged
      storage/myisam/ha_myisam.h:
        Auto merged
      storage/myisam/mi_check.c:
        Auto merged
      storage/myisam/mi_open.c:
        Auto merged
      include/my_base.h:
        Manual merge. New error code.
      765caec2
    • unknown's avatar
      a7405ca4
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-maria · 630169c6
      unknown authored
      into  mysql.com:/home/my/mysql-maria
      
      
      include/my_base.h:
        Auto merged
      mysql-test/r/maria.result:
        Auto merged
      sql/handler.h:
        Auto merged
      storage/maria/ha_maria.cc:
        Auto merged
      630169c6
    • unknown's avatar
      Fixed several bugs in page CRC handling · 30d3d8d3
      unknown authored
      - Ignore CRC errors in REDO for potential new pages
      - Ignore CRC errors when repairing tables
      - Don't do readcheck callback on read error
      - Set my_errno to HA_ERR_WRONG_CRC if we find page with wrong CRC
      - Check index page for length before calculating CRC to catch bad pages
      Fixed bugs where we used wrong file descriptor to read/write bitmaps
      Fixed wrong hash key in 'files_in_flush'
      Fixed wrong lock method when writing bitmap
      Fixed some wrong printf statements in check/repair that caused core dumps
      Fixed argument to translog_page_validator that cause reading of log files to fail
      Store number of bytes used for delete-linked key pages to be able to use standard index CRC for deleted key pages.
      Use fast 'dummy' pagecheck callbacks for temporary tables
      Don't die silently if flush finds pinned pages
      Give error (for now) if one tries to create a transactional table with fulltext or spatial keys
      Removed some not needed calls to pagecache_file_init()
      Added checking of pagecache checksums to ma_test1 and ma_test2
      More DBUG
      Fixed some DBUG_PRINT to be in line with rest of the code
      
      
      include/my_base.h:
        Added HA_ERR_INTERNAL_ERROR (used for flush with pinned pages) and HA_ERR_WRONG_CRC
      mysql-test/r/binlog_unsafe.result:
        Added missing DROP VIEW statement
      mysql-test/r/maria.result:
        Added TRANSACTIONAL=0 when testing with fulltext keys
        Added test that verifies we can't yet create transactional test with fulltext or spatial keys
      mysql-test/r/ps_maria.result:
        Added TRANSACTIONAL=0 when testing with fulltext keys
      mysql-test/t/binlog_unsafe.test:
        Added missing DROP VIEW statement
      mysql-test/t/maria.test:
        Added TRANSACTIONAL=0 when testing with fulltext keys
        Added test that verifies we can't yet create transactional test with fulltext or spatial keys
      mysql-test/t/ps_maria.test:
        Added TRANSACTIONAL=0 when testing with fulltext keys
      mysys/my_fopen.c:
        Fd: -> fd:
      mysys/my_handler.c:
        Added new error messages
      mysys/my_lock.c:
        Fd: -> fd:
      mysys/my_pread.c:
        Fd: -> fd:
      mysys/my_read.c:
        Fd: -> fd:
      mysys/my_seek.c:
        Fd: -> fd:
      mysys/my_sync.c:
        Fd: -> fd:
      mysys/my_write.c:
        Fd: -> fd:
      sql/mysqld.cc:
        Fixed wrong argument to my_uuid_init()
      sql/sql_plugin.cc:
        Unified DBUG_PRINT (for convert-dbug-for-diff)
      storage/maria/ma_bitmap.c:
        Fixed wrong lock method when writing bitmap
        Fixed valgrind error
        Use fast  'dummy' pagecheck callbacks for temporary tables
        Faster bitmap handling for non transational tables
      storage/maria/ma_blockrec.c:
        Fixed that bitmap reading is done with the correct filehandle
        Handle reading of pages with wrong CRC when page contect doesn't matter
        Use the page buffer also when we get WRONG CRC or FILE_TOO_SHORT. (Faster and fixed a couple of bugs)
      storage/maria/ma_check.c:
        Split long strings for readablity
        Fixed some wrong printf statements that caused core dumps
        Use bitmap.file for bitmaps
        Ignore pages with wrong CRC
      storage/maria/ma_close.c:
        More DBUG_PRINT
      storage/maria/ma_create.c:
        Give error (for now) if one tries to create a crash safe table with fulltext or spatial keys
      storage/maria/ma_key_recover.c:
        Ignore HA_ERR_WRONG_CRC for new pages
        info->s  ->  share
        Store number of bytes used for delete-linked key pages to be able to use standard index CRC for deleted key pages.
      storage/maria/ma_loghandler.c:
        Fixed argument to translog_page_validator()
      storage/maria/ma_open.c:
        Removed old VMS specific code
        Added function to setup pagecache callbacks
        Moved code around to set 'share->temporary' early
        Removed some not needed calls to pagecache_file_init()
      storage/maria/ma_page.c:
        Store number of bytes used for delete-linked key pages to be able to use standard index CRC for deleted key pages.
      storage/maria/ma_pagecache.c:
        Don't do readcheck callback on read error
        Reset PCBLOCK_ERROR in pagecache_unlock_by_link() if we write page
        Set my_errno to HA_ER_INTERNAL_ERROR if flush() finds pinned pages
        Don't die silently if flush finds pinned pages.
        Use correct file descriptor when flushing pages
        Fixed wrong hash key in 'files_in_flush';  This must be the file descriptor, not the PAGECACHE_FILE as there may be several PAGECACHE_FILE for same file descriptor
        More DBUG_PRINT
      storage/maria/ma_pagecrc.c:
        Removed inline from not tiny static function
        Set my_errno to HA_ERR_WRONG_CRC if we find page with wrong CRC
        (Otherwise my_errno may be 0, and a lot of other code will be confused)
        CRCerror -> error (to keep code uniform)
        Print crc with %lu, as in my_checksum()
        uchar* -> uchar *
        Check index page for length before calculating CRC to catch bad pages
        Added 'dummy' crc_check and filler functions that are used for temporary tables
      storage/maria/ma_recovery.c:
        More DBUG
        More message to users to give information what phase failed
        Better error message if recovery failed
      storage/maria/ma_test1.c:
        Added checking of page checksums (combined with 'c' to not have to add more test runs)
      storage/maria/ma_test2.c:
        Added checking of page checksums (combined with 'c' to not have to add more test runs)
      storage/maria/maria_chk.c:
        Fixed wrong argument to _ma_check_print_error()
      storage/maria/maria_def.h:
        Added format information to _ma_check_print_xxxx functions
        uchar* -> uchar *
      30d3d8d3
  6. 17 Dec, 2007 1 commit