1. 30 Sep, 2006 4 commits
  2. 29 Sep, 2006 9 commits
  3. 28 Sep, 2006 23 commits
  4. 27 Sep, 2006 4 commits
    • unknown's avatar
      Bug #20778: strange characters in warning message 1366 when called in SP · 033db2d0
      unknown authored
      The function receives an exactly-sized buffer (not a C NUL-terminated string)
      and passes it into a printf function to be interpreted with "%s".
      
      Instead, create an intermediate String object, and copy the data into it, 
      and pass in a pointer to the String's NUL-terminated buffer.
      
      
      mysql-test/r/warnings.result:
        Test that warnings do not read outside its intended memory space.
      mysql-test/t/warnings.test:
        Test that warnings do not read outside its intended memory space.
      sql/field.cc:
        Create a new String object and use a pointer to its data instead of the 
        exactly-sized buffer to be interpreted as a C string deep within the 
        errmsg.txt list via printf.
      033db2d0
    • unknown's avatar
      Merge mysql.com:/Users/emurphy/src/mysql/clean/mysql-5.0-maint · 8e72d7db
      unknown authored
      into  mysql.com:/Users/emurphy/src/mysql/clean/mysql-5.0-maint-gca
      
      
      8e72d7db
    • unknown's avatar
      Temporary fix for bug#22268 (official patch will come soon) · 6930d9d2
      unknown authored
      Don't cap threads at 1000 on Windows any more.
      
      
      6930d9d2
    • unknown's avatar
      Bug#21476: (Thread stack overrun not caught, causing SEGV) · 7f221a18
      unknown authored
      The STACK_MIN_SIZE is currently set to 8192, when we actually need 
      (emperically discovered) 9236 bytes to raise an fatal error, on Ubuntu 
      Dapper Drake, libc6 2.3.6-0ubuntu2, Linux kernel 2.6.15-27-686, on x86.
      
      I'm taking that as a new lower bound, plus 100B of wiggle-room for sundry
      word sizes and stack behaviors.
      
      The added test verifies in a cross-platform way that there are no gaps 
      between the space that we think we need and what we actually need to report 
      an error.
      
      DOCUMENTERS:  This also adds "let" to the mysqltest commands that evaluate
      an argument to expand variables therein.  (Only right of the "=", of course.)
      
      
      client/mysqltest.c:
        Add "let" to the list of mysqltest commands that evaluates its arguments (only
        the right-hand-side of the equals-sign expression).
      mysql-test/r/mysqltest.result:
        Added test to show that mysqltest "let" will evaluate the RHS correctly (and 
        expand the backslash test).
      mysql-test/t/mysqltest.test:
        Added test to show that mysqltest "let" will evaluate the RHS correctly (and 
        expand the backslash test).
      sql/mysql_priv.h:
        Increase the amount we require to be available for the stack, since 
        experience told us that the previous amount was too little by at least
        1044 bytes.
      mysql-test/r/execution_constants.result:
        New BitKeeper file ``mysql-test/r/execution_constants.result''
      mysql-test/t/execution_constants.test:
        New BitKeeper file ``mysql-test/t/execution_constants.test''
      7f221a18