1. 12 Jan, 2007 1 commit
    • unknown's avatar
      Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.0-rpl · 42af4ee0
      unknown authored
      into  mysql.com:/nfsdisk1/lars/MERGE/mysql-5.0-merge
      
      
      client/mysqlbinlog.cc:
        Auto merged
      client/mysqldump.c:
        Auto merged
      include/my_pthread.h:
        Auto merged
      mysql-test/t/disabled.def:
        Auto merged
      mysys/my_thr_init.c:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/log_event.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_locale.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      42af4ee0
  2. 11 Jan, 2007 1 commit
    • unknown's avatar
      Merge mjorgensen@bk-internal.mysql.com:/home/bk/mysql-5.0-sage · 64dcf6f3
      unknown authored
      into  tiger.mmj.dk:/Users/mmj/bktrees/mysql-5.0
      
      
      configure.in:
        Auto merged
      mysql-test/install_test_db.sh:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      sql/CMakeLists.txt:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      win/configure.js:
        Auto merged
      64dcf6f3
  3. 10 Jan, 2007 7 commits
    • unknown's avatar
      Merge cbell@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · 372cc7fe
      unknown authored
      into  suse.vabb.com:/home/Chuck/development/mysql-5.0-rpl
      
      372cc7fe
    • unknown's avatar
      BUG#22645 - LC_TIME_NAMES: Statement not replicated · 09de81ba
      unknown authored
      This patch is an additional code change to the get_str_len_and_pointer
      method in log_events.cc. This change is necessary to correct a problem
      encountered on 64-bit SUSE where the auto_increment_* variables were
      being overwritten. The change corrects a cast mismatch which caused
      the problem.
      
      
      sql/log_event.cc:
        BUG#22645 - LC_TIME_NAMES: Statement not replicated
        This patch is an additional code change to the get_str_len_and_pointer,
        copy_str_and_move methods and the Query_leg_event constructor to 
        correct a type mismatch encountered during testing on SUSE 64-bit. The patch changes
        the data type of the buffer variables was changed to a new typedef 
        defined in the Log_event class. The new type is:
        
        typedef unsigned char Byte; 
        
        The variables changed include:
        
        pos, start, end, and data_buf
      sql/log_event.h:
        BUG#22645 - LC_TIME_NAMES: Statement not replicated
        This patch adds a new type definition to the Log_event class. The new
        type is typedef unsigned char Byte. It is used in place of the uchar
        and usigned char definitions in the Query_log_event constructor to 
        eliminate type conversion problems encountere on SUSE 64-bit.
      09de81ba
    • unknown's avatar
      configure.in: · 7b4f0c40
      unknown authored
        Corrected default for --disable-grant-options
      
      
      configure.in:
        Corrected default for --disable-grant-options
      7b4f0c40
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0 · 41ed9b72
      unknown authored
      into  mysql.com:/d2/hf/mr10/my50-mr10
      
      41ed9b72
    • unknown's avatar
      configure.in: · 1e2e19cc
      unknown authored
        Removed line accidently inserted when correcting bug#18526
      
      
      configure.in:
        Removed line accidently inserted when correcting bug#18526
      1e2e19cc
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my50-common · 55f2f560
      unknown authored
      into  mysql.com:/d2/hf/mr10/my50-mr10
      
      55f2f560
    • unknown's avatar
      WL #3670: Compile-time option to remove GRANT-related startup options · 020261ef
      unknown authored
      - configure --disable-grant-options defines DISABLE_GRANT_OPTIONS
      - configure.js/cmake also updated
      - if DISABLE_GRANT_OPTIONS is defined, mysqld no longer recognizes:
        --bootstrap
        --init-file
        --skip-grant-tables
      
      Scripts which rely on those three options are modified to check the environment for MYSQLD_BOOTSTRAP; it should be set to the full path of a mysqld which does handle those options.
      
      For example:
      
      $ export MYSQLD_BOOTSTRAP
      $ MYSQLD_BOOTSTRAP=/path/to/full/MySQL/bin/mysqld
      $ mysql_install_db
      $ make test
      
      
      configure.in:
        WL#3670
        
        Add --disable-grant-options
      mysql-test/install_test_db.sh:
        Add MYSQLD_BOOTSTRAP env variable, to enable test suite to work even if mysqld does not accept --bootstrap or --skip-grant-tables.
      mysql-test/mysql-test-run.pl:
        Add MYSQLD_BOOTSTRAP env variable, to enable test suite to work even if mysqld does not accept --bootstrap or --skip-grant-tables.
      mysql-test/mysql_test_run_new.c:
        Mention need for MYSQLD_BOOTSTRAP in a comment, in case this needs to be used with a mysqld which does not accept the --bootstrap option.
      scripts/mysql_install_db.sh:
        Add MYSQLD_BOOTSTRAP env variable, to enable mysqld_install_db to work even if mysqld does not accept --bootstrap or --skip-grant-tables.
      sql/CMakeLists.txt:
        Add DISABLE_GRANT_OPTIONS define
      sql/mysqld.cc:
        Add DISABLE_GRANT_OPTIONS define, which removes the --bootstrap, --init-file, and --skip-grant-tables options
      win/README:
        Document the DISABLE_GRANT_OPTIONS define
      win/configure.js:
        Handle DISABLE_GRANT_OPTIONS
      020261ef
  4. 09 Jan, 2007 5 commits
  5. 08 Jan, 2007 1 commit
    • unknown's avatar
      Fix for BUG#19725 "Calls to SF in other database are not replicated · 6dab9de8
      unknown authored
      correctly in some cases".
      In short, calls to a stored function located in another database
      than the default database, may fail to replicate if the call was made
      by SET, SELECT, or DO.
      Longer: when a stored function is called from a statement which does not go
      to binlog ("SET @A=somedb.myfunc()", "SELECT somedb.myfunc()",
      "DO somedb.myfunc()"), this crafted statement is binlogged:
      "SELECT myfunc();" (accompanied with a mention of the default database
      if there is one). So, if "somedb" is not the default database,
      the slave would fail to find myfunc(). The fix is to specify the
      function's database name in the crafted binlogged statement, like this:
      "SELECT somedb.myfunc();". Test added in rpl_sp.test.
      
      
      mysql-test/r/rpl_sp.result:
        Because I moved the SHOW BINLOG EVENTS down a bit, big portions of its
        output move. Also, the function's database name appears in
        SELECT statements.
      mysql-test/t/rpl_sp.test:
        Adding test for BUG#19725.
        Moving the SHOW BINLOG EVENTS down, it is run at the very end to
        test everything.
      sql/sp_head.cc:
        When binlogging a "SELECT myfunc()" (when a stored function is executed
        inside a statement which does not go to the binlog (like a SET,
        SELECT, DO), we need to write "SELECT db_of_myfunc().myfunc()",
        because the function may be in a database which is not the default
        database.
      6dab9de8
  6. 05 Jan, 2007 2 commits
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/tmp/mysql-4.1-build · e44031c0
      unknown authored
      into  mysql.com:/home/kent/bk/tmp/mysql-5.0-build
      
      
      scripts/make_binary_distribution.sh:
        Auto merged
      e44031c0
    • unknown's avatar
      mysql.spec.sh, make_binary_distribution.sh: · 3e27008f
      unknown authored
        Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
        correct "libgcc.a" path is returned for the 32/64 bit architecture
      
      
      scripts/make_binary_distribution.sh:
        Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
        correct "libgcc.a" path is returned for the 32/64 bit architecture
      support-files/mysql.spec.sh:
        Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
        correct "libgcc.a" path is returned for the 32/64 bit architecture
      3e27008f
  7. 04 Jan, 2007 4 commits
  8. 02 Jan, 2007 11 commits
  9. 01 Jan, 2007 8 commits
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/tmp/mysql-4.1-build · bfa02941
      unknown authored
      into  mysql.com:/home/kent/bk/tmp/mysql-5.0-build
      
      
      innobase/buf/buf0buf.c:
        Auto merged
      innobase/dict/dict0dict.c:
        Auto merged
      innobase/fil/fil0fil.c:
        Auto merged
      innobase/ha/ha0ha.c:
        Auto merged
      innobase/include/hash0hash.h:
        Auto merged
      innobase/lock/lock0lock.c:
        Auto merged
      innobase/log/log0recv.c:
        Auto merged
      bfa02941
    • unknown's avatar
      Many files: · bb561a61
      unknown authored
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      
      
      innobase/buf/buf0buf.c:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      innobase/dict/dict0dict.c:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      innobase/fil/fil0fil.c:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      innobase/ha/ha0ha.c:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      innobase/ha/hash0hash.c:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      innobase/include/hash0hash.h:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      innobase/lock/lock0lock.c:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      innobase/log/log0recv.c:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      innobase/thr/thr0loc.c:
        Renamed hash_create() not to clash with imap using embedded server (bug#13859)
      bb561a61
    • unknown's avatar
      mysqld.cc, configure.in: · 4cfa52c1
      unknown authored
        Don't use thread priority by default on Mac OS X (bug#18526)
      
      
      configure.in:
        Don't use thread priority by default on Mac OS X (bug#18526)
      sql/mysqld.cc:
        Don't use thread priority by default on Mac OS X (bug#18526)
      4cfa52c1
    • unknown's avatar
      configure.in: · 7864630d
      unknown authored
        Build "mysqld_error.h" even if configured --withouth-server (bug#21265)
      
      
      configure.in:
        Build "mysqld_error.h" even if configured --withouth-server (bug#21265)
      7864630d
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/tmp/mysql-4.1-build · 079bd924
      unknown authored
      into  mysql.com:/home/kent/bk/tmp/mysql-5.0-build
      
      
      configure.in:
        Auto merged
      079bd924
    • unknown's avatar
      configure.in: · e6995265
      unknown authored
        Don't build server when configured --without-server (bug#23973)
      
      
      configure.in:
        Don't build server when configured --without-server (bug#23973)
      e6995265
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · 62f9f292
      unknown authored
      into  mysql.com:/home/kent/bk/tmp/mysql-5.0-build
      
      62f9f292
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 22d75ebf
      unknown authored
      into  mysql.com:/home/kent/bk/tmp/mysql-4.1-build
      
      22d75ebf