1. 12 Feb, 2008 1 commit
    • unknown's avatar
      Bug#23771 AFTER UPDATE trigger not invoked when there are no changes of the data · 8d51c6ad
      unknown authored
      The problem is that AFTER UPDATE triggers will fire only if the
      new data is different from the old data on the row. The trigger
      should fire regardless of whether there are changes to the data.
      
      The solution is to fire the trigger on UPDATE even if there are
      no changes to the value (because the value is the same).
      
      
      mysql-test/r/trigger.result:
        Add test case result for Bug#23771
      mysql-test/t/trigger.test:
        Add test case for Bug#23771
      sql/sql_update.cc:
        Move the invocation of the after update trigger so that
        the trigger will fire even if the records are the same.
      8d51c6ad
  2. 11 Feb, 2008 3 commits
  3. 09 Feb, 2008 3 commits
  4. 08 Feb, 2008 15 commits
  5. 07 Feb, 2008 10 commits
    • unknown's avatar
      Bug#31891 Meaningful stack trace · d9831ae5
      unknown authored
      On crashes generate a user-friendly resolved and demangled stack
      trace when libc provides the necessary functions (newer libc on i386,
      x86_64, powerpc, ia64, alpha and s390). Otherwise print a numeric
      stack trace as before, relying on resolve_stack_dump utility.
      
      
      configure.in:
        Add check for backtrace headers, backtrace functions and if
        __cxa_demangle (libstdc++) is available at link time.
      sql/mysqld.cc:
        Print the value of the THD::killed variable when dumping. In
        some circumstances knowing if the thread was killed makes
        debugging easier.
      sql/stacktrace.c:
        Use the glibc backtrace function when available and demangle
        C++ function names if the __cxa_demangle function is available.
      sql/stacktrace.h:
        Locally export and wrap in C linkage the C++ function __cxa_demangle
        if available.
      d9831ae5
    • unknown's avatar
      Merge dipika.(none):/opt/local/work/mysql-5.0-runtime · ee0b7f38
      unknown authored
      into  dipika.(none):/opt/local/work/mysql-5.1-runtime
      
      
      client/mysqltest.c:
        Auto merged
      ee0b7f38
    • unknown's avatar
      32ae4aef
    • unknown's avatar
      test update · 6c97f05f
      unknown authored
      6c97f05f
    • unknown's avatar
      Merge mysql.com:/Users/davi/mysql/bugs/32633-5.1 · 7b59d1e6
      unknown authored
      into  mysql.com:/Users/davi/mysql/mysql-5.1-runtime
      
      
      sql/sp.cc:
        Auto merged
      7b59d1e6
    • unknown's avatar
      Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.0-runtime · df75b255
      unknown authored
      into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-runtime
      
      
      client/mysqltest.c:
        Auto merged
      df75b255
    • unknown's avatar
      Merge pilot.mysql.com:/data/msvensson/mysql/bug31004/my51-bug31004 · 464245c9
      unknown authored
      into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-runtime
      
      
      client/CMakeLists.txt:
        Auto merged
      client/mysqltest.c:
        Auto merged
      464245c9
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-runtime · 0ae3d194
      unknown authored
      into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-runtime
      
      
      sql-common/client.c:
        Auto merged
      0ae3d194
    • unknown's avatar
      Merge pilot.mysql.com:/data/msvensson/mysql/bug31004/my50-bug31004 · 178f33e0
      unknown authored
      into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.0-runtime
      
      
      client/mysqltest.c:
        Auto merged
      178f33e0
    • unknown's avatar
      Bug#32633 Can not create any routine if SQL_MODE=no_engine_substitution · 1b6b7010
      unknown authored
      The problem is that one can not create a stored routine if sql_mode
      contains NO_ENGINE_SUBSTITUTION or PAD_CHAR_TO_FULL_LENGTH. Also when
      a event is created, the mode is silently lost if sql_mode contains one
      of the aforementioned.  This was happening because the table definitions
      which stored sql_mode values weren't being updated to accept new values
      of sql_mode.
      
      The solution is to update, in a backwards compatible manner, the various
      table definitions (columns) that store the sql_mode value to take into
      account the new possible values. One incompatible change is that if a event
      that is being created can't be stored to the mysql.event table, an error
      will be raised.
      
      The tests case also ensure that new SQL modes will be added to the mysql.proc
      and mysql.event tables, otherwise the tests will fail.
      
      
      mysql-test/r/events_bugs.result:
        Add test case result for Bug#32633
      mysql-test/r/information_schema.result:
        Update the sql_mode column definition.
      mysql-test/r/sp.result:
        Add test case result for Bug#32633
      mysql-test/r/system_mysql_db.result:
        Update the sql_mode column definition.
      mysql-test/t/events_bugs.test:
        Add test case for Bug#32633
      mysql-test/t/sp.test:
        Add test case for Bug#32633
      mysql-test/t/system_mysql_db_fix50117.test:
        Update the sql_mode column definition.
      scripts/mysql_system_tables.sql:
        Update the sql_mode column definition.
      scripts/mysql_system_tables_fix.sql:
        Update the sql_mode column definition.
      sql/event_db_repository.cc:
        Reset and restore SQL modes when storing and loading a
        event from the data dictionary. Also throw out a error
        if a store fails.
      sql/mysqld.cc:
        Add warning to avoid this problem in the future.
      sql-common/my_user.c:
        Truncate length if user name or host name does not fit
        in the buffer.
      sql/sp.cc:
        SQL mode of the thread must not effect data dictionary operations.
      1b6b7010
  6. 06 Feb, 2008 6 commits
  7. 05 Feb, 2008 2 commits
    • unknown's avatar
      Disabling test case. · 4df3bc0c
      unknown authored
      Bug 34311: main.lock_multi.test fails.
      
      
      mysql-test/r/lock_multi.result:
        Update result file.
      mysql-test/t/lock_multi.test:
        Disabled test case for Bug#30331.
      4df3bc0c
    • unknown's avatar
      Adding some more filtering for tests that kills queries and · df2cf8c7
      unknown authored
      cause sporadic, but benign, errors.
      
      
      mysql-test/lib/mtr_report.pl:
        Filtering out sporadic but benign error in rpl_err_ignoredtable.
      df2cf8c7