1. 01 Sep, 2006 16 commits
  2. 31 Aug, 2006 12 commits
  3. 30 Aug, 2006 12 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · 85281ce8
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/merge/mysql-5.1
      
      
      85281ce8
    • unknown's avatar
      Merge maint2.mysql.com:/data/localhome/tsmith/bk/bfx/51 · 87e68f20
      unknown authored
      into  maint2.mysql.com:/data/localhome/tsmith/bk/51
      
      
      87e68f20
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug04053/my40-bug04053 · 8fb0f8a2
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/bug04053/my41-bug04053
      
      
      mysys/my_read.c:
        Auto merged
      8fb0f8a2
    • unknown's avatar
      Bug#4053: too many of "error 1236: 'binlog truncated in the middle of \ · 626abc52
      unknown authored
      	event' from master"
      
      Since there is no repeatable test case, and this is obviously wrong, this is
      the most conservative change that might possibly work.  
      
      The syscall  read()  wasn't checked for a negative return value for an
      interrupted read.  The kernel  sys_read()  returns -EINTR, and the "library" 
      layer maps that to return value of -1 and sets  errno  to EINTR.  It's 
      impossible (on Linux) for  read()  to set errno EINTR without the return 
      value being -1 .
      
      So, if we're checking for EINTR behavior, we should not require that the
      return value be zero.
      
      
      mysys/my_read.c:
        The read() syscall should check for negative one, since that (usually) signals
        errors (like being interrupted) and zero (usually) signals end-of-file .
      626abc52
    • unknown's avatar
      Merge maint2.mysql.com:/data/localhome/tsmith/bk/bfx/50 · 6d48c8c7
      unknown authored
      into  maint2.mysql.com:/data/localhome/tsmith/bk/bfx/51
      
      
      mysql-test/r/ctype_ucs.result:
        Auto merged
      mysql-test/t/ctype_ucs.test:
        Auto merged
      BUILD/SETUP.sh:
        SCCS merged
      BUILD/check-cpu:
        Manual merge.
      6d48c8c7
    • unknown's avatar
      Merge maint2.mysql.com:/data/localhome/tsmith/bk/bfx/41 · 4e16868d
      unknown authored
      into  maint2.mysql.com:/data/localhome/tsmith/bk/bfx/50
      
      
      BUILD/SETUP.sh:
        Auto merged
      mysql-test/r/ctype_ucs.result:
        Auto merged
      mysql-test/t/ctype_ucs.test:
        Auto merged
      BUILD/check-cpu:
        Manual merge.
      4e16868d
    • unknown's avatar
    • unknown's avatar
      portability fix in BUILD/* for solaris · 71583c89
      unknown authored
      71583c89
    • unknown's avatar
      Merge maint2.mysql.com:/data/localhome/tsmith/bk/bfx/40 · 4321eb12
      unknown authored
      into  maint2.mysql.com:/data/localhome/tsmith/bk/bfx/41
      
      
      BUILD/SETUP.sh:
        SCCS merged
      4321eb12
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug21813/my50-bug21813 · e5bb7b0f
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug21813/my51-bug21813
      
      
      sql/sql_prepare.cc:
        Merge 5.0 to 5.1 
         - mysql_log.write => general_log_write
      tests/mysql_client_test.c:
        Manual merge
      e5bb7b0f
    • unknown's avatar
      Bug#21813 An attacker has the opportunity to bypass query logging, part2 · d4075f66
      unknown authored
       - Use the "%.*b" format when printing prepared and exeuted prepared statements to the log.
       - Add test case to check that also prepared statements end up in the query log
      Bug#14346 Prepared statements corrupting general log/server memory
       - Use "stmt->query" when logging the newly prepared query instead of "packet"
      
      
      sql/sql_prepare.cc:
        mysql_stmt_prepare
         - Use "%.*b" format when printing to log
         - Print the query from stmt instead of "packet", packet points at the net in/out buffer and has most likely been overwritten
           when  result for prepare was written to client.
        mysql_stmt_execute 
         - Use "%.*b" format when printing to log
         - Print the query from thd as the expanded query has been specifially set to be valid also after restore from backup statement
      tests/mysql_client_test.c:
        Add tests for bug#21813 to already existing test for bug#17667. Add functionality for also executing prepared statements and making sure they end up in the log as well.
      d4075f66
    • unknown's avatar
      Fix for bug #20907 · 62accb04
      unknown authored
      CMake versions > 2.4 allow linking to STATIC or SHARED libraries only.
      
      
      
      libmysql/CMakeLists.txt:
        Fix for Cmake BC problems (as suggested by Elliot)
      62accb04