1. 12 Feb, 2008 1 commit
  2. 11 Feb, 2008 14 commits
  3. 10 Feb, 2008 1 commit
  4. 09 Feb, 2008 5 commits
  5. 08 Feb, 2008 18 commits
    • unknown's avatar
      BUG#33247: mysqlbinlog does not clean up after itself on abnormal termination · 42d84bc1
      unknown authored
      Problem: mysqlbinlog does not free memory if an error happens.
      Fix: binlog-processing functions do not call exit() anymore. Instead, they
      print an error and return an error code. Error codes are propagated all
      the way back to main, and all allocated memory is freed on the way.
      
      
      client/mysqlbinlog.cc:
        - New error handling policy: functions processing binlogs don't just
          exit() anymore. Instead, they print a message and return an error
          status.
        - New policy for the global `mysql' and `glob_description_event': these
          are not passed as parameters anymore. The global pointer is used
          instead.
        - More error situations are detected and reported.
        - Better error messages: the program never terminates with exit status 1
          without explanation any more. Fixed spelling errors. Use consistent
          format of messages (a single line beginning with "ERROR: " or
          "WARNING: " and ending with "." is printed to stderr.)
        - New memory handling: memory is always freed on program termination.
        - Better comments: more functions are explained, doxygen is used, and
          more precise formulations in some existing comments.
      mysql-test/suite/binlog/r/binlog_base64_flag.result:
        Result file updated since output format of mysqlbinlog changed while the
        test was disabled.
      mysql-test/suite/binlog/t/binlog_killed.test:
        Mysqlbinlog now works as described when the binlog is open. Hence, the
        --force-if-open flag must be passed
      mysql-test/suite/binlog/t/binlog_killed_simulate.test:
        Mysqlbinlog now works as described when the binlog is open. Hence, the
        --force-if-open flag must be passed
      mysql-test/suite/binlog/t/disabled.def:
        Now that mysqlbinlog cleans up after itself on abnormal termination, we
        can enable this test again.
      42d84bc1
    • unknown's avatar
      Bug#34424: query_cache_debug.test leads to valgrind warnings · 07f0eba2
      unknown authored
      Disable the test case.
      
      
      mysql-test/t/disabled.def:
        Disable query_cache_debug.test.
      07f0eba2
    • unknown's avatar
      Fix create.test: use latin1 instead ucs2. · 887ce329
      unknown authored
      887ce329
    • unknown's avatar
      Fix -ansi -pedantic compilation error · beecb474
      unknown authored
      beecb474
    • unknown's avatar
      Merge dipika.(none):/opt/local/work/mysql-5.0-runtime · 0684967d
      unknown authored
      into  dipika.(none):/opt/local/work/mysql-5.1-runtime
      
      
      configure.in:
        Manual merge.
      0684967d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · 3f03ce53
      unknown authored
      into  dipika.(none):/opt/local/work/mysql-5.1-runtime
      
      
      include/my_sys.h:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/suite/binlog/r/binlog_row_binlog.result:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      3f03ce53
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 955f1885
      unknown authored
      into  dipika.(none):/opt/local/work/mysql-5.0-runtime
      
      955f1885
    • unknown's avatar
      ndb - · b3aaaaf7
      unknown authored
        fix failing autotest-test
      
      
      storage/ndb/test/ndbapi/testNodeRestart.cpp:
        "fix" testprg
      storage/ndb/test/run-test/daily-basic-tests.txt:
        increase allowed time
      b3aaaaf7
    • unknown's avatar
      Don't complain about a failure to write a log message if we were · 96e45e96
      unknown authored
      simply killed.
      
      
      sql/log.cc:
        Don't complain if were simply killed.
      96e45e96
    • unknown's avatar
      ndb - bug#34378 · a70cf94a
      unknown authored
        Using more than 16g can cause record-pool ptr.i values to overflow
        Fix by splitting memory into 2 zones, lo(16g)/hi(rest)
        When record pools only use zone_lo, and datamemory, buffers etc...can use any
      
      
      storage/ndb/src/kernel/blocks/lgman.cpp:
        adopt to changed interface for Ndbd_mem_manager
      storage/ndb/src/kernel/vm/Pool.cpp:
        Always use ZONE_LO for record pools
          as they use ptr.i == 19 bit page id + 13 bit page index
      storage/ndb/src/kernel/vm/ndbd_malloc_impl.cpp:
        Add zones to Ndbd_mem_manager
        ZONE_LO = lower 16g
        ZONE_HI = rest
      storage/ndb/src/kernel/vm/ndbd_malloc_impl.hpp:
        Add zones to Ndbd_mem_manager
        ZONE_LO = lower 16g
        ZONE_HI = rest
      a70cf94a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · a4a91a94
      unknown authored
      into  dipika.(none):/opt/local/work/mysql-5.1-runtime
      
      a4a91a94
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · de21221f
      unknown authored
      into  mysql.com:/Users/davi/mysql/mysql-5.1-runtime
      
      de21221f
    • unknown's avatar
      Manual merge of Bug 33798 · bd76a175
      unknown authored
      
      mysql-test/extra/binlog_tests/binlog.test:
        Manual merge of binlog test case for Bug#33798
      mysql-test/suite/binlog/r/binlog_row_binlog.result:
        Add test case result for Bug#33798
      mysql-test/suite/binlog/r/binlog_stm_binlog.result:
        Add test case result for Bug#33798
      sql/item.cc:
        Use new method which accepts a unsigned flag.
      bd76a175
    • unknown's avatar
      Merge mysql.com:/Users/davi/mysql/mysql-5.0-runtime · f5dd50df
      unknown authored
      into  mysql.com:/Users/davi/mysql/mysql-5.1-runtime
      
      
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      sql/item.cc:
        Auto merged
      mysql-test/extra/binlog_tests/binlog.test:
        Manual merge.
      mysql-test/suite/binlog/r/binlog_stm_binlog.result:
        Manual merge.
      f5dd50df
    • unknown's avatar
      Bug#33798 prepared statements improperly handle large unsigned ints · cea021da
      unknown authored
      The unsignedness of large integer user variables was not being
      properly preserved when feeded to prepared statements. This was
      happening because the unsigned flags wasn't being updated when
      converting the user variable is converted to a parameter.
      
      The solution is to copy the unsigned flag when converting the
      user variable to a parameter and take the unsigned flag into
      account when converting the integer to a string.
      
      
      mysql-test/r/binlog.result:
        Add test case result for Bug#33798
      mysql-test/r/ps.result:
        Add test case result for Bug#33798
      mysql-test/t/binlog.test:
        Add test case for Bug#33798
      mysql-test/t/ps.test:
        Add test case for Bug#33798
      sql/item.cc:
        Take the unsigned flag into account when converting the
        user variable.
      cea021da
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · adcaee8d
      unknown authored
      into  dipika.(none):/opt/local/work/mysql-5.1-runtime
      
      adcaee8d
    • unknown's avatar
  6. 07 Feb, 2008 1 commit
    • unknown's avatar
      Bug#31891 Meaningful stack trace · 38cb92b7
      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.
      38cb92b7