1. 02 May, 2007 1 commit
    • unknown's avatar
      WL#2936 · e231da19
      unknown authored
        Fix compiler warnings,
        Fix help output - this fixes im test failures.
        Fix incomplete change of SET plugin vars to ulonglong.
        Allow ER() to work without crashing when errmsg.sys has not been loaded.
      
      
      include/mysql/plugin.h:
        wl2936
          slip in const modifier for default values,
          this removes compiler warnings when assigning a string const as default value.
      sql/derror.cc:
        WL2936
          Allow init_errmessage() to return upon failure.
          Initialize errmesg to an array of empty strings if it failed to load errmsg.sys
      sql/mysqld.cc:
        wl2936
          Include Ingo's compiler-warnings fix.
          If init_errmessage() failed to load errmsg.sys, abort.
          Failure to set working directory not fatal when '--help' is specified, as
          server will terminate anyway after displaying help information.
      sql/sql_plugin.cc:
        wl2936
          complete change of SET vars from ulong to ulonglong.
      e231da19
  2. 01 May, 2007 1 commit
  3. 30 Apr, 2007 6 commits
    • unknown's avatar
      Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-5.1-engines · 0f8cd95b
      unknown authored
      into  xiphis.org:/home/antony/work2/mysql-5.1-engines.fixme
      
      
      sql/sql_plugin.cc:
        Auto merged
      0f8cd95b
    • unknown's avatar
      WL#2936 · 0d0284a6
      unknown authored
        Change SET variables to be ulonglong type (64bit)
      
      
      include/mysql/plugin.h:
        WL2936
          Change SET variables to be unsigned long long type
          Changed use of ulonglong to unsigned long long
      sql/sql_plugin.cc:
        WL2936
          Change SET variables to be ulonglong type (64bit)
      0d0284a6
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-engines · 4e34616c
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.1-wl2936-two
      
      4e34616c
    • unknown's avatar
      WL#2936 - Falcon & MySQL plugin interface: server variables · 3e2cd574
      unknown authored
      Avoid compiler warnings
      
      
      cmd-line-utils/readline/rltty.c:
        Avoid a compiler warning
      config/ac-macros/misc.m4:
        Avoid a compiler warning, which could abort ./configure
        if CFLAGS contain -Werror.
      3e2cd574
    • unknown's avatar
      mysql-test/mysql-test-run.pl: another mysqld --help fix · c156d675
      unknown authored
      scripts/mysql_install_db.sh: don't fail if --skip-XXX is not recognized
      
      
      mysql-test/mysql-test-run.pl:
        another mysqld --help fix
      scripts/mysql_install_db.sh:
        don't fail if --skip-XXX is not recognized
      c156d675
    • unknown's avatar
      compilation/test fixes · c63e7c3e
      unknown authored
      
      include/my_global.h:
        only use compile_time_assert on gcc
      mysql-test/mysql-test-run.pl:
        better --datadir for mysqld --help
      sql/mysql_priv.h:
        error-prone but concatenation-friendly IF_NETWARE()
      storage/innobase/handler/ha_innodb.cc:
        no preprocessor directives inside macro arguments
      c63e7c3e
  4. 29 Apr, 2007 8 commits
  5. 28 Apr, 2007 2 commits
  6. 27 Apr, 2007 4 commits
    • unknown's avatar
      WL#2936 - Falcon & MySQL plugin interface: server variables · 381a9387
      unknown authored
      Changed back (type != OPT_SESSION) to (type == OPT_GLOBAL)
      
      381a9387
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-wl2936 · 9660402d
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.1-wl2936-two
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      9660402d
    • unknown's avatar
      mysql-test/mysql-test-run.pl · 016a7652
      unknown authored
          provide the writable datadir for mysqld --help (for lower_case test)
      sql/log.h, sql/mysqld.cc
          make default binlog_format value to be 0 (for a hack of using
          GET_STR for enum to continue to work)
      
      
      mysql-test/mysql-test-run.pl:
        provide the writable datadir for mysqld --help (for lower_case test)
      sql/log.h:
        make default binlog_format value to be 0 (for a hack of using
        GET_STR for enum to continue to work)
      sql/mysqld.cc:
        make default binlog_format value to be 0 (for a hack of using
        GET_STR for enum to continue to work)
      016a7652
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-engines · e998e74e
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.1-wl2936-two
      
      
      client/mysql.cc:
        Auto merged
      client/mysqltest.c:
        Auto merged
      include/my_global.h:
        Auto merged
      include/my_sys.h:
        Auto merged
      mysql-test/lib/mtr_cases.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/ndb_dd_basic.result:
        Auto merged
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/ndb_dd_basic.test:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      mysys/hash.c:
        Auto merged
      sql/event_queue.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_partition.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_connect.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_plugin.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/structs.h:
        Auto merged
      sql/table.cc:
        Auto merged
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      storage/innobase/handler/ha_innodb.h:
        Auto merged
      include/typelib.h:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        Manual merge
      mysys/typelib.c:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        Manual merge
      e998e74e
  7. 26 Apr, 2007 15 commits
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/merge/mysql-5.0-engines · 32acca8d
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/merge/mysql-5.1-engines
      
      32acca8d
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.1-build · c64cb073
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/merge/mysql-5.1-engines
      
      
      sql/item_func.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      c64cb073
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/merge/mysql-4.1-engines · d63f01d1
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/merge/mysql-5.0-engines
      
      d63f01d1
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0-build · 595cc773
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/merge/mysql-5.0-engines
      
      595cc773
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-4.1-build · 912f3140
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/merge/mysql-4.1-engines
      
      912f3140
    • unknown's avatar
      fixed: memleak in --help, sigsegv on shutdown · 264e1480
      unknown authored
      Ingo's patch:
      WL#2936 - Falcon & MySQL plugin interface: server variables
      Added initialization for plugin string variables with their
      default values.
      Added deallocation of string values before a plugin and its
      variables is deleted.
      Added examples to plugin_example
      
      
      mysys/my_getopt.c:
        Ingo's patch:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        Added initialization for string options. Since string variables
        do often have their default value assigned already, assign the
        default value only if the variable value is NULL.
      plugin/fulltext/plugin_example.c:
        Ingo's patch:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        Added examples for thread variables, which have a SESSION and
        a GLOBAL value.
      sql/mysqld.cc:
        removed second fix_paths() in --help output (memory leak).
        removed invalid string defaul values (binlog_format)
        don't hide the error message in the help text
      sql/sql_plugin.cc:
        don't do plugin_dl_del for built-in plugins (sigsegv).
        Ingo's patch:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        Clearing newly allocated variable value space. This is important
        for string variables. They are initialized to their default
        value only if their initial value is NULL.
        Setting default values for strings.
        Added a function to free global value space for string variables.
        Call the function before deleting a plugin and its variables.
      264e1480
    • unknown's avatar
      Merge trift-lap.fambruehe:/MySQL/M50/push-5.0 · 246316e7
      unknown authored
      into  trift-lap.fambruehe:/MySQL/M51/push-5.1
      
      
      mysql-test/Makefile.am:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      scripts/mysql_system_tables.sql:
        Auto merged
      scripts/mysql_system_tables_data.sql:
        Auto merged
      sql/item_subselect.h:
        Auto merged
      storage/ndb/include/ndbapi/Ndb.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testScanFilter.cpp:
        Auto merged
      BitKeeper/deleted/.del-mysql.sln~76a9ff1e793b3547:
        No need to propagate 5.0 changes into a 5.1 file which is deleted anyway.
      Makefile.am:
        Add "funcs_1" and "funcs_2" to the 5.1 version of the "test-bt" target.
      storage/ndb/src/ndbapi/NdbImpl.hpp:
        Manual merge from 5.0.40
      246316e7
    • unknown's avatar
      Merge trift-lap.fambruehe:/MySQL/M50/clone-5.0 · 64c0392a
      unknown authored
      into  trift-lap.fambruehe:/MySQL/M50/push-5.0
      
      
      Makefile.am:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      scripts/mysql_system_tables.sql:
        Auto merged
      scripts/mysql_system_tables_data.sql:
        Auto merged
      sql/item_subselect.h:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Manual merge: Use the symbolic constant.
      ndb/test/ndbapi/testScanFilter.cpp:
        Manual merge: Use the standard text.
      64c0392a
    • unknown's avatar
      Merge trift-lap.fambruehe:/MySQL/M50/push-5.0 · 3331f184
      unknown authored
      into  trift-lap.fambruehe:/MySQL/M51/push-5.1
      
      
      configure.in:
        Auto merged
      include/Makefile.am:
        Auto merged
      3331f184
    • unknown's avatar
      Merge trift-lap.fambruehe:/MySQL/M41/push-4.1 · 23bc5d41
      unknown authored
      into  trift-lap.fambruehe:/MySQL/M50/push-5.0
      
      23bc5d41
    • unknown's avatar
      Merge trift-lap.fambruehe:/MySQL/M41/mysql-4.1 · 3f8cc255
      unknown authored
      into  trift-lap.fambruehe:/MySQL/M41/push-4.1
      
      3f8cc255
    • unknown's avatar
      Merge trift-lap.fambruehe:/MySQL/M50/mysql-5.0 · e2a14644
      unknown authored
      into  trift-lap.fambruehe:/MySQL/M50/push-5.0
      
      
      configure.in:
        Auto merged
      include/Makefile.am:
        Auto merged
      e2a14644
    • unknown's avatar
      Merge trift-lap.fambruehe:/MySQL/M51/mysql-5.1 · cfd0cbd9
      unknown authored
      into  trift-lap.fambruehe:/MySQL/M51/push-5.1
      
      
      configure.in:
        Auto merged
      include/Makefile.am:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/partition.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      cfd0cbd9
    • unknown's avatar
      Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build-work · d54905a9
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build
      
      d54905a9
    • unknown's avatar
      Two test cases didn't work without Blackhole compiled into the server. · bc2e867d
      unknown authored
      
      mysql-test/t/partition.test:
        Disable warnings around CREATE TABLE ... ENGINE=BLACKHOLE to make this test case work without Blackhole compiled into the server.
      mysql-test/t/partition_hash.test:
        Disable warnings around CREATE TABLE ... ENGINE=BLACKHOLE to make this test case work without Blackhole compiled into the server.
      bc2e867d
  8. 25 Apr, 2007 3 commits
    • unknown's avatar
      Add --symbolic-links=1 for partition_not_windows-master.opt. · d9a3f931
      unknown authored
      
      mysql-test/t/partition_not_windows-master.opt:
        BitKeeper file /benchmarks/ext3/TOSAVE/tsmith/bk/maint/51/mysql-test/t/partition_not_windows-master.opt
      mysql-test/t/partition_not_windows.test:
        Tweak comments to be more meaningful
      d9a3f931
    • unknown's avatar
      Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build · 1596f9b3
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build
      
      
      mysql-test/t/sp.test:
        Auto merged
      1596f9b3
    • unknown's avatar
      Fix test case that was broken for builds without InnoDB. · 180a7f72
      unknown authored
      ```yaml
      Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build-work-vanilla-building
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build-work-vanilla-building
      ```
      
      Fix test cases to pass for a plain ./configure && make build. This includes disabling two test cases when certain features are not present in the server. We're not losing coverage from this because these features are usually present, and disabling them here only serves the purpose to make the test cases work in the unlikely case that they aren't.
      ---
      fixes
      
      
      mysql-test/extra/rpl_tests/rpl_extraSlave_Col.test:
        Disable this test case if we don't have partitioning
      mysql-test/t/rpl_row_basic_11bugs.test:
        Disable warnings in a number of places to make this test case work with servers that don't contain InnoDB
        ---
        make test case look better on request from reviewer
      mysql-test/t/rpl_row_mysqlbinlog.test:
        Disable this test case if the server does not have cp932 compiled in
      mysql-test/t/sp.test:
        Disable warnings during table creation in one place where engine=innodb is used, in order to make this test case work with a mysqld that was compiled without InnoDB.
      180a7f72