1. 22 Dec, 2006 10 commits
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug22555/my50-bug22555 · 01e98327
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
      
      
      BitKeeper/etc/collapsed:
        auto-union
      sql/item_sum.cc:
        Auto merged
      sql/item_sum.h:
        Auto merged
      mysql-test/r/func_group.result:
        Manual merge.
      mysql-test/t/func_group.test:
        Manual merge.
      01e98327
    • unknown's avatar
      Bug#22555: STDDEV yields positive result for groups with only one row · 82bd9b6b
      unknown authored
      When only one row was present, the subtraction of nearly the same number 
      resulted in catastropic cancellation, introducing an error in the 
      VARIANCE calculation near 1e-15.  That was sqrt()ed to get STDDEV, the 
      error was escallated to near 1e-8.  
      
      The simple fix of testing for a row count of 1 and forcing that to yield 
      0.0 is insufficient, as two rows of the same value should also have a
      variance of 0.0, yet the error would be about the same.
      
      So, this patch changes the formula that computes the VARIANCE to be one
      that is not subject to catastrophic cancellation.
      
      In addition, it now uses only (faster-than-decimal) floating point numbers
      to calculate, and renders that to other types on demand.
      
      
      mysql-test/r/func_group.result:
        Test that the bug is fixed, and that no unexpected behavior arises from the 
        changes.
      mysql-test/t/func_group.test:
        Test that the bug is fixed, and that no unexpected behavior arises from the 
        changes.
      sql/item_sum.cc:
        Serg's suggestion: Force all VARIANCE calculations to be done with floating-
        point types.  It's faster, and the SQL standard says we may implement these
        functions any way we want.
        
        Additionally, use a form of variance calculation that is not subject to 
        catastrophic cancellation.   
        http://static.flickr.com/108/311308512_5c4e1c0c3d_b.jpg
      sql/item_sum.h:
        Remove unused members and add a comment describing the recurrence relation.
      82bd9b6b
    • unknown's avatar
      Merge polly.local:/tmp/maint/bug24037/my50-bug24037 · dd6c1251
      unknown authored
      into  polly.local:/home/kaa/src/maint/mysql-5.0-maint
      
      
      dd6c1251
    • unknown's avatar
      Merge polly.local:/tmp/maint/bug24037/my41-bug24037 · 48213dd0
      unknown authored
      into  polly.local:/tmp/maint/bug24037/my50-bug24037
      
      
      strings/conf_to_src.c:
        Auto merged
      strings/ctype-extra.c:
        Auto merged
      48213dd0
    • unknown's avatar
      Fix for the bug #24037 "Lossy Hebrew to Unicode conversion". · ee37cf0b
      unknown authored
      Added definitions for the following Hebrew characters as specified by the ISO/IEC 8859-8:1999:
      
      LEFT-TO-RIGHT MARK (LRM)
      RIGHT-TO-LEFT MARK (RLM)
      
      
      sql/share/charsets/hebrew.xml:
        Added definitions for the following Hebrew characters as specified by the ISO/IEC 8859-8:1999:
        
        LEFT-TO-RIGHT MARK (LRM)
        RIGHT-TO-LEFT MARK (RLM)
      strings/conf_to_src.c:
        Added a warning comment in the generated C source file.
      strings/ctype-extra.c:
        Re-generated from sql/share/charsets/hebrew.xml
      mysql-test/r/ctype_hebrew.result:
        Added the test case for bug #24037 "Lossy Hebrew to Unicode conversion"
      mysql-test/t/ctype_hebrew.test:
        Added the test case for bug #24037 "Lossy Hebrew to Unicode conversion"
      ee37cf0b
    • unknown's avatar
      Cset exclude: msvensson@neptunus.(none)|ChangeSet|20061215122345|24188 · d84b651e
      unknown authored
      
      mysql-test/t/rpl_openssl.test:
        Exclude
      d84b651e
    • unknown's avatar
      Merge pilot.mysql.com:/home/msvensson/mysql/mysql-4.1-maint · 533ce8cf
      unknown authored
      into  pilot.mysql.com:/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      533ce8cf
    • unknown's avatar
      Set default number of masters to 1 · c537bbf8
      unknown authored
      c537bbf8
    • unknown's avatar
      Merge pilot.mysql.com:/home/msvensson/mysql/mysql-4.1-maint · 6de718d2
      unknown authored
      into  pilot.mysql.com:/home/msvensson/mysql/mysql-5.0-maint
      
      
      6de718d2
    • unknown's avatar
      Merge neptunus:mysql/mysql-5.0-maint · 82338d45
      unknown authored
      into  pilot.mysql.com:/home/msvensson/mysql/mysql-5.0-maint
      
      
      82338d45
  2. 21 Dec, 2006 3 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
  3. 20 Dec, 2006 4 commits
  4. 19 Dec, 2006 5 commits
  5. 18 Dec, 2006 4 commits
  6. 16 Dec, 2006 2 commits
  7. 15 Dec, 2006 11 commits
  8. 14 Dec, 2006 1 commit
    • unknown's avatar
      Merge siva.hindu.god:/usr/home/tim/m/bk/41 · 3a506420
      unknown authored
      into  siva.hindu.god:/usr/home/tim/m/bk/50
      
      
      mysql-test/r/myisam.result:
        Manual merge.
      mysql-test/r/symlink.result:
        Manual merge.
      mysql-test/t/myisam.test:
        Manual merge.
      mysql-test/t/symlink.test:
        Manual merge.
      3a506420