1. 16 Jan, 2007 1 commit
    • unknown's avatar
      Post-merge fixes. · a242b20d
      unknown authored
      
      sql/sql_insert.cc:
        Removing HAVE_ROW_BASED_REPLICATION conditional that is no longer used.
      a242b20d
  2. 14 Jan, 2007 2 commits
  3. 13 Jan, 2007 1 commit
  4. 12 Jan, 2007 1 commit
    • unknown's avatar
      Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.1-new-rpl · c0518583
      unknown authored
      into  mysql.com:/nfsdisk1/lars/MERGE/mysql-5.1-merge
      
      
      client/mysqlbinlog.cc:
        Auto merged
      client/mysqldump.c:
        Auto merged
      configure.in:
        Auto merged
      include/config-win.h:
        Auto merged
      include/my_global.h:
        Auto merged
      include/my_pthread.h:
        Auto merged
      libmysqld/CMakeLists.txt:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/rpl_row_tabledefs_2myisam.result:
        Auto merged
      mysql-test/r/rpl_row_tabledefs_3innodb.result:
        Auto merged
      mysql-test/r/rpl_sp.result:
        Auto merged
      mysql-test/t/disabled.def:
        Auto merged
      mysys/my_thr_init.c:
        Auto merged
      sql/CMakeLists.txt:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_create.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/log.h:
        Auto merged
      sql/log_event.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/rpl_injector.cc:
        Auto merged
      sql/rpl_injector.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sp_head.h:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/sql_locale.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      unittest/mysys/my_atomic-t.c:
        Auto merged
      sql/log_event.cc:
        Manual merge main->rpl
      sql/mysqld.cc:
        Manual merge main->rpl
      c0518583
  5. 11 Jan, 2007 8 commits
    • unknown's avatar
      Merge mjorgensen@bk-internal.mysql.com:/home/bk/mysql-5.0 · 799f1aba
      unknown authored
      into  tiger.mmj.dk:/Users/mmj/bktrees/mysql-5.1-build
      
      
      configure.in:
        Auto merged
      mysql-test/install_test_db.sh:
        Auto merged
      BitKeeper/deleted/.del-CMakeLists.txt~3:
        Auto merged
      BitKeeper/deleted/.del-configure.js:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      799f1aba
    • unknown's avatar
      Bug #24998 rpl_row_delayed_ins.test fails in pushbuild · 28286738
      unknown authored
      The test uses show binlog event which is not deterministic due to the single insert delayed
      query can generate up to number of inserted rows row-events pair (table_map + Write_row)
      
      The solution is to leave the current binlogging behaviour as it is and change 
      the test as spliting arguments of insert delayed query. Note, that such fix was applied
      earlier for  binlog_insert_delayed.test :
      https://intranet.mysql.com/secure/apps/irclog.php?channel=22&start_time=2006-09-27 
      
      There are no tests with insert delayed and show binlog events combination requiring
      this fix.
      
      
      mysql-test/extra/rpl_tests/rpl_row_delayed_ins.test:
        splitting insert delayed per rows
      28286738
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/bk/mysql-5.0-build · ea72c946
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/mysql-5.1-build
      
      
      BitKeeper/deleted/.del-CMakeLists.txt~3:
        Auto merged
      BitKeeper/deleted/.del-README~1:
        Auto merged
      BitKeeper/deleted/.del-configure.js:
        Auto merged
      BitKeeper/deleted/.del-mysql_test_run_new.c~a23ab2c4b28b25ad:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      configure.in:
        Manual merge
      mysql-test/install_test_db.sh:
        Manual merge
      sql/mysqld.cc:
        Manual merge
      ea72c946
    • unknown's avatar
      Merge trift2.:/MySQL/M50/tmp-5.0 · 32a5f7d0
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      mysys/my_read.c:
        Auto merged
      BitKeeper/deleted/.del-mysqldmax.dsp~5d213fe1c204142e:
        Auto merged
      BitKeeper/deleted/.del-libmysqld.dsp~78dc6a589e5a4149:
        Null merge.
      BitKeeper/deleted/.del-mysql.dsw~7ea9e16395f139f4:
        Null merge.
      BitKeeper/deleted/.del-mysqld.dsp~ffdbf2d234e23e56:
        Null merge.
      BitKeeper/deleted/.del-mysqldemb.dsp~1baf8c0e59ee9f7e:
        Null merge.
      BitKeeper/deleted/.del-mysqlserver.dsp~d99cfb2d291e3785:
        Null merge.
      scripts/make_binary_distribution.sh:
        Null merge, this change is already suppressed in 4.1.
      support-files/MySQL-shared-compat.spec.sh:
        Null merge, this change is already suppressed in 4.1.
      32a5f7d0
    • unknown's avatar
      Merge trift2.:/MySQL/M50/tmp1-5.0 · 9dc14298
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      configure.in:
        Auto merged
      9dc14298
    • unknown's avatar
      Merge trift2.:/MySQL/M51/mysql-5.1 · 0eb0c6e8
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      0eb0c6e8
    • unknown's avatar
      Merge cbell@bk-internal.mysql.com:/home/bk/mysql-5.1-new-rpl · bbc8e54c
      unknown authored
      into  suse.vabb.com:/home/Chuck/development/mysql-5.1-new-rpl
      
      bbc8e54c
    • 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
  6. 10 Jan, 2007 7 commits
    • unknown's avatar
      BUG#22645 - LC_TIME_NAMES: Statement not replicated · 4b2d2826
      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:
        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.
      4b2d2826
    • 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/my51-common · 457369a9
      unknown authored
      into  mysql.com:/d2/hf/mr10/my51-mr10
      
      
      mysql-test/t/csv.test:
        Auto merged
      457369a9
    • 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
  7. 09 Jan, 2007 9 commits
  8. 08 Jan, 2007 5 commits
    • unknown's avatar
      Manual merge of the fix for BUG#19725 "Calls to SF in other database are not replicated · db4f76d8
      unknown authored
      correctly in some cases", from 5.0.
      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.
      sp_head.cc automerged, only the test and test's result had to be hand-merged.
      
      
      mysql-test/r/rpl_sp.result:
        manual merge of the result of the test for BUG#19725
      mysql-test/r/rpl_switch_stm_row_mixed.result:
        the bugfix changes results as expected
      mysql-test/t/rpl_sp.test:
        manual merge of the test for BUG#19725
      db4f76d8
    • unknown's avatar
      Merge gbichot3.local:/home/mysql_src/mysql-5.0-rpl-19725 · 1e320a2a
      unknown authored
      into  gbichot3.local:/home/mysql_src/mysql-5.1-rpl-19725
      
      
      sql/sp_head.cc:
        Auto merged
      mysql-test/r/rpl_sp.result:
        using 5.1's version, will merge by hand after running the new test
      mysql-test/t/rpl_sp.test:
        using 5.1's version, will re-insert the new test portion by hand
      1e320a2a
    • 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
    • unknown's avatar
      Changes necessary to build version 4.0.28: · a27b12c4
      unknown authored
      - "make_binary_distribution" accepts a dummy "--platform=" argument.
      
      - "MySQL-shared-compat.spec" uses a "version40" define symbol internally.
      
      
      scripts/make_binary_distribution.sh:
        Newer versions of the release build tools call this with a "--platform=" argument
        which we seem not to need in 4.0, but which makes the tool crash (happened on SCO).
        
        Rather than add another version check into the build tools, just accept a "--platform="
        argument and ignore it, just give a message.
      support-files/MySQL-shared-compat.spec.sh:
        The current version of "Do-shared-compat" needs two digits to identify the release families
        (to differ between 4.0 and 4.1), so the variable "version4" must get renamed to "version40".
      a27b12c4
    • unknown's avatar
      Merge mjorgensen@bk-internal.mysql.com:/home/bk/mysql-5.1 · bb16a48b
      unknown authored
      into  thorsen-consulting.dk:/Users/mmj/bktrees/mysql-5.1-build
      
      bb16a48b
  9. 06 Jan, 2007 2 commits
  10. 05 Jan, 2007 4 commits
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/inno/jan04/51 · fb11251a
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/51-build
      
      
      storage/innobase/buf/buf0buf.c:
        Auto merged
      storage/innobase/dict/dict0dict.c:
        Auto merged
      storage/innobase/ha/ha0ha.c:
        Auto merged
      storage/innobase/ha/hash0hash.c:
        Auto merged
      storage/innobase/include/hash0hash.h:
        Auto merged
      storage/innobase/lock/lock0lock.c:
        Auto merged
      storage/innobase/log/log0recv.c:
        Auto merged
      fb11251a
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/tmp/mysql-5.0-build · 4b33ac2f
      unknown authored
      into  mysql.com:/home/kent/bk/tmp/mysql-5.1-build
      
      
      scripts/make_binary_distribution.sh:
        Auto merged
      support-files/mysql.spec.sh:
        - Put back "libmygcc.a", found no real reason it was removed.
        - 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.
      4b33ac2f
    • 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