1. 12 Feb, 2007 1 commit
    • unknown's avatar
      Bug#24660: "enum" field type definition problem · 4dc7c1aa
      unknown authored
      ENUMs weren't allowed to have character 0xff, a perfectly good character in some locales.
      This was circumvented by mapping 0xff in ENUMs to ',', thereby prevent actual commas from
      being used. Now if 0xff makes an appearance, we find a character not used in the enum and
      use that as a separator. If no such character exists, we throw an error.
      
      Any solution would have broken some sort of existing behaviour. This solution should
      serve both fractions (those with 0xff and those with ',' in their enums), but
      WILL REQUIRE A DUMP/RESTORE CYCLE FROM THOSE WITH 0xff IN THEIR ENUMS. :-/
      That is, mysqldump with their current server, and restore when upgrading to one with
      this patch.
      
      
      mysql-test/r/type_enum.result:
        Bug#24660: "enum" field type definition problem
        
        Show that enums can now contain NAMES_SEP_CHAR (0xff, which is a perfectly respectable
        char in some locales), or ',', or both.
      mysql-test/t/type_enum.test:
        Bug#24660: "enum" field type definition problem
        
        Show that enums can now contain NAMES_SEP_CHAR (0xff, which is a perfectly respectable
        char in some locales), or ',', or both.
      sql/table.cc:
        Bug#24660: "enum" field type definition problem
        
        Revert fix for Bug#20922.
      sql/unireg.cc:
        Bug#24660: "enum" field type definition problem
        
        Use a field-separator for ENUM-values that is not part of those values. If impossible,
        throw error.
      4dc7c1aa
  2. 11 Dec, 2006 1 commit
  3. 08 Dec, 2006 5 commits
    • unknown's avatar
      Bug#19410 Test 'kill' fails on Windows + SCO · 0abeff72
      unknown authored
      
      mysql-test/t/kill.test:
        Move the connect of second connection to just before the query to be killed are sent.
        This introduces less variance since the connect time is not included in the delay
        we want between send of query and kill.
      0abeff72
    • unknown's avatar
      Add missing space · 8fc4864e
      unknown authored
      8fc4864e
    • unknown's avatar
      Bug#19410 Test 'kill' fails on Windows + SCO · e8d82549
      unknown authored
       - Use "mysql_field_count" to determine if there is a need to
         call "mysql_store_result"
      
      
      client/mysqltest.c:
        Only call 'mysql_store_result' if 'mysql_field_count' is greater than 0
        indicating that this query has a result set.  This change is mainly since
        if mysql_store_result fails the value returned by mysql_field_count will be reset.
      e8d82549
    • unknown's avatar
      Bug#24498 Stack overflow in mysqltest · 33a098bf
      unknown authored
       - Thanks to Vasil Dimov for the patch!
      
      
      client/mysqltest.c:
        Use my_snprintf to protect against exceeding size of buff
        Since variable name and valu might not be null terminated it's necessary to
        provide the length of the format specifiers.
      33a098bf
    • unknown's avatar
      ca1aebbd
  4. 05 Dec, 2006 6 commits
  5. 04 Dec, 2006 4 commits
  6. 01 Dec, 2006 2 commits
  7. 30 Nov, 2006 4 commits
  8. 29 Nov, 2006 9 commits
  9. 28 Nov, 2006 8 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 760bd9d1
      unknown authored
      into  bodhi.local:/opt/local/work/mysql-4.1-runtime
      
      
      libmysql/libmysql.c:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      760bd9d1
    • unknown's avatar
      Bug#20836 Selecting into variables results in wrong results being returned · b4aab152
      unknown authored
      This error is displayed anytime the SELECT statement needs a temp table to
      return correct results because the object (select_dumpvar) that represents
      variables named in the INTO clause stored the results before the temp
      table was considered.  The problem was fixed by creating the necessary
      Item_func_set_user_var objects once the correct data is ready.
      
      
      mysql-test/r/distinct.result:
        Bug#20836 Selecting into variables results in wrong results being returned
        - Added results
      mysql-test/t/distinct.test:
        Bug#20836 Selecting into variables results in wrong results being returned
        - Added various Selects that use the INTO statement and a temp table.
        - Added Select Into Outfile variant tests also.
      sql/sql_class.cc:
        Bug#20836 Selecting into variables results in wrong results being returned
        - The select_dumpvar variable created a Item_func_set_user_var too early
        and once set, it was not possible to change.  The Item_func_set_user_var
        is now created once the final results are available.
      sql/sql_class.h:
        Bug#20836 Selecting into variables results in wrong results being returned
        - Removed unnecessary object members.
      b4aab152
    • unknown's avatar
      Move the check that $opt_vardir could be created and was writable to the function · b3273629
      unknown authored
      where we know how to creat the vardir 
      Remove unused variable
      
      
      b3273629
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/work/my41-work · 6e36d3c5
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      6e36d3c5
    • unknown's avatar
      Bug#24335 mysql-test-run.pl fails with ActiveState Perl on Windows · e789cdaa
      unknown authored
       - Avoid use of mtr_run when executing "mysqld --verbose --help" to find
         version and supported features
      
      
      mysql-test/mysql-test-run.pl:
        Don't use mtr_run when executing "mysqld --verbose --help" to find
        version and supported features.
      e789cdaa
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1 · befbebcf
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      
      client/mysqltest.c:
        Auto merged
      Makefile.am:
        Manual merge
      mysql-test/mysql-test-run.pl:
        Manual merge
      befbebcf
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/work/my41-work · e3a9d949
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      e3a9d949
    • unknown's avatar
      Look for client binaries also in bin/ directory · e8d8ddad
      unknown authored
      e8d8ddad