1. 19 Jan, 2006 8 commits
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1-new into mysql.com:/home/hf/work/5.1.emb · f759a3b1
      unknown authored
      
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/handler.test:
        Auto merged
      mysql-test/t/mysql_client_test.test:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      f759a3b1
    • unknown's avatar
      Added two test cases that needs fixing · 92687cfa
      unknown authored
      92687cfa
    • unknown's avatar
      Fixes for broken tree · 2f0c7855
      unknown authored
      
      mysql-test/r/partition_02myisam.result:
        Added to test result
      mysql-test/t/disabled.def:
        New definition of disabled test cases
      2f0c7855
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-new · b7d974f1
      unknown authored
      into  c-0c0be253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1-new
      
      b7d974f1
    • unknown's avatar
      Embedded-server related tests fixes · 732556b1
      unknown authored
      
      BitKeeper/deleted/.del-ctype_cp932_notembedded.test~7c748e8e7ae6e7fe:
        Delete: mysql-test/t/ctype_cp932_notembedded.test
      mysql-test/r/innodb.result:
        result fixed
      mysql-test/r/query_cache.result:
        result fixed
      mysql-test/r/query_cache_notembedded.result:
        result fixed
      mysql-test/r/sp-error.result:
        result fixed
      mysql-test/r/sp.result:
        result fixed
      mysql-test/r/view.result:
        result fixed
      mysql-test/r/view_grant.result:
        result fixed
      mysql-test/t/sp-destruct.test:
        test disabled
      mysql-test/t/view.test:
        lines moved to view_grant.test
      mysql-test/t/view_grant.test:
        lines moved from view.test
      732556b1
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · f4ea7189
      unknown authored
      into  outpost.site:/home/cps/mysql/devel/mysql-5.1-logs-prepush
      
      f4ea7189
    • unknown's avatar
      WL1019: complete patch. Reapplied patch to the clean · f7bf702b
      unknown authored
      tree to get rid of multiple typos in CS comments and
      unify the patch.
      
      
      configure.in:
        CSV is compiled in by default now
      include/my_base.h:
        add new ha_extra flag for the log tables
      mysql-test/include/im_check_os.inc:
        we should only run im tests if csv is on for now: im relies
        on mysqld options available only in csv build.
      mysql-test/include/system_db_struct.inc:
        check log tables structure
      mysql-test/lib/init_db.sql:
        create log tables when running tests.
      mysql-test/mysql-test-run.pl:
        Add old logs flag to IM tests. As IM could only deal with
        old logs (this feature is not needed with log tables)
      mysql-test/r/connect.result:
        update result
      mysql-test/r/csv.result:
        update result
      mysql-test/r/im_utils.result:
        update result
      mysql-test/r/information_schema.result:
        update result
      mysql-test/r/mysqlcheck.result:
        update result
      mysql-test/r/show_check.result:
        update result
      mysql-test/r/system_mysql_db.result:
        update result
      mysql-test/t/connect.test:
        disable test if CSV engine is not in: result depends on the
        presence of CSV-based log tables
      mysql-test/t/csv.test:
        add tests for concurrent insert (the functionality is added
        to CSV in this patch)
      mysql-test/t/information_schema.test:
        disable test if CSV engine is not in: result depends on the
        presence of CSV-based log tables
      mysql-test/t/mysqlcheck.test:
        disable test if CSV engine is not in: result depends on the
        presence of CSV-based log tables
      mysql-test/t/show_check.test:
        disable test if CSV engine is not in: result depends on the
        presence of CSV-based log tables
      mysql-test/t/system_mysql_db.test:
        disable test if CSV engine is not in: result depends on the
        presence of CSV-based log tables
      mysql-test/t/system_mysql_db_fix.test:
        disable test if CSV engine is not in: result depends on the
        presence of CSV-based log tables
      scripts/mysql_create_system_tables.sh:
        new system tables: slow_log and general_log
      scripts/mysql_fix_privilege_tables.sql:
        add new log tables: use an SP to create them for
        non-csv build to work fine.
      sql/ha_myisam.cc:
        move locking-related checks to the hanlder
      sql/ha_myisam.h:
        new function declared
      sql/handler.h:
        new virtual function is added: we should check for handler-related
        locking issues in the handler
      sql/lock.cc:
        from now on we check for handler-related locking issues
        in the handler itself rather then in lock.cc
      sql/log.cc:
        Add log tables support, refactoring: there are log event
        handlers with common interface. They are used by the LOGGER
        class, which is responsible for their initialization, cleanup
        and managment. Logging to the tables provided by one of the
        log event handler types.
      sql/log.h:
        declare new log classes
      sql/log_event.cc:
        convert old logging routines calls to use new API
      sql/mysql_priv.h:
        define common log routines and objects
      sql/mysqld.cc:
        Add support for the log tables. Their initalization, cleanup
        and specific options.
      sql/share/errmsg.txt:
        add new error messages for the log tables
      sql/slave.cc:
        convert old logging routines calls to use new API
      sql/sql_base.cc:
        TABLE objects used by the logger should be skipped
        during refreshes (as log tables are always opened
        and locked). fix table_is_used to skip them.  This
        is needed for FLUSH LOGS to work
      sql/sql_db.cc:
        convert old logging routines calls to use new API
      sql/sql_delete.cc:
        fix TRUNCATE to work with log tables
      sql/sql_parse.cc:
        command_name is now an array of LEX_STRINGs
      sql/sql_prepare.cc:
        convert old logging routines calls to use new API
      sql/sql_show.cc:
        convert old logging routines calls to use new API
      sql/sql_table.cc:
        don't reoped the log tables for admin purposes
      sql/table.cc:
        mark log tables as such during the open
      sql/table.h:
        add log-related info
      storage/csv/ha_tina.cc:
        add support for concurrent insert (see bk commit - 5.1 tree
        (petr:1.1910) for standalone patch), add log tables-specific
        csv table handling.
      storage/csv/ha_tina.h:
        enable concurrent insert for CSV, add log table flag
      mysql-test/r/log_tables.result:
        New BitKeeper file ``mysql-test/r/log_tables.result''
      mysql-test/t/log_tables.test:
        New BitKeeper file ``mysql-test/t/log_tables.test''
      f7bf702b
    • unknown's avatar
      mysqlslap.c: · c4bffad5
      unknown authored
        Put options in standard order: --help first, then lexically.
        Rename --number-of-query to --number-of-queries.
      
      
      client/mysqlslap.c:
        Put options in standard order: --help first, then lexically.
        Rename --number-of-query to --number-of-queries.
      c4bffad5
  2. 18 Jan, 2006 13 commits
    • unknown's avatar
      BUG #16596 · 016bbd57
      unknown authored
      Moved init to lex_start
      
      
      sql/sql_lex.cc:
        Added init to lex_start
      sql/sql_yacc.yy:
        Removed init from CREATE INDEX code
      016bbd57
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 76871696
      unknown authored
      into  c-0c0be253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1-new
      
      76871696
    • unknown's avatar
      Bug fix · f8ce04e3
      unknown authored
      
      mysql-test/include/partition_1.inc:
        Drop table missing in test case
      sql/sql_partition.cc:
        Removed some dead code
      sql/sql_yacc.yy:
        initialised name that was missing
      f8ce04e3
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 8bb244e6
      unknown authored
      into  mysql.com:/space/pekka/ndb/version/my51
      
      8bb244e6
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1-new · cfdbf3a6
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.1.15910
      
      cfdbf3a6
    • unknown's avatar
      bug #15910 (Wrong value on error message) · fe7927e6
      unknown authored
      
      sql/ha_partition.cc:
        using llstr to covert lonlong to string
      sql/share/errmsg.txt:
        %ld to %s
      fe7927e6
    • unknown's avatar
      ndb - wl#2972 (5.1) omit trigger check post!=pre if recipient is SUMA · 9bf8cc7f
      unknown authored
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        send identical post/pre data on update if recipient is SUMA (events, replication)
      9bf8cc7f
    • unknown's avatar
      Disabled fast/drop index temporarily · 4fef729b
      unknown authored
      4fef729b
    • unknown's avatar
      ndb - wl#2972 (5.1, related) un-initialized var in Suma · 237a3763
      unknown authored
      
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        un-initialized m_reportAll caused event operation create / drop /create to get m_reportAll = true
      237a3763
    • unknown's avatar
      disabled.def: · 6e641d22
      unknown authored
        Disabled failing tests
      mysql_priv.h:
        Removed compiler warning
      
      
      sql/mysql_priv.h:
        Removed compiler warning
      mysql-test/t/disabled.def:
        Disabled failing tests
      6e641d22
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-new · de6ad7e9
      unknown authored
      into  mysql.com:/usr/local/home/marty/MySQL/mysql-5.1-new
      
      de6ad7e9
    • unknown's avatar
      sql_show.cc: · 011f569f
      unknown authored
        Don't display charsets/collations with HIDDEN flag.
      ctype-utf8.c:
        Adding HIDDEN flag to "filename"
        Changeing ID to 17 which was previosly
        used by deprecated "win1251", removed in 4.1.
      charset-def.c:
        Adding "filename" as a hidden charset, for test purposes.
      m_ctype.h:
        Adding MY_CS_HIDDEN flag,
        to hide charsets and collations from
        being displayed in SHOW.
      
      
      include/m_ctype.h:
        Adding MY_CS_HIDDEN flag,
        to hide charsets and collations from
        being displayed in SHOW.
      mysys/charset-def.c:
        Adding "filename" as a hidden charset, for test purposes.
      strings/ctype-utf8.c:
        Adding HIDDEN flag to "filename"
        Changeing ID to 17 which was previosly
        used by deprecated "win1251", removed in 4.1.
      sql/sql_show.cc:
        Don't display charsets/collations with HIDDEN flag.
      011f569f
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 04b2db50
      unknown authored
      into  mysql.com:/usr/local/home/marty/MySQL/mysql-5.1-new
      
      04b2db50
  3. 17 Jan, 2006 19 commits
    • unknown's avatar
      C++ comments in C files are not portable. · 34343b5c
      unknown authored
      34343b5c
    • unknown's avatar
      Post review fixes of WL#1892 · fc7c5c03
      unknown authored
      fc7c5c03
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 908bdce7
      unknown authored
      into  mysql.com:/usr/local/home/marty/MySQL/mysql-5.1-new
      
      908bdce7
    • unknown's avatar
      fix my_compress/zlib link error · 05aa31c0
      unknown authored
      05aa31c0
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 65608e48
      unknown authored
      into  mysql.com:/usr/local/home/marty/MySQL/mysql-5.1-new
      
      
      sql/sql_table.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      65608e48
    • unknown's avatar
      Merge mysql.com:/M51/clone-5.1 into mysql.com:/M51/mysql-5.1 · 4e857842
      unknown authored
      
      include/config-win.h:
        Auto merged
      4e857842
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 6fac9e3b
      unknown authored
      into mysql.com:/M51/mysql-5.1
      
      6fac9e3b
    • unknown's avatar
      fix compile error · 8e45186e
      unknown authored
      8e45186e
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 5404f2cc
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      5404f2cc
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 76e66ad8
      unknown authored
      into  c-0c0be253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/wl2747-push
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/sql_partition.cc:
        Auto merged
      76e66ad8
    • unknown's avatar
    • unknown's avatar
      Merge c-0c0be253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1-new · 6254506d
      unknown authored
      into  c-0c0be253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/wl2604-push
      
      6254506d
    • unknown's avatar
      65ad51b2
    • unknown's avatar
      Merge c-0c0be253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1-new · ce213d15
      unknown authored
      into  c-0c0be253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/wl2604-push
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      sql/ha_ndbcluster_binlog.cc:
        Auto merged
      ce213d15
    • unknown's avatar
      35ac9c92
    • unknown's avatar
      Manual merge of 5.1.5 build changes into the general tree. · a01c612d
      unknown authored
      
      sql/log_event.cc:
        Auto merged
      sql/log_event.h:
        Auto merged
      sql/sql_class.cc:
        Manual merge (one of the changes was incomplete).
      a01c612d
    • unknown's avatar
      Additional fixes for WL#1892 · 7cd917c5
      unknown authored
      
      sql/ha_ndbcluster.cc:
        Additional fixes for WL#1892, disable autodiscover during add/drop index
      sql/ha_ndbcluster.h:
        Additional fixes for WL#1892, disable autodiscover during add/drop index
      sql/sql_table.cc:
        Additional fixes for WL#1892, removed double commit + added call to create_handler_files after create/drop index
      mysql-test/r/ndb_alter_table_row.result:
        Additional fixes for WL#1892, changed test case
      mysql-test/t/ndb_alter_table_row.test:
        Additional fixes for WL#1892, changed test case
      7cd917c5
    • unknown's avatar
    • unknown's avatar
      WL #2747: Fix such that backup and restore works for user defined · 8d319b34
      unknown authored
      partitioned tables in NDB
      
      
      include/my_sys.h:
        Move packfrm and unpackfrm to mysys
      mysql-test/r/ndb_restore.result:
        New test cases
      mysql-test/t/ndb_restore.test:
        New test cases
      mysys/my_compress.c:
        Moved packfrm and unpackfrm to mysys
      sql/ha_ndbcluster.cc:
        Set value of partition function in hidden field for user defined
        partitioning in NDB to handle restore and later on-line reorganize
        of partitions
        To save space value of those functions are limited to 32 bits
      sql/ha_partition.cc:
        Use new get_partition_id interface
      sql/handler.h:
        Use new get_partition_id interface
      sql/mysql_priv.h:
        Moved to mysys
      sql/mysqld.cc:
        Minor
      sql/opt_range.cc:
        New get_partition_id interface
      sql/sql_partition.cc:
        New get_partition_id interface
        Fix error checks of specification of engines in ALTER TABLE
        Moved packfrm and unpackfrm to mysys
      sql/sql_table.cc:
        Fixed debug printouts
      storage/ndb/include/kernel/ndb_limits.h:
        New constant
      storage/ndb/include/kernel/signaldata/DictTabInfo.hpp:
        New table description item
      storage/ndb/include/ndb_version.h.in:
        New version specific constant
      storage/ndb/include/ndbapi/NdbDictionary.hpp:
        New item in table descriptions
      storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
        New item in table descriptions
      storage/ndb/src/kernel/blocks/backup/Backup.cpp:
        Write fragment id in backup's log entry
      storage/ndb/src/kernel/blocks/backup/BackupFormat.hpp:
        Write fragment id in backup's log entry
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        New item in table description
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        New item in table description
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Moved constant
      storage/ndb/src/ndbapi/NdbDictionary.cpp:
        New item in table description
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        New item in table description
      storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        New item in table description
      storage/ndb/tools/Makefile.am:
        Compress library needed for ndb_restore
      storage/ndb/tools/restore/Restore.cpp:
        Handle fragment id and also handle backups from older versions
      storage/ndb/tools/restore/Restore.hpp:
        Use fragment id
      storage/ndb/tools/restore/consumer.hpp:
        Use fragment id
      storage/ndb/tools/restore/consumer_printer.cpp:
        Use fragment id
      storage/ndb/tools/restore/consumer_printer.hpp:
        Use fragment id
      storage/ndb/tools/restore/consumer_restore.cpp:
        Code to map node groups if new cluster has different set of
        node groups from original cluster
        Very simple search and replace parser of partition syntax in frm file
        Fix settings of partition id properly using fragment id and hidden
        field in tables
      storage/ndb/tools/restore/consumer_restore.hpp:
        Changed function headers and new one for mapping node groups
      storage/ndb/tools/restore/consumer_restorem.cpp:
        Use fragment id
      storage/ndb/tools/restore/restore_main.cpp:
        New parameter to set node group map, parser for this parameter
      8d319b34