1. 04 May, 2007 1 commit
    • unknown's avatar
      WL#2936 - Falcon & MySQL plugin interface: server variables · be91bd23
      unknown authored
      Fix tests when InnoDB is not built-in. Innodb options would cause
      mysqld to abort with an error indicating that the option is unknown.
      Fix tests on Windows where mysql-test-run.pl was unable to probe
      mysqld for version and variables information, caused by output
      being redirected to a log file instead.
      
      
      mysql-test/mysql-test-run.pl:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/binlog_row_mix_innodb_myisam-master.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is not required here. This test case runs only
        if innodb is available. In this case the option must be present.
      mysql-test/t/binlog_stm_mix_innodb_myisam-master.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is not required here. This test case runs only
        if innodb is available. In this case the option must be present.
      mysql-test/t/federated_transactions-slave.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/myisam-blob-master.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/rpl_auto_increment-slave.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/rpl_deadlock_innodb-slave.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/rpl_insert_id-slave.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/rpl_insert_id_pk-slave.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/rpl_insert_ignore-slave.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/rpl_multi_engine-slave.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/rpl_ndb_relayrotate-slave.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/rpl_read_only-slave.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/rpl_relayrotate-slave.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/rpl_row_basic_11bugs-master.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/rpl_row_basic_11bugs-slave.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/rpl_row_create_table-slave.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/rpl_row_func003-slave.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/rpl_row_sp003-master.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/rpl_row_sp003-slave.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/rpl_stm_000001-slave.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      mysql-test/t/warnings-master.opt:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        'loose' prefix is required on command line options which may be
        ignored if the plugin for which the option is intended is not
        installed/builtin to mysqld.
      sql/mysqld.cc:
        WL#2936 - Falcon & MySQL plugin interface: server variables
        Do not enable the 'old-fashioned error log' when the user has
        '--help' specified on the command line. We do want the help
        output sent to the console. This fixes help output on Windows
        because it enables this option by default.
      be91bd23
  2. 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
  3. 01 May, 2007 1 commit
  4. 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
  5. 29 Apr, 2007 8 commits
  6. 28 Apr, 2007 2 commits
  7. 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
  8. 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
  9. 25 Apr, 2007 2 commits