1. 08 Feb, 2008 13 commits
  2. 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
  3. 06 Feb, 2008 6 commits
  4. 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
  5. 04 Feb, 2008 7 commits
    • 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
    • unknown's avatar
      Bug#21801 SQL exception handlers and warnings · ff8651c4
      unknown authored
      The problem is that deprecated syntax warnings were not being
      suppressed when the stored routine is being parsed for the first
      execution. It's doesn't make sense to print out deprecated
      syntax warnings when the routine is being executed because this
      kind of warning only matters when the routine is being created.
      
      The solution is to suppress deprecated syntax warnings when
      parsing the stored routine for loading into the cache (might
      mean that the routine is being executed for the first time).
      
      
      mysql-test/r/sp-error.result:
        Add test case result for Bug#21801
      mysql-test/t/sp-error.test:
        Add test case for Bug#21801
      sql/sp.cc:
        Implement a internal error handler to catch deprecated
        syntax warnings when loading a stored procedure into the
        cache.
      ff8651c4
    • unknown's avatar
      Fixing result change after merge. · 99f67290
      unknown authored
      
      mysql-test/suite/rpl/r/rpl_user.result:
        Result change.
      99f67290
    • unknown's avatar
      Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rpl-merge · 5716a699
      unknown authored
      into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl-merge
      
      
      mysql-test/suite/rpl/r/rpl_user.result:
        Manual merge.
      5716a699
    • unknown's avatar
      Updating result file. · 74bd1b0f
      unknown authored
      
      mysql-test/r/rpl_user.result:
        Result change.
      74bd1b0f
    • unknown's avatar
      Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rpl-merge · 1bc4867d
      unknown authored
      into  dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl-merge
      
      
      mysql-test/suite/rpl/t/rpl_user.test:
        Manual merging.
      1bc4867d
    • unknown's avatar
      Fixes to make rpl_user test pass in pushbuild. · 86260ead
      unknown authored
      
      mysql-test/t/rpl_user.test:
        Removing redundant reset master and deleting users from master
        and slave without using binary log.
      86260ead