1. 11 Feb, 2008 1 commit
    • unknown's avatar
      Patch to eliminate some valgrind warnings in debug printout code. · 6f6fabb7
      unknown authored
      (originally from Mats)
      
      
      sql/rpl_rli.cc:
        Adding variable to mark an instance of Relay_log_info as fake.
      sql/rpl_rli.h:
        Adding variable to mark an instance of Relay_log_info as fake.
      sql/slave.cc:
        Not printing debug information if we are working with a fake
        instance of Relay_log_info. This because the result of calling
        update is nonsense, and trying to print it generates valgrind
        warnings.
      sql/sql_binlog.cc:
        Marking newly created instance of Relay_log_info as a fake instance.
      6f6fabb7
  2. 09 Feb, 2008 3 commits
  3. 08 Feb, 2008 15 commits
  4. 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
  5. 06 Feb, 2008 6 commits
  6. 05 Feb, 2008 4 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
    • unknown's avatar
      Fix merge: fix test. · 4e1be622
      unknown authored
      4e1be622
    • unknown's avatar
      Disabling test case binlog_old_version for embedded server. · 57c599b3
      unknown authored
      
      mysql-test/lib/mtr_report.pl:
        Ignoring benign error message (killing query causes unpredictable
        error messages).
      mysql-test/suite/binlog/t/binlog_old_versions.test:
        Disabling test case for embedded server.
      sql/rpl_rli.cc:
        Inititializing uninitialized variable causing valgrind warning.
      57c599b3
  7. 04 Feb, 2008 1 commit
    • unknown's avatar
      Patch clean up. · 4e8ef9c8
      unknown authored
      Fixed interference between tests: Users were added but not properly removed.
      This caused later tests to fail.
      
      
      mysql-test/r/grant.result:
        Fixed interference between tests: Users were added but not properly removed.
        This caused later tests to fail.
      mysql-test/t/grant.test:
        Fixed interference between tests: Users were added but not properly removed.
        This caused later tests to fail.
      4e8ef9c8