1. 13 Mar, 2006 19 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 4526fb69
      unknown authored
      into  production.mysql.com:/usersnfs/gbichot/mysql-5.1-new
      
      
      sql/sql_yacc.yy:
        Auto merged
      4526fb69
    • unknown's avatar
      Fixes to the replication mixed mode (patch approved by Monty): · 06132a24
      unknown authored
      - detect the need for row-based binlogging not at execution stage but earlier at parsing stage; needed for example for CREATE TABLE SELECT UUID().
      - more tests of this mixed mode.
      
      
      mysql-test/r/rpl_switch_stm_row_mixed.result:
        result update
      mysql-test/t/rpl_switch_stm_row_mixed.test:
        testing more scenarios for the mixed replication mode.
        Added support for manual testing of UDFs vs the mixed mode (behind a variable in the test).
        Changing old file names to better ones.
      sql/item_create.cc:
        at parse time, when we see a UUID(), put up a flag in LEX to say this binlogs properly only with row-based binlogging.
      sql/item_func.cc:
        it's not perfect to put up the flag at this execution stage, better do it at parse stage.
      sql/item_strfunc.cc:
        it's not perfect to put up the flag at this execution stage, better do it at parse stage
      sql/set_var.cc:
        this assertion is wrong, this piece of code can happen in RBR mode too.
      sql/sql_lex.cc:
        when we reinitialize the LEX members before every query, we have to reinitialize the new flag
      sql/sql_lex.h:
        A new flag, set at parsing stage, which tells if some items seen during parsing stage require row-based replication to binlog/replicate correctly
        when this statement is later executed.
        It has to be in LEX and not directly in THD, for this to work in prepared statements.
      sql/sql_parse.cc:
        Parsing stage happened at some time in the past and set up the flag in LEX, now that we execute the statement we actually turn on row-based binlogging
        if the thread's binlog format is "mixed". We then turn it off when leaving mysql_execute_command().
        Some cleanup code was not executed if leaving mysql_execute_command() at the "error" label, fixing this. A better fix than the "goto end" would be
        to modify each "goto error" to "res=1; goto end" but it required changing many lines which I don't want to do now ("make smallest possible patch").
      sql/sql_yacc.yy:
        When at parsing stage we see a UDF we put up a flag to say that row-based binlogging is preferred.
      06132a24
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 45248b76
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.1
      
      45248b76
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.1-new · b954593e
      unknown authored
      into  production.mysql.com:/usersnfs/rburnett/mysql-5.1-bug17173
      
      b954593e
    • unknown's avatar
      Bug # 17173 - Partitions: less than search fails · d303e69e
      unknown authored
      Bug # 17894 - Comparison with "less than" operator fails with range partition
      
      The problem here was that on queries such as < 3, the range given is NULL < n < 3.
      The null part works correctly where the null value is stored in rec[0] and the
      field is marked as being null.  However, when the 3 is processed, the 3 is places
      on rec[0] but the null flag is left uncleared.
      
      partition_range.result:
        Results block for bug #17894
      partition_range.test:
        Test block for bug #17894
      partition_list.result:
        Results block for bug #17173
      partition_list.test:
        Test block for bug #17173
      opt_range.cc:
        call set_notnull to clear any null flag that may have been set
      
      
      sql/opt_range.cc:
        call set_notnull to clear any null flag that may have been set
      mysql-test/t/partition_list.test:
        Test block for bug #17173
      mysql-test/r/partition_list.result:
        Results block for bug #17173
      mysql-test/t/partition_range.test:
        Test block for bug #17894
      mysql-test/r/partition_range.result:
        Results block for bug #17894
      d303e69e
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.1-new · eefacc13
      unknown authored
      into  xgeek.:C:/work/mysql-5.1-new
      
      eefacc13
    • unknown's avatar
      base: · 7a314bd0
      unknown authored
        Fixed problem where taocrypt was defined too early in the process
      
      
      win/cmakefiles/base:
        Fixed problem where taocrypt was defined too early in the process
      7a314bd0
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 135f4b73
      unknown authored
      into  mysql.com:/home/cps/mysql/trees/mysql-5.1-virgin
      
      135f4b73
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/init_rm/my51-init_rm · 862b7cec
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.1
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      862b7cec
    • unknown's avatar
      Remove also slave clusters data on restart after test failure · 8b5150cb
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Setup path the slave clusters data dir
        Remove slave clusters data dir on restart after test case failure
      8b5150cb
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/init_rm/my50-init_rm · 42e042e2
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/init_rm/my51-init_rm
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      42e042e2
    • unknown's avatar
      Remove printouts · acd7211c
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Remove extra printouts
      acd7211c
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/init_rm/my50-init_rm · e3f5b81b
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/init_rm/my51-init_rm
      
      
      mysql-test/mysql-test-run.pl:
        Merge 5.0 -> 5.1
      e3f5b81b
    • unknown's avatar
      Make mysql-test-run.pl restore the db(s) to a known state before continuing after test case failure · 1f951d05
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        Take a snapshot of the data dirs just after all db's have been installed and usedthat snasphot to restore the db(s) to a known state after a test case has failed.
        Thus avoiding subsequent test cases to fail because of previous test failures.
      1f951d05
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 721e4327
      unknown authored
      into  mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
      
      721e4327
    • unknown's avatar
      changed test to make it predictable · 8edd7af0
      unknown authored
      
      sql/ha_ndbcluster_binlog.cc:
        removing non critical assert
      8edd7af0
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new · e32bfa81
      unknown authored
      into  mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
      
      e32bfa81
    • unknown's avatar
      Test fix · 4a5d085c
      unknown authored
      
      mysql-test/t/rpl_ndb_dd_advance.test:
        remove drop and create of test db
      mysql-test/r/rpl_ndb_dd_advance.result:
        update
      4a5d085c
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · f2a0629f
      unknown authored
      into  mysql.com:/home/cps/mysql/trees/mysql-5.1-virgin
      
      
      sql/log.cc:
        Auto merged
      f2a0629f
  2. 12 Mar, 2006 1 commit
  3. 11 Mar, 2006 14 commits
  4. 10 Mar, 2006 6 commits