1. 21 Feb, 2006 10 commits
  2. 20 Feb, 2006 7 commits
  3. 18 Feb, 2006 6 commits
    • unknown's avatar
      In previous push, a DROP TABLE at the end of test was missing. · 34d8c572
      unknown authored
      
      mysql-test/r/mix_innodb_myisam_binlog.result:
        result update
      mysql-test/t/mix_innodb_myisam_binlog.test:
        cleanup in the end
      34d8c572
    • unknown's avatar
      Fix for BUG#13897 "failure to do SET SQL_MODE=N where N is a number > 31" (the... · 8dc567db
      unknown authored
      Fix for BUG#13897 "failure to do SET SQL_MODE=N where N is a number > 31" (the original bug's title isn't the simplest
      symptom). sys_var::check_set() was wrong. mysqlbinlog makes use of such SET SQL_MODE=N
      (where N is interpreted like if SQL_MODE was a field of type SET), so
      this bug affected recovery from binlogs if the server was running with certain SQL_MODE values,
      for example the default values on Windows (STRICT_TRANS_TABLES); to work around this bug people
      had to edit mysqlbinlog's output.
      
      
      mysql-test/r/sql_mode.result:
        result update
      mysql-test/t/sql_mode.test:
        test for various numeric SQL_MODE values
      sql/set_var.cc:
        For a set, it does not make sense to test if the supplied argument exceeds the number of elements in the set
        (such test would make sense for an enum), but rather to check if it exceeds 2^this (to verify
        that only reasonable bits are set).
      8dc567db
    • unknown's avatar
      Fix for BUG#14769 "Function fails to replicate if fails half-way (slave stops)": · 8470ae9c
      unknown authored
      if the function, invoked in a non-binlogged caller (e.g. SELECT, DO), failed half-way on the master,
      slave would stop and complain that error code between him and master mismatch. 
      To solve this, when a stored function is invoked in a non-binlogged caller (e.g. SELECT, DO), we binlog the function
      call as SELECT instead of as DO (see revision comment of sp_head.cc for more).
      And: minor wording change in the help text.
      This cset will cause conflicts in 5.1, I'll merge.
      
      
      mysql-test/r/rpl_sp.result:
        result update
      mysql-test/t/rpl_sp-slave.opt:
        bug just fixed so option not needed
      mysql-test/t/rpl_sp.test:
        test for more half-failed functions with DO and SELECT, to test the bug of this changeset.
        cleanup at the end.
      sql/mysqld.cc:
        function -> stored function (change suggested by Paul)
      sql/sp_head.cc:
        When a function updates data and is called from a non-binlogged statement (SELECT, DO), we binlog it 
        as SELECT myfunc(), and not DO myfunc() like before.
      8470ae9c
    • unknown's avatar
      Fix for BUG#16559 "Replication Problems with Non transactional tables inside... · cefc0b6d
      unknown authored
      Fix for BUG#16559 "Replication Problems with Non transactional tables inside an interrupted trans.":
      problem was: when a connection disconnects having an open transaction affecting MyISAM and InnoDB, the ROLLBACK event stored in the binary log
      contained a non-zero error code (1053 because of the disconnection), so when slave applied the transaction, slave complained that its ROLLBACK succeeded
      (error_code=0) while master's had 1053, so slave stopped. But internally generated binlog events such as this ROLLBACK
      should always have 0 as error code, as is true in 4.1 and was accidentally broken in 5.0,
      so that there is no false alarm.
      
      
      mysql-test/r/mix_innodb_myisam_binlog.result:
        result update
      mysql-test/t/mix_innodb_myisam_binlog.test:
        test for BUG#16559
      sql/log.cc:
        Internally generated binlog events should always have an error code of zero (like in 4.1; in 5.0 this was accidentally broken).
      cefc0b6d
    • unknown's avatar
      --help option added to mysql_upgrade script · 1d96eadd
      unknown authored
      
      scripts/mysql_upgrade.sh:
        --help option implemented
      1d96eadd
    • unknown's avatar
      Add a shift in the parser. Forgotten in the previous commit. · 187aab97
      unknown authored
      
      server-tools/instance-manager/parse.cc:
        shift the second value for the log
      187aab97
  4. 17 Feb, 2006 10 commits
    • unknown's avatar
      Merge mysql.com:/home/cps/mysql/trees/5.0/mysql-5.0-virgin-debug · a2c1e816
      unknown authored
      into  mysql.com:/home/cps/mysql/devel/im/5.0-im-add-error-message
      
      
      a2c1e816
    • unknown's avatar
      Fix subselect results (there was a bad merge when subselect test was disabled) · eae6679f
      unknown authored
      
      BitKeeper/etc/ignore:
        Added scripts/mysql_upgrade to the ignore list
      mysql-test/r/subselect.result:
        Update results
      eae6679f
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-14676 · dd6e56b9
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      sql/item_strfunc.cc:
        Auto merged
      dd6e56b9
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-5.0 · abe796eb
      unknown authored
      into  snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.0
      
      
      abe796eb
    • unknown's avatar
      mysqlcheck.c: · 128e5df7
      unknown authored
        Tweak --check-upgrade help text.
      
      
      client/mysqlcheck.c:
        Tweak --check-upgrade help text.
      128e5df7
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · edd1cd23
      unknown authored
      into moonbone.local:/work/15706-bug-5.0-mysql
      
      
      edd1cd23
    • unknown's avatar
      Set opt_vardir_trace for path for tracefiles · 010fb090
      unknown authored
      010fb090
    • unknown's avatar
      Replace win filename s with unix equivalent · c61fb3c3
      unknown authored
      Evaluate commands passed to "exec" and "system" to expand any $variables before executing command.
      
      
      client/mysqltest.c:
        do_exec, do_system 
         - call do_eval on the command to be executed in order to expand any $variables
         - Remove old subst_env_var and my_popen, not needed anymore
        Rewrite 'replace_strings' into 'replace_strings_append'
         - copy whole strings instead of byte by byte copy
         - insert result directly inito dynamic_string, no need to check if out 
           string needs to be realloced for every byte.
         - Add comments and DBUG_PRINT's
        New function 'fix_win_paths', detect filenames in win format that should be converted 
        do_eval
        - Only set "escaped" if next char is \ or $
      mysql-test/mysql-test-run.pl:
        Always pass path for DBUG .trace file in unix format
        Add search path client_debug to find debug compiled windows binaries
        Remove unused MYSQL_TEST_WINDIR and MASTER_WINMYSOCK
      mysql-test/r/mysqldump.result:
        Update test result
      mysql-test/t/client_xml.test:
        Use " instead of '
      mysql-test/t/mysql_client_test.test:
        Remove the useless "exec echo" command
      mysql-test/t/mysqltest.test:
        Escape $variables passed to --exec, that should not be evaluated in exec.
      mysql-test/t/rpl000015.test:
        Remove unneccessary replace
      mysql-test/t/system_mysql_db_fix.test:
        Call the "shell script" $MYSQL_FIX_SYSTEM_TABLE using --system
      c61fb3c3
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0 · 96b44493
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.0.w2645
      
      
      sql/sql_table.cc:
        Auto merged
      96b44493
    • unknown's avatar
      WL#2645 (CHECK TABLE FOR UPGRADE) · bf840404
      unknown authored
      necessary implementation in the server
      mysql_upgrade script added
      
      
      client/mysqlcheck.c:
        --check-upgrade option added
      include/my_base.h:
        errcode added
      include/myisam.h:
        option added
      scripts/Makefile.am:
        mysql_upgrade script added
      sql/handler.cc:
        checks for old types/bugs added
      sql/handler.h:
        declarations regarding checks for upgrade
      sql/lex.h:
        sym added
      sql/share/errmsg.txt:
        error message added
      sql/slave.cc:
        now ha_repair is for public use
      sql/sql_table.cc:
        upgrade in ha_repair implemented
      sql/sql_yacc.yy:
        CHECK ... FOR UPGRADE added to syntax
      bf840404
  5. 16 Feb, 2006 7 commits