1. 06 Oct, 2006 1 commit
    • kroki/tomash@moonlight.intranet's avatar
      BUG#21726: Incorrect result with multiple invocations of LAST_INSERT_ID. · ee0cebf9
      kroki/tomash@moonlight.intranet authored
      Note: bug#21726 does not directly apply to 4.1, as it doesn't have stored
      procedures.  However, 4.1 had some bugs that were fixed in 5.0 by the
      patch for bug#21726, and this patch is a backport of those fixes.
      Namely, in 4.1 it fixes:
      
        - LAST_INSERT_ID(expr) didn't return value of expr (4.1 specific).
      
        - LAST_INSERT_ID() could return the value generated by current
          statement if the call happens after the generation, like in
      
            CREATE TABLE t1 (i INT AUTO_INCREMENT PRIMARY KEY, j INT);
            INSERT INTO t1 VALUES (NULL, 0), (NULL, LAST_INSERT_ID());
      
        - Redundant binary log LAST_INSERT_ID_EVENTs could be generated.
      ee0cebf9
  2. 28 Sep, 2006 2 commits
    • dlenev@mockturtle.local's avatar
      Fix for bug#22338 "Valgrind warning: uninitialized variable in · acaa584c
      dlenev@mockturtle.local authored
      create_tmp_table()".
      
      The fix for bug 21787 "COUNT(*) + ORDER BY + LIMIT returns wrong
      result" introduced valgrind warnings which occured during execution
      of information_schema.test and sp-prelocking.test in version 5.0.
      There were no user visible effects.
      
      The latter fix made create_tmp_table() dependant on
      THD::lex::current_select value. Valgrind warnings occured when this
      function was executed and THD::lex::current_select member pointed
      to uninitialized SELECT_LEX instance.
      
      This fix tries to remove this dependancy by moving some logic
      outside of create_tmp_table() function.
      acaa584c
    • dlenev@mockturtle.local's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 7897f061
      dlenev@mockturtle.local authored
      into  mockturtle.local:/home/dlenev/src/mysql-4.1-runtime
      7897f061
  3. 27 Sep, 2006 1 commit
  4. 24 Sep, 2006 1 commit
  5. 23 Sep, 2006 2 commits
  6. 21 Sep, 2006 2 commits
  7. 20 Sep, 2006 2 commits
  8. 19 Sep, 2006 1 commit
  9. 18 Sep, 2006 2 commits
  10. 15 Sep, 2006 3 commits
  11. 14 Sep, 2006 4 commits
  12. 12 Sep, 2006 2 commits
  13. 11 Sep, 2006 1 commit
  14. 08 Sep, 2006 1 commit
  15. 07 Sep, 2006 3 commits
  16. 05 Sep, 2006 3 commits
  17. 04 Sep, 2006 4 commits
  18. 01 Sep, 2006 5 commits