1. 14 Mar, 2008 1 commit
    • davi@mysql.com/endora.local's avatar
      Bug#35103 mysql_client_test::test_bug29948 causes sporadic failures · f23e3fd0
      davi@mysql.com/endora.local authored
      The problem was that the COM_STMT_SEND_LONG_DATA was sending a response
      packet if the prepared statement wasn't found in the server (due to
      reconnection). The commands COM_STMT_SEND_LONG_DATA and COM_STMT_CLOSE
      should not send any packets, even error packets should not be sent since
      they are not expected by the client API.
      
      The solution is to clear generated during the execution of the aforementioned
      commands and to skip resend of prepared statement commands. Another fix is
      that if the connection breaks during the send of prepared statement command,
      the command is not sent again since the prepared statement is no longer in the
      server.
      f23e3fd0
  2. 12 Mar, 2008 1 commit
    • anozdrin/alik@quad.'s avatar
      A fix for Bug#34643: TRUNCATE crash if trigger and foreign key. · 2b09a993
      anozdrin/alik@quad. authored
        
      In cases when TRUNCATE was executed by invoking mysql_delete() rather
      than by table recreation (for example, when TRUNCATE was issued on
      InnoDB table with is referenced by foreign key) triggers were invoked.
      In debug builds this also led to crash because of an assertion, which
      assumes that some preliminary actions take place before trigger 
      invocation, which doesn't happen in case of TRUNCATE.
      
      The fix is not to execute triggers in mysql_delete() when this
      function is used by TRUNCATE.
      2b09a993
  3. 06 Mar, 2008 1 commit
  4. 04 Mar, 2008 2 commits
  5. 28 Feb, 2008 2 commits
  6. 27 Feb, 2008 2 commits
  7. 26 Feb, 2008 2 commits
  8. 23 Feb, 2008 1 commit
  9. 22 Feb, 2008 1 commit
  10. 21 Feb, 2008 7 commits
  11. 20 Feb, 2008 1 commit
    • davi@mysql.com/endora.local's avatar
      Bug#32265 Server returns different metadata if prepared statement is used · 04732055
      davi@mysql.com/endora.local authored
      Executing a prepared statement associated with a materialized
      cursor yields to the client a metadata packet with wrong table
      and database names. The problem was occurring because the server
      was sending the the name of the temporary table used by the cursor
      instead of the table name of the original table. The same problem
      occurs when selecting from views, in which case the table name was
      being sent and not the name of the view.
        
      The solution is to fill the list item from the temporary table but
      preserving the table and database names of the original fields. This
      is achieved by tweaking the Select_materialize to accept a pointer to
      the Materialized_cursor class which contains the item list to be filled.
      04732055
  12. 19 Feb, 2008 1 commit
    • vvaintroub@wva.'s avatar
      Bug#31745 - crash handler does not work on Windows · f5932c0d
      vvaintroub@wva. authored
      - Replace per-thread signal()'s with  SetUnhandledExceptionFilter(). 
        The only remaining signal() is for SIGABRT (default abort()
        handler in VS2005 is broken, i.e removes user exception filter)
      - remove MessageBox()'es  from error handling code
      - Windows port for print_stacktrace() and write_core() 
      - Cleanup, removed some unused functions
      f5932c0d
  13. 18 Feb, 2008 4 commits
  14. 14 Feb, 2008 1 commit
  15. 13 Feb, 2008 3 commits
  16. 12 Feb, 2008 1 commit
  17. 11 Feb, 2008 4 commits
  18. 08 Feb, 2008 2 commits
  19. 07 Feb, 2008 3 commits