1. 30 Aug, 2006 2 commits
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/bug21813/my50-bug21813 · ffa01d44
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      tests/mysql_client_test.c:
        SCCS merged
      ffa01d44
    • 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
  2. 29 Aug, 2006 1 commit
  3. 28 Aug, 2006 1 commit
    • unknown's avatar
      Bug #21527 mysqldump incorrectly tries to LOCK TABLES on the information_schema database. · e88121ea
      unknown authored
          
      init_dumping now accepts a function pointer to the table or view specific init_dumping function.  This allows both tables and views to use the init_dumping function.
      
      
      client/mysqldump.c:
        Added functions for table and view specific dumping initalization.
      mysql-test/r/mysqldump.result:
        Added Result.
      mysql-test/t/mysqldump.test:
        Added test case.
      e88121ea
  4. 26 Aug, 2006 1 commit
  5. 25 Aug, 2006 3 commits
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/release/mysql-5.0-release_mergable · 3f53d3d5
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/release/mysql-5.0-maint
      
      
      include/mysql.h:
        Auto merged
      include/mysql_com.h:
        Auto merged
      sql-common/client.c:
        Auto merged
      3f53d3d5
    • unknown's avatar
      Bug#21543: 5.0.24 breaks ABI compatibility for python bindings: \ · 0c1ccbf0
      unknown authored
      	InterfaceError on connect
      
      Removed the bool flag from the st_mysql_options struct, since it adds 
      another word in size to the memory size and shifts member memory locations
      down, both of which break binary-interface compatibility.
      
      Instead, use a flag, 2**30, in the client_options bit-field to represent
      that the client should check the SSL certificate of the server.
      
      
      include/mysql.h:
        Do not change the struct size.
      include/mysql_com.h:
        Add a new bit-flag for client verifying server SSL certificate.
        
        Emphasize that we're not stepping on anyone else's bit/toes.
      sql-common/client.c:
        Set and read the bit-field for client-side SSL-cert checking of the server.
      0c1ccbf0
    • unknown's avatar
      Added stacktrace dumps for x86_64 (bug #21250) · ed6b3e6b
      unknown authored
      Fixed stacktrace dumps for i386/NPTL
      
      
      ed6b3e6b
  6. 24 Aug, 2006 10 commits
  7. 23 Aug, 2006 10 commits
  8. 22 Aug, 2006 12 commits