1. 19 Feb, 2007 1 commit
    • unknown's avatar
      Bug#18743: Several test cases fails if "classic" configuration in 5.0 · db36a2aa
      unknown authored
      The problem happened because those tests were using "cp932" and "ucs2" without checking whether these character sets are available. This fix moves test parts to make character set specific parts be tested only if they are:
      - some parts were moved to "ctype_ucs.test" and "ctype_cp932.test"
      - some parts were moved to the newly added tests "innodb-ucs2.test", "mysqlbinglog-cp932.test" and "sp-ucs2.test"
      
      
      mysql-test/r/ctype_cp932.result:
        Moved cp932-specific test case from mysql.test
      mysql-test/r/innodb.result:
        Moved ucs2-specific test cases to innodb-ucs2.test
      mysql-test/r/mysql.result:
        Move cp932-specific test cases to ctype_cp932.test
      mysql-test/r/mysqlbinlog.result:
        Moved cp932-specific test case to mysqlbinlog-cp932.test
      mysql-test/r/sp.result:
        Moved ucs2-specific test case to sp-ucs2.test
      mysql-test/t/ctype_cp932.test:
        Moved cp932-specific test case from mysql.test
      mysql-test/t/ctype_ucs2_def-master.opt:
        Use the comma-separated list of character sets to avoid mysql-test errors when ucs2 is not available in the server
      mysql-test/t/ctype_ucs2_def.test:
        Added requirement for ucs2 in the server
      mysql-test/t/innodb.test:
        Moved ucs2-specific test cases to innodb-ucs2.test
      mysql-test/t/mysql.test:
        Move cp932-specific test cases to ctype_cp932.test
      mysql-test/t/mysqlbinlog.test:
        Moved cp932-specific test case to mysqlbinlog-cp932.test
      mysql-test/t/sp.test:
        Moved ucs2-specific test case to sp-ucs2.test
      sql/mysqld.cc:
        Allow specifying several character sets for test purposes, to make "mysqld" start even if the character set being tested is not compiled:
        mysqld --default-character-set=ucs2,latin1
        The first available character set will be chosen.
      mysql-test/r/innodb-ucs2.result:
        New BitKeeper file ``mysql-test/r/innodb-ucs2.result''
      mysql-test/r/mysqlbinlog-cp932.result:
        New BitKeeper file ``mysql-test/r/mysqlbinlog-cp932.result''
      mysql-test/r/sp-ucs2.result:
        New BitKeeper file ``mysql-test/r/sp-ucs2.result''
      mysql-test/t/innodb-ucs2.test:
        New BitKeeper file ``mysql-test/t/innodb-ucs2.test''
      mysql-test/t/mysqlbinlog-cp932.test:
        New BitKeeper file ``mysql-test/t/mysqlbinlog-cp932.test''
      mysql-test/t/sp-ucs2.test:
        New BitKeeper file ``mysql-test/t/sp-ucs2.test''
      db36a2aa
  2. 15 Jan, 2007 1 commit
  3. 26 Dec, 2006 1 commit
    • unknown's avatar
      In func_group.test, round the results of std() for some calls, because... · 1fdda689
      unknown authored
      In func_group.test, round the results of std() for some calls, because Windows' sqrt() function appears to return fewer "significant" digits than the Unix implementations.
      This is for bug #22555.
      
      
      mysql-test/r/func_group.result:
        Round the results of std() for some calls, because Windows' sqrt() function appears to return fewer "significant" digits than the Unix implementations.
        This is for bug #22555.
      mysql-test/t/func_group.test:
        Round the results of std() for some calls, because Windows' sqrt() function appears to return fewer "significant" digits than the Unix implementations.
        This is for bug #22555.
      1fdda689
  4. 22 Dec, 2006 17 commits
  5. 21 Dec, 2006 4 commits
    • unknown's avatar
      Merge neptunus:mysql/mysql-4.1-maint · 2218cbb0
      unknown authored
      into  pilot.mysql.com:/home/msvensson/mysql/mysql-4.1-maint
      
      
      2218cbb0
    • unknown's avatar
      Bug #23125 [patch] trigger test fails when run as root · b461c41c
      unknown authored
       - Skip tests using chmod when running as root
      
      
      mysql-test/t/information_schema_chmod.test:
        Use mysqltest builtin "chmode"
      mysql-test/t/mysqltest.test:
        Dont run as root - test chmod
      mysql-test/t/rpl_rotate_logs.test:
        Use mysqltest builtin "chmode"
        Use 'write_file' and 'chmod' instead of system
      mysql-test/t/trigger.test:
        Don't run as root
        Use 'write_file' and 'chmod'
      mysql-test/t/varbinary.test:
        Don't run as root
      b461c41c
    • unknown's avatar
      Bug#24148 regression tests hang with SSL enabled · fd988f5b
      unknown authored
       - Don't call SSL_shutdown a second time
      
      
      vio/viossl.c:
        SSL_shutdown might return 0 indicating that it should be called once
        again for a graceful shutdown. Since the socket are going to be closed
        anyway ther is no need for the second call.
      fd988f5b
    • unknown's avatar
      configure.in : Update of the NDB version number was missing, do it. · 377cfb8b
      unknown authored
      
      configure.in:
        Fix an omission: Version number for NDB is still kept separate (up to 5.0)
        and must be changed in sync with the general version number in AM_INIT_AUTOMAKE.
      377cfb8b
  6. 20 Dec, 2006 13 commits
  7. 19 Dec, 2006 3 commits
    • unknown's avatar
      Added innodb_rollback_on_timeout option to restore the 4.1 · 47b0a0b0
      unknown authored
      InnoDB timeout behavior (Bug #24200)
      
      
      mysql-test/t/innodb_mysql-master.opt:
        Set --innodb-lock-wait-timeout=2, since test for bug #24200 times out.
        
        This *could* cause random test failures if some long-running transaction concurrency is being tested.  However, such a test really should go in innodb-big or some other test file.
      47b0a0b0
    • unknown's avatar
      Bug #24947: REPEAT function returns NULL when passed a field as the count parameter · f8920dd5
      unknown authored
      Handling of large signed/unsigned values was not consistent, so some string functions could return bogus results.
      The current fix is to simply patch up the val_str() methods for those string items.
      It would be good clean this code up in general, to make similar problems much harder to make.  This is left as an exercise for the reader.
      
      
      mysql-test/r/func_str.result:
        Update test results for bug #24947
      mysql-test/t/func_str.test:
        Add test case for bug #24947
      sql/item_strfunc.cc:
        Adjust some string function Items' val_str() methods to handle large signed/unsigned arguments properly
      f8920dd5
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 10125425
      unknown authored
      into  qualinost.(none):/home/mtaylor/src/mysql-5.0-maint
      
      
      10125425