• unknown's avatar
    the fix for BUG#24432 · 8c07265c
    unknown authored
      "INSERT... ON DUPLICATE KEY UPDATE skips auto_increment values"
    didn't make it into 5.0.36 and 5.1.16,
    so we need to adjust the bug-detection-based-on-version-number code.
    Because the rpl tree has a too old version, rpl_insert_id cannot pass,
    so I disable it (like is already the case in 5.1-rpl for the same reason),
    and the repl team will re-enable it when they merge 5.0 and 5.1 into
    their trees (thus getting the right version number).
    
    
    mysql-test/t/disabled.def:
          rpl_insert_id tests statement-based replication of INSERT ON
          DUPLICATE KEY UPDATE. This type of INSERT had BUG#24432, which is
          fixed in 5.0.38; we made the slave detect if it is connected to a
          <5.0.38 master and if so refuse to replicate.
          The problem is that this 5.0-rpl tree, even though it will produce
          the 5.0.38 release, still has a 5.0.36 version in configure.in.
          Thus rpl_insert_id fails. So I disable it. As soon as the 5.0-rpl
          tree gets the changesets from the main 5.0, its version will change
          to 5.0.38 and so the repl team will re-enable the test.
    sql/slave.cc:
      the fix for BUG#24432 didn't make it into 5.0.36 and 5.1.16,
      so we need to adjust the bug-detection-based-on-version-number code.
    8c07265c
disabled.def 747 Bytes